Class Methods | |
(bool) | + isDtlsWithData: |
(FMLiveSwitchDtlsTransport *) | + transportWithLockObject:connectionId:innerTransport:localCertificates:cipherSuites:serverMinVersion:serverMaxVersion:clientVersion:preferredRole: |
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.
- (void) addOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchDtlsTransport * > *) | value |
- (FMLiveSwitchDtlsTransport*) addOnStateChangeWithBlock |
- (void) addOnStateChangeWithBlock: | (void(^)(FMLiveSwitchDtlsTransport *)) | valueBlock |
- (bool) closingShouldNotTriggerGlobalNonGracefulShutdown |
- (bool) connectionShouldStayAliveWhenClosed |
- (void) disableInnerTransport |
- (NSMutableArray*) encryptionModes |
- (FMLiveSwitchError*) error |
- (instancetype) initWithLockObject: | (id) | lockObject | |
connectionId: | (NSString *) | connectionId | |
innerTransport: | (FMLiveSwitchTransport *) | innerTransport | |
localCertificates: | (NSMutableArray *) | localCertificates | |
cipherSuites: | (NSMutableArray *) | cipherSuites | |
serverMinVersion: | (FMLiveSwitchDtlsProtocolVersion) | serverMinVersion | |
serverMaxVersion: | (FMLiveSwitchDtlsProtocolVersion) | serverMaxVersion | |
clientVersion: | (FMLiveSwitchDtlsProtocolVersion) | clientVersion | |
preferredRole: | (FMLiveSwitchDtlsRole) | preferredRole | |
- (FMLiveSwitchTransport*) innerTransport |
- (bool) isClosed |
Gets a value indicating whether this instance is closed.
Implements FMLiveSwitchTransport.
+ (bool) isDtlsWithData: | (FMLiveSwitchDataBuffer *) | data |
- (NSMutableArray*) localCertificates |
- (FMLiveSwitchDataBuffer*) localKey |
- (FMLiveSwitchDtlsParameters*) localParameters |
- (FMLiveSwitchDataBuffer*) localSalt |
- (int) nextTransportSequenceNumber |
Gets the next Transport-Wide Sequence Number.
Values ranger between -2^16 and 2^16 and wrap around.
Implements FMLiveSwitchTransport.
- (FMLiveSwitchDataBuffer*) remoteKey |
- (FMLiveSwitchDtlsParameters*) remoteParameters |
- (FMLiveSwitchDataBuffer*) remoteSalt |
- (void) removeOnReceive: | (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *) | value |
Removes a handler that is raised when data is received.
Implements FMLiveSwitchTransport.
- (void) removeOnStateChange: | (FMLiveSwitchAction1< FMLiveSwitchDtlsTransport * > *) | value |
- (int) selectedSrtpProtectionProfile |
- (void) sendWithBuffer: | (FMLiveSwitchDataBuffer *) | buffer |
- (void) setClosingShouldNotTriggerGlobalNonGracefulShutdown: | (bool) | value |
- (void) setConnectionShouldStayAliveWhenClosed: | (bool) | value |
- (void) setState: | (FMLiveSwitchDtlsTransportState) | value |
- (void) setStopOnConnected: | (bool) | value |
- (bool) start |
- (FMLiveSwitchDtlsTransportState) state |
- (bool) stop |
- (bool) stopOnConnected |
+ (FMLiveSwitchDtlsTransport*) transportWithLockObject: | (id) | lockObject | |
connectionId: | (NSString *) | connectionId | |
innerTransport: | (FMLiveSwitchTransport *) | innerTransport | |
localCertificates: | (NSMutableArray *) | localCertificates | |
cipherSuites: | (NSMutableArray *) | cipherSuites | |
serverMinVersion: | (FMLiveSwitchDtlsProtocolVersion) | serverMinVersion | |
serverMaxVersion: | (FMLiveSwitchDtlsProtocolVersion) | serverMaxVersion | |
clientVersion: | (FMLiveSwitchDtlsProtocolVersion) | clientVersion | |
preferredRole: | (FMLiveSwitchDtlsRole) | preferredRole | |
- (void) updateInfo: | (FMLiveSwitchTransportInfo *) | info |
- (void) updateStats: | (FMLiveSwitchTransportStats *) | stats |