FMLiveSwitchSctpTransport Class Reference

Instance Methods

(void) - addOnStateChange:
 
(FMLiveSwitchSctpTransport *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(FMLiveSwitchError *) - error
 
(NSString *) - id
 
(instancetype) - initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:
 
(instancetype) - initWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:
 
(bool) - isClosed
 
(bool) - localSupportsPartialReliabilityExtension
 
(long long) - maxMessageSize
 
(FMLiveSwitchAction1< FMLiveSwitchSctpMessage * > *) - onMessage
 
(int) - port
 
(void) - processIncomingSctpPacketWithBuffer:
 
(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:
 
(FMLiveSwitchSctpTransport *) + transportWithLockObject:scheduler:innerTransportPrimary:innerTransportAlternative:requestedOutboundStreams:maxIncomingStreams:advertisedReceiverWindow:port:
 
(int) + unset
 

Method Documentation

◆ 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:

- (instancetype) initWithLockObject: (id lockObject
scheduler: (FMLiveSwitchScheduler *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow 

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

- (instancetype) initWithLockObject: (id lockObject
scheduler: (FMLiveSwitchScheduler *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
port: (int)  port 

◆ isClosed

- (bool) isClosed

◆ localSupportsPartialReliabilityExtension

- (bool) localSupportsPartialReliabilityExtension

◆ maxMessageSize

- (long long) maxMessageSize

◆ onMessage

- (FMLiveSwitchAction1<FMLiveSwitchSctpMessage*>*) onMessage

◆ port

- (int) port

◆ processIncomingSctpPacketWithBuffer:

- (void) processIncomingSctpPacketWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

◆ 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:

+ (FMLiveSwitchSctpTransport*) transportWithLockObject: (id lockObject
scheduler: (FMLiveSwitchScheduler *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow 

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

+ (FMLiveSwitchSctpTransport*) transportWithLockObject: (id lockObject
scheduler: (FMLiveSwitchScheduler *)  scheduler
innerTransportPrimary: (FMLiveSwitchBundleTransport *)  innerTransportPrimary
innerTransportAlternative: (FMLiveSwitchBundleTransport *)  innerTransportAlternative
requestedOutboundStreams: (int)  requestedOutboundStreams
maxIncomingStreams: (int)  maxIncomingStreams
advertisedReceiverWindow: (long long)  advertisedReceiverWindow
port: (int)  port 

◆ unset

+ (int) unset