FMLiveSwitchSignallingClient Class Reference

Instance Methods

(void) - addOnClientChannelReceive:
 
(FMLiveSwitchSignallingSubscribeReceiveArgs *) - addOnClientChannelReceiveWithBlock
 
(void) - addOnClientChannelReceiveWithBlock:
 
(void) - addOnConnectFailure:
 
(FMLiveSwitchSignallingConnectFailureArgs *) - addOnConnectFailureWithBlock
 
(void) - addOnConnectFailureWithBlock:
 
(void) - addOnConnectSuccess:
 
(FMLiveSwitchSignallingConnectSuccessArgs *) - addOnConnectSuccessWithBlock
 
(void) - addOnConnectSuccessWithBlock:
 
(void) - addOnDisconnectComplete:
 
(FMLiveSwitchSignallingDisconnectCompleteArgs *) - addOnDisconnectCompleteWithBlock
 
(void) - addOnDisconnectCompleteWithBlock:
 
(void) - addOnServerSubscribe:
 
(FMLiveSwitchSignallingServerSubscribeArgs *) - addOnServerSubscribeWithBlock
 
(void) - addOnServerSubscribeWithBlock:
 
(void) - addOnServerUnsubscribe:
 
(FMLiveSwitchSignallingServerUnsubscribeArgs *) - addOnServerUnsubscribeWithBlock
 
(void) - addOnServerUnsubscribeWithBlock:
 
(void) - addOnServiceFailure:
 
(FMLiveSwitchSignallingServiceFailureArgs *) - addOnServiceFailureWithBlock
 
(void) - addOnServiceFailureWithBlock:
 
(void) - addOnServiceSuccess:
 
(FMLiveSwitchSignallingServiceSuccessArgs *) - addOnServiceSuccessWithBlock
 
(void) - addOnServiceSuccessWithBlock:
 
(void) - addOnStateChange:
 
(FMLiveSwitchSignallingClient *) - addOnStateChangeWithBlock
 
(void) - addOnStateChangeWithBlock:
 
(void) - addOnStreamChange:
 
(void) - addOnStreamChanged:
 
(FMLiveSwitchNetworkConnectionState) - addOnStreamChangedWithBlock
 
(void) - addOnStreamChangedWithBlock:
 
(FMLiveSwitchNetworkConnectionState) - addOnStreamChangeWithBlock
 
(void) - addOnStreamChangeWithBlock:
 
(NSString *) - authToken
 
(NSString *) - clientId
 
(FMLiveSwitchSignallingClient *) - connect
 
(FMLiveSwitchNetworkConnectionState) - connectionState
 
(FMLiveSwitchSignallingClient *) - connectWithConnectArgs:
 
(bool) - disableWebSockets
 
(FMLiveSwitchSignallingClient *) - disconnect
 
(NSException *) - disconnectException
 
(FMLiveSwitchSignallingClient *) - disconnectWithDisconnectArgs:
 
(FMLiveSwitchSignallingClient *) - endBatch
 
(NSMutableArray *) - getSubscribedChannels
 
(NSMutableArray *) - getSubscribedChannelsWithTag:
 
(bool) - inBatch
 
(instancetype) - initWithRequestUrl:
 
(instancetype) - initWithRequestUrl:sharedLock:
 
(instancetype) - initWithRequestUrl:streamRequestUrl:sharedLock:
 
(void) - raiseActionWithCallback:args:source:
 
(void) - raiseActionWithCallbackBlock:args:source:
 
