Instance Methods | |
(FMLiveSwitchTransportAddress *) | - clientAddress |
(void) | - close |
(NSString *) | - id |
(instancetype) | - initWithSocket:onReceive: |
(instancetype) | - initWithSocket:onReceiveBlock: |
(bool) | - isClosed |
(FMLiveSwitchAction1< FMLiveSwitchTurnTcpConnection * > *) | - onClose |
(FMLiveSwitchServerAddress *) | - serverAddress |
(void) | - setOnClose: |
(FMLiveSwitchTurnTcpConnection *) | - setOnCloseBlock |
(void) | - setOnCloseBlock: |
(FMLiveSwitchStreamSocket *) | - socket |
(void) | - startListening |
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... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchSerializable class. 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 | |
(FMLiveSwitchTurnTcpConnection *) | + tcpConnectionWithSocket:onReceive: |
(FMLiveSwitchTurnTcpConnection *) | + tcpConnectionWithSocket:onReceiveBlock: |
Class Methods inherited from FMLiveSwitchDynamic | |
(FMLiveSwitchDynamic *) | + dynamic |
Class Methods inherited from FMLiveSwitchSerializable | |
(FMLiveSwitchSerializable *) | + serializable |
Initializes a new instance of the FMLiveSwitchSerializable class. More... | |
- (FMLiveSwitchTransportAddress*) clientAddress |
- (void) close |
- (instancetype) initWithSocket: | (FMLiveSwitchStreamSocket *) | socket | |
onReceive: | (FMLiveSwitchAction2< FMLiveSwitchTurnTcpConnection *, FMLiveSwitchCircularDataBuffer * > *) | onReceive | |
- (instancetype) initWithSocket: | (FMLiveSwitchStreamSocket *) | socket | |
onReceiveBlock: | (void(^)(FMLiveSwitchTurnTcpConnection *, FMLiveSwitchCircularDataBuffer *)) | onReceiveBlock | |
- (bool) isClosed |
- (FMLiveSwitchAction1<FMLiveSwitchTurnTcpConnection*>*) onClose |
- (FMLiveSwitchServerAddress*) serverAddress |
- (void) setOnClose: | (FMLiveSwitchAction1< FMLiveSwitchTurnTcpConnection * > *) | value |
- (FMLiveSwitchTurnTcpConnection*) setOnCloseBlock |
- (void) setOnCloseBlock: | (void(^)(FMLiveSwitchTurnTcpConnection *)) | valueBlock |
- (FMLiveSwitchStreamSocket*) socket |
- (void) startListening |
+ (FMLiveSwitchTurnTcpConnection*) tcpConnectionWithSocket: | (FMLiveSwitchStreamSocket *) | socket | |
onReceive: | (FMLiveSwitchAction2< FMLiveSwitchTurnTcpConnection *, FMLiveSwitchCircularDataBuffer * > *) | onReceive | |
+ (FMLiveSwitchTurnTcpConnection*) tcpConnectionWithSocket: | (FMLiveSwitchStreamSocket *) | socket | |
onReceiveBlock: | (void(^)(FMLiveSwitchTurnTcpConnection *, FMLiveSwitchCircularDataBuffer *)) | onReceiveBlock | |