FMLiveSwitchWebSocketStreamFailureArgs Class Reference

Arguments for onStreamFailure (FMLiveSwitchWebSocketOpenArgs). More...

Instance Methods

(NSException *) - exception
 Gets the exception generated by the active connection. 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 by the active connection. More...
 
(void) - setOpenArgs:
 Sets the original arguments passed to the open method. More...
 
(void) - setStatusCode:
 Sets the status code associated with the stream failure. More...
 
(FMLiveSwitchWebSocketStatusCode) - statusCode
 Gets the status code associated with the stream failure. 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

(FMLiveSwitchWebSocketStreamFailureArgs *) + webSocketStreamFailureArgs
 
- 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 by the active connection.

◆ 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 by the active connection.

◆ 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 stream failure.

◆ statusCode

- (FMLiveSwitchWebSocketStatusCode) statusCode

Gets the status code associated with the stream failure.

◆ webSocketStreamFailureArgs

+ (FMLiveSwitchWebSocketStreamFailureArgs*) webSocketStreamFailureArgs