FMLiveSwitchSignallingWebSocketMessageTransfer Class Reference

Instance Methods

(int) - handshakeTimeout
 
(instancetype) - initWithUrl:
 
(FMLiveSwitchAction1< FMLiveSwitchWebSocketOpenFailureArgs * > *) - onOpenFailure
 
(FMLiveSwitchAction1< FMLiveSwitchWebSocketOpenSuccessArgs * > *) - onOpenSuccess
 
(FMLiveSwitchAction1< FMLiveSwitchHttpRequestCreatedArgs * > *) - onRequestCreated
 
(FMLiveSwitchAction1< FMLiveSwitchHttpResponseReceivedArgs * > *) - onResponseReceived
 
(FMLiveSwitchAction1< FMLiveSwitchWebSocketStreamFailureArgs * > *) - onStreamFailure
 
(void) - openWithHeaders:
 
(id- sender
 
(void) - sendMessagesAsyncWithRequestArgs:callback:
 
(void) - sendMessagesAsyncWithRequestArgs:callbackBlock:
 
(FMLiveSwitchSignallingMessageResponseArgs *) - sendMessagesAsyncWithRequestArgsAndCallbackBlock
 
(FMLiveSwitchSignallingMessageResponseArgs *) - sendMessagesWithRequestArgs:
 
(void) - setHandshakeTimeout:
 
(void) - setOnOpenFailure:
 
(FMLiveSwitchWebSocketOpenFailureArgs *) - setOnOpenFailureBlock
 
(void) - setOnOpenFailureBlock:
 
(void) - setOnOpenSuccess:
 
(FMLiveSwitchWebSocketOpenSuccessArgs *) - setOnOpenSuccessBlock
 
(void) - setOnOpenSuccessBlock:
 
(void) - setOnRequestCreated:
 
(FMLiveSwitchHttpRequestCreatedArgs *) - setOnRequestCreatedBlock
 
(void) - setOnRequestCreatedBlock:
 
(void) - setOnResponseReceived:
 
(FMLiveSwitchHttpResponseReceivedArgs *) - setOnResponseReceivedBlock
 
(void) - setOnResponseReceivedBlock:
 
(void) - setOnStreamFailure:
 
(FMLiveSwitchWebSocketStreamFailureArgs *) - setOnStreamFailureBlock
 
(void) - setOnStreamFailureBlock:
 
(void) - setSender:
 
(void) - setStreamTimeout:
 
(void) - setUrl:
 
(void) - shutdown
 
(int) - streamTimeout
 
(NSString *) - url
 
- Instance Methods inherited from FMLiveSwitchSignallingMessageTransfer
(FMLiveSwitchSignallingMessageResponseArgs *) - httpResponseArgsToMessageResponseArgsWithHttpResponseArgs:
 
(instancetype) - init
 
(FMLiveSwitchHttpRequestArgs *) - messageRequestArgsToHttpRequestArgs:
 
(void) - sendAsyncWithRequestArgs:callback:
 
(void) - sendAsyncWithRequestArgs:callbackBlock:
 
(FMLiveSwitchSignallingMessageResponseArgs *) - sendAsyncWithRequestArgsAndCallbackBlock
 
(FMLiveSwitchSignallingMessageResponseArgs *) - sendWithRequestArgs:
 

Class Methods

(FMLiveSwitchSignallingWebSocketMessageTransfer *) + webSocketMessageTransferWithUrl:
 
- Class Methods inherited from FMLiveSwitchSignallingMessageTransfer
(FMLiveSwitchSignallingMessageTransfer *) + messageTransfer
 

Method Documentation

◆ handshakeTimeout

- (int) handshakeTimeout

◆ initWithUrl:

- (instancetype) initWithUrl: (NSString *)  url

◆ onOpenFailure

- (FMLiveSwitchAction1<FMLiveSwitchWebSocketOpenFailureArgs*>*) onOpenFailure

◆ onOpenSuccess

- (FMLiveSwitchAction1<FMLiveSwitchWebSocketOpenSuccessArgs*>*) onOpenSuccess

◆ onRequestCreated

- (FMLiveSwitchAction1<FMLiveSwitchHttpRequestCreatedArgs*>*) onRequestCreated

◆ onResponseReceived

- (FMLiveSwitchAction1<FMLiveSwitchHttpResponseReceivedArgs*>*) onResponseReceived

◆ onStreamFailure

- (FMLiveSwitchAction1<FMLiveSwitchWebSocketStreamFailureArgs*>*) onStreamFailure

◆ openWithHeaders:

- (void) openWithHeaders: (FMLiveSwitchNameValueCollection *)  headers

◆ sender

- (id) sender

◆ sendMessagesAsyncWithRequestArgs:callback:

- (void) sendMessagesAsyncWithRequestArgs: (FMLiveSwitchSignallingMessageRequestArgs *)  requestArgs
callback: (FMLiveSwitchAction1< FMLiveSwitchSignallingMessageResponseArgs * > *)  callback 

◆ sendMessagesAsyncWithRequestArgs:callbackBlock:

- (void) sendMessagesAsyncWithRequestArgs: (FMLiveSwitchSignallingMessageRequestArgs *)  requestArgs
callbackBlock: (void(^)(FMLiveSwitchSignallingMessageResponseArgs *))  callbackBlock 

◆ sendMessagesAsyncWithRequestArgsAndCallbackBlock

- (FMLiveSwitchSignallingMessageResponseArgs*) sendMessagesAsyncWithRequestArgsAndCallbackBlock

◆ sendMessagesWithRequestArgs:

◆ setHandshakeTimeout:

- (void) setHandshakeTimeout: (int)  value

◆ setOnOpenFailure:

- (void) setOnOpenFailure: (FMLiveSwitchAction1< FMLiveSwitchWebSocketOpenFailureArgs * > *)  value

◆ setOnOpenFailureBlock

- (FMLiveSwitchWebSocketOpenFailureArgs*) setOnOpenFailureBlock

◆ setOnOpenFailureBlock:

- (void) setOnOpenFailureBlock: (void(^)(FMLiveSwitchWebSocketOpenFailureArgs *))  valueBlock

◆ setOnOpenSuccess:

- (void) setOnOpenSuccess: (FMLiveSwitchAction1< FMLiveSwitchWebSocketOpenSuccessArgs * > *)  value

◆ setOnOpenSuccessBlock

- (FMLiveSwitchWebSocketOpenSuccessArgs*) setOnOpenSuccessBlock

◆ setOnOpenSuccessBlock:

- (void) setOnOpenSuccessBlock: (void(^)(FMLiveSwitchWebSocketOpenSuccessArgs *))  valueBlock

◆ setOnRequestCreated:

- (void) setOnRequestCreated: (FMLiveSwitchAction1< FMLiveSwitchHttpRequestCreatedArgs * > *)  value

◆ setOnRequestCreatedBlock

- (FMLiveSwitchHttpRequestCreatedArgs*) setOnRequestCreatedBlock

◆ setOnRequestCreatedBlock:

- (void) setOnRequestCreatedBlock: (void(^)(FMLiveSwitchHttpRequestCreatedArgs *))  valueBlock

◆ setOnResponseReceived:

- (void) setOnResponseReceived: (FMLiveSwitchAction1< FMLiveSwitchHttpResponseReceivedArgs * > *)  value

◆ setOnResponseReceivedBlock

- (FMLiveSwitchHttpResponseReceivedArgs*) setOnResponseReceivedBlock

◆ setOnResponseReceivedBlock:

- (void) setOnResponseReceivedBlock: (void(^)(FMLiveSwitchHttpResponseReceivedArgs *))  valueBlock

◆ setOnStreamFailure:

- (void) setOnStreamFailure: (FMLiveSwitchAction1< FMLiveSwitchWebSocketStreamFailureArgs * > *)  value

◆ setOnStreamFailureBlock

- (FMLiveSwitchWebSocketStreamFailureArgs*) setOnStreamFailureBlock

◆ setOnStreamFailureBlock:

- (void) setOnStreamFailureBlock: (void(^)(FMLiveSwitchWebSocketStreamFailureArgs *))  valueBlock

◆ setSender:

- (void) setSender: (id value

◆ setStreamTimeout:

- (void) setStreamTimeout: (int)  value

◆ setUrl:

- (void) setUrl: (NSString *)  value

◆ shutdown

- (void) shutdown

◆ streamTimeout

- (int) streamTimeout

◆ url

- (NSString*) url

◆ webSocketMessageTransferWithUrl:

+ (FMLiveSwitchSignallingWebSocketMessageTransfer*) webSocketMessageTransferWithUrl: (NSString *)  url