Instance Methods | |
(void) | - addOnReceive: |
Adds a handler that is raised when data is received. More... | |
(FMLiveSwitchDataBuffer *) | - addOnReceiveWithBlock |
Adds a handler that is raised when data is received. More... | |
(void) | - addOnReceiveWithBlock: |
Adds a handler that is raised when data is received. More... | |
(instancetype) | - initWithLockObject:scheduler:mode: |
(bool) | - isClosed |
Gets a value indicating whether this instance is closed. More... | |
(FMLiveSwitchSctpInnerSctpTransportMode) | - mode |
(int) | - nextTransportSequenceNumber |
Gets the next Transport-Wide Sequence Number. More... | |
(void) | - removeOnReceive: |
Removes a handler that is raised when data is received. More... | |
(void) | - sendWithBuffer: |
Sends the specified buffer. More... | |
(void) | - setMode: |
(bool) | - start |
(bool) | - stop |
Instance Methods inherited from FMLiveSwitchTransport | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(int) | - roundTripTime |
Gets the current round-trip-time in milliseconds. More... | |
Instance Methods inherited from FMLiveSwitchDynamic | |
(NSMutableDictionary< NSString *, id > *) | - dynamicProperties |
Gets all dynamic properties on this instance. More... | |
(id) | - getDynamicValueWithKey: |
Gets a property value from the local cache. More... | |
(void) | - setDynamicValueWithKey:value: |
Sets a property value in the local cache. More... | |
(bool) | - unsetDynamicValueWithKey: |
Removes a property value from the local cache. More... | |
Class Methods | |
(FMLiveSwitchSctpInnerSctpTransport *) | + innerSctpTransportWithLockObject:scheduler:mode: |
Class Methods inherited from FMLiveSwitchTransport | |
(FMLiveSwitchTransport *) | + transport |
Class Methods inherited from FMLiveSwitchDynamic | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
- (void) addOnReceive: | (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *) | value |
Adds a handler that is raised when data is received.
Implements FMLiveSwitchTransport.
- (FMLiveSwitchDataBuffer*) addOnReceiveWithBlock |
Adds a handler that is raised when data is received.
Implements FMLiveSwitchTransport.
- (void) addOnReceiveWithBlock: | (void(^)(FMLiveSwitchDataBuffer *)) | valueBlock |
Adds a handler that is raised when data is received.
Implements FMLiveSwitchTransport.
- (instancetype) initWithLockObject: | (id) | lockObject | |
scheduler: | (FMLiveSwitchScheduler *) | scheduler | |
mode: | (FMLiveSwitchSctpInnerSctpTransportMode) | mode | |
+ (FMLiveSwitchSctpInnerSctpTransport*) innerSctpTransportWithLockObject: | (id) | lockObject | |
scheduler: | (FMLiveSwitchScheduler *) | scheduler | |
mode: | (FMLiveSwitchSctpInnerSctpTransportMode) | mode | |
- (bool) isClosed |
Gets a value indicating whether this instance is closed.
Implements FMLiveSwitchTransport.
- (FMLiveSwitchSctpInnerSctpTransportMode) mode |
- (int) nextTransportSequenceNumber |
Gets the next Transport-Wide Sequence Number.
Values ranger between -2^16 and 2^16 and wrap around.
Implements FMLiveSwitchTransport.
- (void) removeOnReceive: | (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *) | value |
Removes a handler that is raised when data is received.
Implements FMLiveSwitchTransport.
- (void) sendWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
- (void) setMode: | (FMLiveSwitchSctpInnerSctpTransportMode) | value |
- (bool) start |
- (bool) stop |