FMLiveSwitchWebSocketOpenFailureArgs Class Reference

Arguments for onFailure (FMLiveSwitchWebSocketOpenArgs). More...

Instance Methods

(NSException *) - exception
 Gets the exception generated while connecting. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 
(FMLiveSwitchWebSocketOpenArgs *) - openArgs
 Gets the original arguments passed to the open method. More...
 
(void) - setException:
 Sets the exception generated while connecting. More...
 
(void) - setOpenArgs:
 Sets the original arguments passed to the open method. More...
 
(void) - setStatusCode:
 Sets the status code associated with the failure to connect. More...
 
(FMLiveSwitchWebSocketStatusCode) - statusCode
 Gets the status code associated with the failure to connect. 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

(FMLiveSwitchWebSocketOpenFailureArgs *) + webSocketOpenFailureArgs
 
- Class Methods inherited from FMLiveSwitchDynamic
(FMLiveSwitchDynamic *) + dynamic
 
- Class Methods inherited from FMLiveSwitchSerializable
(FMLiveSwitchSerializable *) + serializable
 Initializes a new instance of the FMLiveSwitchSerializable class. More...
 

Detailed Description

Method Documentation

◆ exception

- (NSException*) exception

Gets the exception generated while connecting.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchSerializable class.

Implements FMLiveSwitchDynamic.

◆ openArgs

Gets the original arguments passed to the open method.

◆ setException:

- (void) setException: (NSException *)  value

Sets the exception generated while connecting.

◆ setOpenArgs:

- (void) setOpenArgs: (FMLiveSwitchWebSocketOpenArgs *)  value

Sets the original arguments passed to the open method.

◆ setStatusCode:

- (void) setStatusCode: (FMLiveSwitchWebSocketStatusCode)  value

Sets the status code associated with the failure to connect.

◆ statusCode

- (FMLiveSwitchWebSocketStatusCode) statusCode

Gets the status code associated with the failure to connect.

◆ webSocketOpenFailureArgs

+ (FMLiveSwitchWebSocketOpenFailureArgs*) webSocketOpenFailureArgs