(id- raiseActionWithCallbackBlockAndArgsAndSource
 
(void) - raiseEventWithEventMethod:args:eventName:
 
(void) - raiseEventWithEventMethodBlock:args:eventName:
 
(FMLiveSwitchSignallingClient *, FMLiveSwitchSignallingClientArgs *) - raiseEventWithEventMethodBlockAndArgsAndEventName
 
(id- raiseFunctionWithCallback:args:source:
 
(id- raiseFunctionWithCallbackBlock:args:source:
 
(id- raiseFunctionWithCallbackBlockAndArgsAndSource
 
(void) - removeOnClientChannelReceive:
 
(void) - removeOnConnectFailure:
 
(void) - removeOnConnectSuccess:
 
(void) - removeOnDisconnectComplete:
 
(void) - removeOnServerSubscribe:
 
(void) - removeOnServerUnsubscribe:
 
(void) - removeOnServiceFailure:
 
(void) - removeOnServiceSuccess:
 
(void) - removeOnStateChange:
 
(void) - removeOnStreamChange:
 
(void) - removeOnStreamChanged:
 
(int) - serverTimeout
 
(FMLiveSwitchSignallingClient *) - serviceWithServiceArgs:
 
(void) - setDisableWebSockets:
 
(void) - setStreamRequestUrl:
 
(void) - setSynchronous:
 
(void) - setToken:
 
(FMLiveSwitchSignallingClient *) - startBatch
 
(FMLiveSwitchSignallingClientState) - state
 
(NSString *) - streamId
 
(int) - streamRequestTimeout
 
(NSString *) - streamRequestUrl
 
(FMLiveSwitchNullableBool *) - synchronous
 
(NSString *) - token
 
- Instance Methods inherited from FMLiveSwitchSignallingClientBase
(void) - addOnCreateHeaders:
 
(FMLiveSwitchSignallingMessageRequestArgs *) - addOnCreateHeadersWithBlock
 
(void) - addOnCreateHeadersWithBlock:
 
(void) - addOnHttpRequestCreated:
 
(FMLiveSwitchHttpRequestCreatedArgs *) - addOnHttpRequestCreatedWithBlock
 
(void) - addOnHttpRequestCreatedWithBlock:
 
(void) - addOnHttpResponseReceived:
 
(FMLiveSwitchHttpResponseReceivedArgs *) - addOnHttpResponseReceivedWithBlock
 
(void) - addOnHttpResponseReceivedWithBlock:
 
(void) - addOnRequestCreated:
 
(FMLiveSwitchSignallingMessageRequestCreatedArgs *) - addOnRequestCreatedWithBlock
 
(void) - addOnRequestCreatedWithBlock:
 
(void) - addOnResponseReceived:
 
(FMLiveSwitchSignallingMessageResponseReceivedArgs *) - addOnResponseReceivedWithBlock
 
(void) - addOnResponseReceivedWithBlock:
 
(void) - addOnUnhandledException:
 
(FMLiveSwitchUnhandledExceptionArgs *) - addOnUnhandledExceptionWithBlock
 
(void) - addOnUnhandledExceptionWithBlock:
 
(FMLiveSwitchSignallingConcurrencyMode) - concurrencyMode
 
(FMLiveSwitchNameValueCollection *) - createHeaders
 
(bool) - disableBinary
 
(NSString *) - domainKey
 
(NSString *) - domainName
 
(NSString *) - getEmptyResponseMessageWithResponseArgs:
 
(NSString *) - getInvalidResponseMessageWithResponseArgs:
 
(bool) - raiseUnhandledException:
 
(void) - removeOnCreateHeaders:
 
(void) - removeOnHttpRequestCreated:
 
(void) - removeOnHttpResponseReceived:
 
(void) - removeOnRequestCreated:
 
(void) - removeOnResponseReceived:
 
(void) - removeOnUnhandledException:
 
(int) - requestMaxRetries
 
(int) - requestTimeout
 
(NSString *) - requestUrl
 
(void) - setConcurrencyMode:
 
(void) - setDisableBinary:
 
(void) - setDomainKey:
 
(void) - setDomainName:
 
(void) - setRequestMaxRetries:
 
(void) - setRequestTimeout:
 
(void) - setRequestUrl:
 
- Instance Methods inherited from FMLiveSwitchHttpWebRequestSender
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSerializable class. 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

(FMLiveSwitchSignallingClient *) + clientWithRequestUrl:
 
(FMLiveSwitchSignallingClient *) + clientWithRequestUrl:sharedLock:
 
(FMLiveSwitchSignallingClient *) + clientWithRequestUrl:streamRequestUrl:sharedLock:
 
(NSString *) + generateToken
 
- Class Methods inherited from FMLiveSwitchHttpWebRequestSender
(FMLiveSwitchHttpWebRequestSender *) + httpWebRequestSender
 
- Class Methods inherited from FMLiveSwitchDynamic
(FMLiveSwitchDynamic *) + dynamic
 
- Class Methods inherited from FMLiveSwitchSerializable
(FMLiveSwitchSerializable *) + serializable
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 

Method Documentation

◆ addOnClientChannelReceive:

- (void) addOnClientChannelReceive: (FMLiveSwitchAction1< FMLiveSwitchSignallingSubscribeReceiveArgs * > *)  value

◆ addOnClientChannelReceiveWithBlock

- (FMLiveSwitchSignallingSubscribeReceiveArgs*) addOnClientChannelReceiveWithBlock

◆ addOnClientChannelReceiveWithBlock:

- (void) addOnClientChannelReceiveWithBlock: (void(^)(FMLiveSwitchSignallingSubscribeReceiveArgs *))  valueBlock

◆ addOnConnectFailure:

- (void) addOnConnectFailure: (FMLiveSwitchAction1< FMLiveSwitchSignallingConnectFailureArgs * > *)  value

◆ addOnConnectFailureWithBlock

- (FMLiveSwitchSignallingConnectFailureArgs*) addOnConnectFailureWithBlock

◆ addOnConnectFailureWithBlock:

- (void) addOnConnectFailureWithBlock: (void(^)(FMLiveSwitchSignallingConnectFailureArgs *))  valueBlock

◆ addOnConnectSuccess:

- (void) addOnConnectSuccess: (FMLiveSwitchAction1< FMLiveSwitchSignallingConnectSuccessArgs * > *)  value

◆ addOnConnectSuccessWithBlock

- (FMLiveSwitchSignallingConnectSuccessArgs*) addOnConnectSuccessWithBlock

◆ addOnConnectSuccessWithBlock:

- (void) addOnConnectSuccessWithBlock: (void(^)(FMLiveSwitchSignallingConnectSuccessArgs *))  valueBlock

◆ addOnDisconnectComplete:

- (void) addOnDisconnectComplete: (FMLiveSwitchAction1< FMLiveSwitchSignallingDisconnectCompleteArgs * > *)  value

◆ addOnDisconnectCompleteWithBlock

- (FMLiveSwitchSignallingDisconnectCompleteArgs*) addOnDisconnectCompleteWithBlock

◆ addOnDisconnectCompleteWithBlock:

- (void) addOnDisconnectCompleteWithBlock: (void(^)(FMLiveSwitchSignallingDisconnectCompleteArgs *))  valueBlock

◆ addOnServerSubscribe:

- (void) addOnServerSubscribe: (FMLiveSwitchAction1< FMLiveSwitchSignallingServerSubscribeArgs * > *)  value

◆ addOnServerSubscribeWithBlock

- (FMLiveSwitchSignallingServerSubscribeArgs*) addOnServerSubscribeWithBlock

◆ addOnServerSubscribeWithBlock:

- (void) addOnServerSubscribeWithBlock: (void(^)(FMLiveSwitchSignallingServerSubscribeArgs *))  valueBlock

◆ addOnServerUnsubscribe:

- (void) addOnServerUnsubscribe: (FMLiveSwitchAction1< FMLiveSwitchSignallingServerUnsubscribeArgs * > *)  value

◆ addOnServerUnsubscribeWithBlock

- (FMLiveSwitchSignallingServerUnsubscribeArgs*) addOnServerUnsubscribeWithBlock

◆ addOnServerUnsubscribeWithBlock:

- (void) addOnServerUnsubscribeWithBlock: (void(^)(FMLiveSwitchSignallingServerUnsubscribeArgs *))  valueBlock

◆ addOnServiceFailure:

- (void) addOnServiceFailure: (FMLiveSwitchAction1< FMLiveSwitchSignallingServiceFailureArgs * > *)  value

◆ addOnServiceFailureWithBlock

- (FMLiveSwitchSignallingServiceFailureArgs*) addOnServiceFailureWithBlock

◆ addOnServiceFailureWithBlock:

- (void) addOnServiceFailureWithBlock: (void(^)(FMLiveSwitchSignallingServiceFailureArgs *))  valueBlock

◆ addOnServiceSuccess:

- (void) addOnServiceSuccess: (FMLiveSwitchAction1< FMLiveSwitchSignallingServiceSuccessArgs * > *)  value

◆ addOnServiceSuccessWithBlock

- (FMLiveSwitchSignallingServiceSuccessArgs*) addOnServiceSuccessWithBlock

◆ addOnServiceSuccessWithBlock:

- (void) addOnServiceSuccessWithBlock: (void(^)(FMLiveSwitchSignallingServiceSuccessArgs *))  valueBlock

◆ addOnStateChange:

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

◆ addOnStateChangeWithBlock

- (FMLiveSwitchSignallingClient*) addOnStateChangeWithBlock

◆ addOnStateChangeWithBlock:

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

◆ addOnStreamChange:

- (void) addOnStreamChange: (FMLiveSwitchAction1< id > *)  value

◆ addOnStreamChanged:

- (void) addOnStreamChanged: (FMLiveSwitchAction1< id > *)  value

◆ addOnStreamChangedWithBlock

- (FMLiveSwitchNetworkConnectionState) addOnStreamChangedWithBlock

◆ addOnStreamChangedWithBlock:

- (void) addOnStreamChangedWithBlock: (void(^)(FMLiveSwitchNetworkConnectionState))  valueBlock

◆ addOnStreamChangeWithBlock

- (FMLiveSwitchNetworkConnectionState) addOnStreamChangeWithBlock

◆ addOnStreamChangeWithBlock:

- (void) addOnStreamChangeWithBlock: (void(^)(FMLiveSwitchNetworkConnectionState))  valueBlock

◆ authToken

- (NSString*) authToken

◆ clientId

- (NSString*) clientId

◆ clientWithRequestUrl:

+ (FMLiveSwitchSignallingClient*) clientWithRequestUrl: (NSString *)  requestUrl

◆ clientWithRequestUrl:sharedLock:

+ (FMLiveSwitchSignallingClient*) clientWithRequestUrl: (NSString *)  requestUrl
sharedLock: (id sharedLock 

◆ clientWithRequestUrl:streamRequestUrl:sharedLock:

+ (FMLiveSwitchSignallingClient*) clientWithRequestUrl: (NSString *)  requestUrl
streamRequestUrl: (NSString *)  streamRequestUrl
sharedLock: (id sharedLock 

◆ connect

◆ connectionState

- (FMLiveSwitchNetworkConnectionState) connectionState

◆ connectWithConnectArgs:

- (FMLiveSwitchSignallingClient*) connectWithConnectArgs: (FMLiveSwitchSignallingConnectArgs *)  connectArgs

◆ disableWebSockets

- (bool) disableWebSockets

◆ disconnect

◆ disconnectException

- (NSException*) disconnectException

◆ disconnectWithDisconnectArgs:

- (FMLiveSwitchSignallingClient*) disconnectWithDisconnectArgs: (FMLiveSwitchSignallingDisconnectArgs *)  disconnectArgs

◆ endBatch

◆ generateToken

+ (NSString*) generateToken

◆ getSubscribedChannels

- (NSMutableArray*) getSubscribedChannels

◆ getSubscribedChannelsWithTag:

- (NSMutableArray*) getSubscribedChannelsWithTag: (NSString *)  tag

◆ inBatch

- (bool) inBatch

◆ initWithRequestUrl:

- (instancetype) initWithRequestUrl: (NSString *)  requestUrl

◆ initWithRequestUrl:sharedLock:

- (instancetype) initWithRequestUrl: (NSString *)  requestUrl
sharedLock: (id sharedLock 

◆ initWithRequestUrl:streamRequestUrl:sharedLock:

- (instancetype) initWithRequestUrl: (NSString *)  requestUrl
streamRequestUrl: (NSString *)  streamRequestUrl
sharedLock: (id sharedLock 

◆ raiseActionWithCallback:args:source:

- (void) raiseActionWithCallback: (FMLiveSwitchAction1< id > *)  callback
args: (id args
source: (NSString *)  source 

◆ raiseActionWithCallbackBlock:args:source:

- (void) raiseActionWithCallbackBlock: (void(^)(id))  callbackBlock
args: (id args
source: (NSString *)  source 

◆ raiseActionWithCallbackBlockAndArgsAndSource

- (id) raiseActionWithCallbackBlockAndArgsAndSource

◆ raiseEventWithEventMethod:args:eventName:

- (void) raiseEventWithEventMethod: (FMLiveSwitchAction2< FMLiveSwitchSignallingClient *, FMLiveSwitchSignallingClientArgs * > *)  eventMethod
args: (FMLiveSwitchSignallingClientArgs *)  args
eventName: (NSString *)  eventName 

◆ raiseEventWithEventMethodBlock:args:eventName:

- (void) raiseEventWithEventMethodBlock: (void(^)(FMLiveSwitchSignallingClient *, FMLiveSwitchSignallingClientArgs *))  eventMethodBlock
args: (FMLiveSwitchSignallingClientArgs *)  args
eventName: (NSString *)  eventName 

◆ raiseEventWithEventMethodBlockAndArgsAndEventName

- (FMLiveSwitchSignallingClient*, FMLiveSwitchSignallingClientArgs*) raiseEventWithEventMethodBlockAndArgsAndEventName

◆ raiseFunctionWithCallback:args:source:

- (id) raiseFunctionWithCallback: (FMLiveSwitchFunction1< id, id > *)  callback
args: (id args
source: (NSString *)  source 

◆ raiseFunctionWithCallbackBlock:args:source:

- (id) raiseFunctionWithCallbackBlock: (id(^)(id))  callbackBlock
args: (id args
source: (NSString *)  source 

◆ raiseFunctionWithCallbackBlockAndArgsAndSource

- (id) raiseFunctionWithCallbackBlockAndArgsAndSource

◆ removeOnClientChannelReceive:

- (void) removeOnClientChannelReceive: (FMLiveSwitchAction1< FMLiveSwitchSignallingSubscribeReceiveArgs * > *)  value

◆ removeOnConnectFailure:

- (void) removeOnConnectFailure: (FMLiveSwitchAction1< FMLiveSwitchSignallingConnectFailureArgs * > *)  value

◆ removeOnConnectSuccess:

- (void) removeOnConnectSuccess: (FMLiveSwitchAction1< FMLiveSwitchSignallingConnectSuccessArgs * > *)  value

◆ removeOnDisconnectComplete:

- (void) removeOnDisconnectComplete: (FMLiveSwitchAction1< FMLiveSwitchSignallingDisconnectCompleteArgs * > *)  value

◆ removeOnServerSubscribe:

- (void) removeOnServerSubscribe: (FMLiveSwitchAction1< FMLiveSwitchSignallingServerSubscribeArgs * > *)  value

◆ removeOnServerUnsubscribe:

- (void) removeOnServerUnsubscribe: (FMLiveSwitchAction1< FMLiveSwitchSignallingServerUnsubscribeArgs * > *)  value

◆ removeOnServiceFailure:

- (void) removeOnServiceFailure: (FMLiveSwitchAction1< FMLiveSwitchSignallingServiceFailureArgs * > *)  value

◆ removeOnServiceSuccess:

- (void) removeOnServiceSuccess: (FMLiveSwitchAction1< FMLiveSwitchSignallingServiceSuccessArgs * > *)  value

◆ removeOnStateChange:

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

◆ removeOnStreamChange:

- (void) removeOnStreamChange: (FMLiveSwitchAction1< id > *)  value

◆ removeOnStreamChanged:

- (void) removeOnStreamChanged: (FMLiveSwitchAction1< id > *)  value

◆ serverTimeout

- (int) serverTimeout

◆ serviceWithServiceArgs:

- (FMLiveSwitchSignallingClient*) serviceWithServiceArgs: (FMLiveSwitchSignallingServiceArgs *)  serviceArgs

◆ setDisableWebSockets:

- (void) setDisableWebSockets: (bool)  value

◆ setStreamRequestUrl:

- (void) setStreamRequestUrl: (NSString *)  value

◆ setSynchronous:

- (void) setSynchronous: (FMLiveSwitchNullableBool *)  value

◆ setToken:

- (void) setToken: (NSString *)  value

◆ startBatch

◆ state

- (FMLiveSwitchSignallingClientState) state

◆ streamId

- (NSString*) streamId

◆ streamRequestTimeout

- (int) streamRequestTimeout

◆ streamRequestUrl

- (NSString*) streamRequestUrl

◆ synchronous

- (FMLiveSwitchNullableBool*) synchronous

◆ token

- (NSString*) token