FMLiveSwitchStunStaleNonceError Class Reference

438 Stale Nonce. More...

Instance Methods

(NSString *) - getDescription
 Gets the description for this FMLiveSwitchStunError. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(instancetype) - initWithMessage:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(instancetype) - initWithMessage:nonce:realm:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(instancetype) - initWithNonce:realm:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(FMLiveSwitchStunNonceAttribute *) - nonce
 Gets the nonce attribute. More...
 
(FMLiveSwitchStunRealmAttribute *) - realm
 Gets the realm 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) - 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

(FMLiveSwitchStunStaleNonceError *) + staleNonceError
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(FMLiveSwitchStunStaleNonceError *) + staleNonceErrorWithMessage:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(FMLiveSwitchStunStaleNonceError *) + staleNonceErrorWithMessage:nonce:realm:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError class. More...
 
(FMLiveSwitchStunStaleNonceError *) + staleNonceErrorWithNonce:realm:
 Initializes a new instance of the FMLiveSwitchStunStaleNonceError 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

438 Stale Nonce.

RFC5389. Indicates that the NONCE used by the client was no longer valid. The client should retry, using the NONCE provided in the response.

Method Documentation

◆ getDescription

- (NSString*) getDescription

Gets the description for this FMLiveSwitchStunError.

Implements FMLiveSwitchError.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Implements FMLiveSwitchError.

◆ initWithMessage:

- (instancetype) initWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
messageThe message.

◆ initWithMessage:nonce:realm:

- (instancetype) initWithMessage: (NSString *)  message
nonce: (FMLiveSwitchStunNonceAttribute *)  nonce
realm: (FMLiveSwitchStunRealmAttribute *)  realm 

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
messageThe message.
nonceThe nonce attribute.
realmThe realm attribute.

◆ initWithNonce:realm:

- (instancetype) initWithNonce: (FMLiveSwitchStunNonceAttribute *)  nonce
realm: (FMLiveSwitchStunRealmAttribute *)  realm 

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
nonceThe nonce attribute.
realmThe realm attribute.

◆ nonce

Gets the nonce attribute.

◆ realm

Gets the realm attribute.

◆ staleNonceError

+ (FMLiveSwitchStunStaleNonceError*) staleNonceError

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

◆ staleNonceErrorWithMessage:

+ (FMLiveSwitchStunStaleNonceError*) staleNonceErrorWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
messageThe message.

◆ staleNonceErrorWithMessage:nonce:realm:

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
messageThe message.
nonceThe nonce attribute.
realmThe realm attribute.

◆ staleNonceErrorWithNonce:realm:

+ (FMLiveSwitchStunStaleNonceError*) staleNonceErrorWithNonce: (FMLiveSwitchStunNonceAttribute *)  nonce
realm: (FMLiveSwitchStunRealmAttribute *)  realm 

Initializes a new instance of the FMLiveSwitchStunStaleNonceError class.

Parameters
nonceThe nonce attribute.
realmThe realm attribute.