FMLiveSwitchStunUnknownAttributeError Class Reference

420 Unknown Attribute. More...

Instance Methods

(NSString *) - getDescription
 Gets the description for this FMLiveSwitchStunError. More...
 
(instancetype) - initWithMessage:unknownAttributes:
 Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class. More...
 
(instancetype) - initWithUnknownAttributes:
 Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class. More...
 
(FMLiveSwitchStunUnknownAttributesAttribute *) - unknownAttributes
 Gets the unknown attributes attribute. More...
 
- Instance Methods inherited from FMLiveSwitchStunError
(instancetype) - initWithCode:message:
 Initializes a new instance of the FMLiveSwitchStunError class. More...
 
(int) - stunCode
 Gets the STUN code. More...
 
(int) - stunErrorCode
 Gets the STUN code. More...
 
- Instance Methods inherited from FMLiveSwitchError
(FMLiveSwitchErrorCode) - code
 Gets the code. More...
 
(int) - codeValue
 Gets the code. More...
 
(NSString *) - description
 Returns the string representation of this error. More...
 
(FMLiveSwitchErrorCode) - errorCode
 Gets the code. More...
 
(NSException *) - exception
 Gets the exception. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchError class. More...
 
(instancetype) - initWithCode:exception:
 Initializes a new instance of the FMLiveSwitchError class. More...
 
(NSString *) - message
 Gets the message. More...
 
(void) - setCode:
 Sets the code. More...
 
(void) - setCodeValue:
 Sets the code. More...
 
(void) - setErrorCode:
 Sets the code. More...
 
(void) - setException:
 Sets the exception. More...
 
(void) - setMessage:
 Sets the message. More...
 
(NSString *) - toJson
 Serializes this instance to JSON. More...
 

Class Methods

(FMLiveSwitchStunUnknownAttributeError *) + unknownAttributeErrorWithMessage:unknownAttributes:
 Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class. More...
 
(FMLiveSwitchStunUnknownAttributeError *) + unknownAttributeErrorWithUnknownAttributes:
 Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class. More...
 
- Class Methods inherited from FMLiveSwitchStunError
(FMLiveSwitchError *) + createStunErrorWithCode:message:
 Creates error for the given error code and with a given message. More...
 
(FMLiveSwitchStunError *) + errorWithCode:message:
 Initializes a new instance of the FMLiveSwitchStunError class. More...
 
- Class Methods inherited from FMLiveSwitchError
(FMLiveSwitchError *) + error
 Initializes a new instance of the FMLiveSwitchError class. More...
 
(FMLiveSwitchError *) + errorWithCode:exception:
 Initializes a new instance of the FMLiveSwitchError class. More...
 
(FMLiveSwitchError *) + fromJsonWithErrorJson:
 Deserializes an instance from JSON. More...
 
(NSString *) + toJsonWithError:
 Serializes an instance to JSON. More...
 

Detailed Description

420 Unknown Attribute.

RFC5389. Indicates that the server received a STUN packet containing a comprehension-required attribute that it did not understand. The server MUST put this unknown attribute in the UNKNOWN-ATTRIBUTE attribute of its error response.

Method Documentation

◆ getDescription

- (NSString*) getDescription

Gets the description for this FMLiveSwitchStunError.

Implements FMLiveSwitchError.

◆ initWithMessage:unknownAttributes:

- (instancetype) initWithMessage: (NSString *)  message
unknownAttributes: (FMLiveSwitchStunUnknownAttributesAttribute *)  unknownAttributes 

Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class.

Parameters
messageThe message.
unknownAttributesThe unknown attributes attribute.

◆ initWithUnknownAttributes:

- (instancetype) initWithUnknownAttributes: (FMLiveSwitchStunUnknownAttributesAttribute *)  unknownAttributes

Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class.

Parameters
unknownAttributesThe unknown attributes attribute.

◆ unknownAttributeErrorWithMessage:unknownAttributes:

+ (FMLiveSwitchStunUnknownAttributeError*) unknownAttributeErrorWithMessage: (NSString *)  message
unknownAttributes: (FMLiveSwitchStunUnknownAttributesAttribute *)  unknownAttributes 

Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class.

Parameters
messageThe message.
unknownAttributesThe unknown attributes attribute.

◆ unknownAttributeErrorWithUnknownAttributes:

+ (FMLiveSwitchStunUnknownAttributeError*) unknownAttributeErrorWithUnknownAttributes: (FMLiveSwitchStunUnknownAttributesAttribute *)  unknownAttributes

Initializes a new instance of the FMLiveSwitchStunUnknownAttributeError class.

Parameters
unknownAttributesThe unknown attributes attribute.

◆ unknownAttributes

Gets the unknown attributes attribute.