A transport. More...
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) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
(bool) | - isClosed |
Gets a value indicating whether this instance is closed. More... | |
(int) | - nextTransportSequenceNumber |
Gets the next Transport-Wide Sequence Number. More... | |
(void) | - removeOnReceive: |
Removes a handler that is raised when data is received. More... | |
(int) | - roundTripTime |
Gets the current round-trip-time in milliseconds. More... | |
(void) | - sendWithBuffer: |
Sends the specified buffer. 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 | |
(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... | |
A transport.
- (void) addOnReceive: | (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *) | value |
Adds a handler that is raised when data is received.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (FMLiveSwitchDataBuffer*) addOnReceiveWithBlock |
Adds a handler that is raised when data is received.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (void) addOnReceiveWithBlock: | (void(^)(FMLiveSwitchDataBuffer *)) | valueBlock |
Adds a handler that is raised when data is received.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchSerializable class.
Implements FMLiveSwitchDynamic.
- (bool) isClosed |
Gets a value indicating whether this instance is closed.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (int) nextTransportSequenceNumber |
Gets the next Transport-Wide Sequence Number.
Values ranger between -2^16 and 2^16 and wrap around.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (void) removeOnReceive: | (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *) | value |
Removes a handler that is raised when data is received.
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
- (int) roundTripTime |
Gets the current round-trip-time in milliseconds.
Implemented in FMLiveSwitchIceTransport.
- (void) sendWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
Sends the specified buffer.
buffer | The buffer. |
Implemented in FMLiveSwitchSctpInnerSctpTransport, FMLiveSwitchIceTransport, and FMLiveSwitchDtlsTransport.
+ (FMLiveSwitchTransport*) transport |