FMLiveSwitchSctpTransport Class Reference

Instance Methods

(void) - addOnAbortReceived:
 
(void) - addOnStateChange:
 
(FMLiveSwitchSctpTransport *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(FMLiveSwitchError *) - error
 
(NSString *) - id
 
(instancetype) - initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:context:connectionEstablishmentTimeout:
 
(instancetype) - initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:context:connectionEstablishmentTimeout:
 
(bool) - isClosed
 
(bool) - localSupportsPartialReliabilityExtension
 
(long long) - maxMessageSize
 
(FMLiveSwitchAction1< FMLiveSwitchSctpMessage * > *) - onMessage
 
(int) - port
 
(void) - processIncomingSctpPacketWithBuffer:
 
(void) - removeOnAbortReceived:
 
(void) - removeOnStateChange:
 
(FMLiveSwitchError *) - sendDataWithMessage:
 
(void) - setLocalSupportsPartialReliabilityExtension:
 
(void) - setMaxMessageSize:
 
(void) - setOnMessage:
 
(FMLiveSwitchSctpMessage *) - setOnMessageBlock
 
(void) - setOnMessageBlock:
 
(void) - setPort:
 
(void) - start
 
(FMLiveSwitchSctpTransportState) - state
 
(void) - stop
 

Class Methods

(FMLiveSwitchSctpTransport *) + transportWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:context:connectionEstablishmentTimeout:
 
(FMLiveSwitchSctpTransport *) + transportWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:context:connectionEstablishmentTimeout:
 
(int) + unset
 

Method Documentation

◆ addOnAbortReceived:

- (void) addOnAbortReceived: (FMLiveSwitchAction0 *)  value

◆ addOnStateChange:

- (void) addOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchSctpTransport * > *)  value

◆ addOnStateChangeWithBlock

- (FMLiveSwitchSctpTransport*) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

- (void) addOnStateChangeWithBlock: (void(^)(FMLiveSwitchSctpTransport *))  valueBlock

◆ error

- (FMLiveSwitchError*) error

◆ id

- (NSString*) id

◆ initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:context:connectionEstablishmentTimeout:

- (instancetype) initWithLockObject: (id lockObject
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
context: (FMLiveSwitchLogContext *)  context
connectionEstablishmentTimeout: (int)  connectionEstablishmentTimeout 

◆ initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:context:connectionEstablishmentTimeout:

- (instancetype) initWithLockObject: (id lockObject
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
port: (int)  port
context: (FMLiveSwitchLogContext *)  context
connectionEstablishmentTimeout: (int)  connectionEstablishmentTimeout 

◆ isClosed

- (bool) isClosed

◆ localSupportsPartialReliabilityExtension

- (bool) localSupportsPartialReliabilityExtension

◆ maxMessageSize

- (long long) maxMessageSize

◆ onMessage

- (FMLiveSwitchAction1<FMLiveSwitchSctpMessage*>*) onMessage

◆ port

- (int) port

◆ processIncomingSctpPacketWithBuffer:

- (void) processIncomingSctpPacketWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

◆ removeOnAbortReceived:

- (void) removeOnAbortReceived: (FMLiveSwitchAction0 *)  value

◆ removeOnStateChange:

- (void) removeOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchSctpTransport * > *)  value

◆ sendDataWithMessage:

- (FMLiveSwitchError*) sendDataWithMessage: (FMLiveSwitchSctpMessage *)  message

◆ setLocalSupportsPartialReliabilityExtension:

- (void) setLocalSupportsPartialReliabilityExtension: (bool)  value

◆ setMaxMessageSize:

- (void) setMaxMessageSize: (long long)  value

◆ setOnMessage:

- (void) setOnMessage: (FMLiveSwitchAction1< FMLiveSwitchSctpMessage * > *)  value

◆ setOnMessageBlock

- (FMLiveSwitchSctpMessage*) setOnMessageBlock

◆ setOnMessageBlock:

- (void) setOnMessageBlock: (void(^)(FMLiveSwitchSctpMessage *))  valueBlock

◆ setPort:

- (void) setPort: (int)  value

◆ start

- (void) start

◆ state

- (FMLiveSwitchSctpTransportState) state

◆ stop

- (void) stop

◆ transportWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:context:connectionEstablishmentTimeout:

+ (FMLiveSwitchSctpTransport*) transportWithLockObject: (id lockObject
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
context: (FMLiveSwitchLogContext *)  context
connectionEstablishmentTimeout: (int)  connectionEstablishmentTimeout 

◆ transportWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:context:connectionEstablishmentTimeout:

+ (FMLiveSwitchSctpTransport*) transportWithLockObject: (id lockObject
scheduler: (NSObject< FMLiveSwitchIScheduler > *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
port: (int)  port
context: (FMLiveSwitchLogContext *)  context
connectionEstablishmentTimeout: (int)  connectionEstablishmentTimeout 

◆ unset

+ (int) unset