FMLiveSwitchReliableChannel Class Reference

Instance Methods

(void) - addOnError:
 
(NSException *) - addOnErrorWithBlock
 
(void) - addOnErrorWithBlock:
 
(void) - addOnReceiveBinary:
 
(FMLiveSwitchDataBuffer *) - addOnReceiveBinaryWithBlock
 
(void) - addOnReceiveBinaryWithBlock:
 
(void) - addOnReceiveString:
 
(NSString *) - addOnReceiveStringWithBlock
 
(void) - addOnReceiveStringWithBlock:
 
(void) - addOnStateChange:
 
(FMLiveSwitchReliableChannel *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(long long) - bytesReceived
 
(long long) - bytesSent
 
(void) - close
 
(FMLiveSwitchError *) - error
 
(instancetype) - initWithLabel:ordered:subprotocol:lockObj:
 
(FMLiveSwitchSctpTransport *) - innerTransport
 
(int) - innerTransportStreamId
 
(NSString *) - label
 
(long long) - messagesReceived
 
(long long) - messagesSent
 
(void) - open
 
(bool) - ordered
 
(void) - receiveSctpMessageWithMsg:
 
(void) - removeOnError:
 
(void) - removeOnReceiveBinary:
 
(void) - removeOnReceiveString:
 
(void) - removeOnStateChange:
 
(void) - sendBytesWithBuffer:
 
(void) - sendBytesWithBuffer:onSuccess:onFailure:
 
(void) - sendBytesWithBuffer:onSuccessBlock:onFailureBlock:
 
(NSException *) - sendBytesWithBufferAndOnSuccessBlockAndOnFailureBlock
 
(void) - sendStringWithMessage:
 
(void) - sendStringWithMessage:onSuccess:onFailure:
 
(void) - sendStringWithMessage:onSuccessBlock:onFailureBlock:
 
(NSException *) - sendStringWithMessageAndOnSuccessBlockAndOnFailureBlock
 
(void) - setInnerTransport:
 
(FMLiveSwitchReliableChannelState) - state
 
(NSString *) - subProtocol
 

Class Methods

(FMLiveSwitchReliableChannel *) + channelWithLabel:ordered:subprotocol:lockObj:
 

Method Documentation

◆ addOnError:

- (void) addOnError: (FMLiveSwitchAction1< NSException * > *)  value

◆ addOnErrorWithBlock

- (NSException*) addOnErrorWithBlock

◆ addOnErrorWithBlock:

- (void) addOnErrorWithBlock: (void(^)(NSException *))  valueBlock

◆ addOnReceiveBinary:

- (void) addOnReceiveBinary: (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *)  value

◆ addOnReceiveBinaryWithBlock

- (FMLiveSwitchDataBuffer*) addOnReceiveBinaryWithBlock

◆ addOnReceiveBinaryWithBlock:

- (void) addOnReceiveBinaryWithBlock: (void(^)(FMLiveSwitchDataBuffer *))  valueBlock

◆ addOnReceiveString:

- (void) addOnReceiveString: (FMLiveSwitchAction1< NSString * > *)  value

◆ addOnReceiveStringWithBlock

- (NSString*) addOnReceiveStringWithBlock

◆ addOnReceiveStringWithBlock:

- (void) addOnReceiveStringWithBlock: (void(^)(NSString *))  valueBlock

◆ addOnStateChange:

- (void) addOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchReliableChannel * > *)  value

◆ addOnStateChangeWithBlock

- (FMLiveSwitchReliableChannel*) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

- (void) addOnStateChangeWithBlock: (void(^)(FMLiveSwitchReliableChannel *))  valueBlock

◆ bytesReceived

- (long long) bytesReceived

◆ bytesSent

- (long long) bytesSent

◆ channelWithLabel:ordered:subprotocol:lockObj:

+ (FMLiveSwitchReliableChannel*) channelWithLabel: (NSString *)  label
ordered: (bool)  ordered
subprotocol: (NSString *)  subprotocol
lockObj: (id lockObj 

◆ close

- (void) close

◆ error

- (FMLiveSwitchError*) error

◆ initWithLabel:ordered:subprotocol:lockObj:

- (instancetype) initWithLabel: (NSString *)  label
ordered: (bool)  ordered
subprotocol: (NSString *)  subprotocol
lockObj: (id lockObj 

◆ innerTransport

- (FMLiveSwitchSctpTransport*) innerTransport

◆ innerTransportStreamId

- (int) innerTransportStreamId

◆ label

- (NSString*) label

◆ messagesReceived

- (long long) messagesReceived

◆ messagesSent

- (long long) messagesSent

◆ open

- (void) open

◆ ordered

- (bool) ordered

◆ receiveSctpMessageWithMsg:

- (void) receiveSctpMessageWithMsg: (FMLiveSwitchSctpMessage *)  msg

◆ removeOnError:

- (void) removeOnError: (FMLiveSwitchAction1< NSException * > *)  value

◆ removeOnReceiveBinary:

- (void) removeOnReceiveBinary: (FMLiveSwitchAction1< FMLiveSwitchDataBuffer * > *)  value

◆ removeOnReceiveString:

- (void) removeOnReceiveString: (FMLiveSwitchAction1< NSString * > *)  value

◆ removeOnStateChange:

- (void) removeOnStateChange: (FMLiveSwitchAction1< FMLiveSwitchReliableChannel * > *)  value

◆ sendBytesWithBuffer:

- (void) sendBytesWithBuffer: (FMLiveSwitchDataBuffer *)  buffer

◆ sendBytesWithBuffer:onSuccess:onFailure:

- (void) sendBytesWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
onSuccess: (FMLiveSwitchAction0 *)  onSuccess
onFailure: (FMLiveSwitchAction1< NSException * > *)  onFailure 

◆ sendBytesWithBuffer:onSuccessBlock:onFailureBlock:

- (void) sendBytesWithBuffer: (FMLiveSwitchDataBuffer *)  buffer
onSuccessBlock: (void(^)(void))  onSuccessBlock
onFailureBlock: (void(^)(NSException *))  onFailureBlock 

◆ sendBytesWithBufferAndOnSuccessBlockAndOnFailureBlock

- (NSException*) sendBytesWithBufferAndOnSuccessBlockAndOnFailureBlock

◆ sendStringWithMessage:

- (void) sendStringWithMessage: (NSString *)  message

◆ sendStringWithMessage:onSuccess:onFailure:

- (void) sendStringWithMessage: (NSString *)  message
onSuccess: (FMLiveSwitchAction0 *)  onSuccess
onFailure: (FMLiveSwitchAction1< NSException * > *)  onFailure 

◆ sendStringWithMessage:onSuccessBlock:onFailureBlock:

- (void) sendStringWithMessage: (NSString *)  message
onSuccessBlock: (void(^)(void))  onSuccessBlock
onFailureBlock: (void(^)(NSException *))  onFailureBlock 

◆ sendStringWithMessageAndOnSuccessBlockAndOnFailureBlock

- (NSException*) sendStringWithMessageAndOnSuccessBlockAndOnFailureBlock

◆ setInnerTransport:

- (void) setInnerTransport: (FMLiveSwitchSctpTransport *)  value

◆ state

- (FMLiveSwitchReliableChannelState) state

◆ subProtocol

- (NSString*) subProtocol