FMLiveSwitchStunTurnAllocationMismatchError Class Reference

437 Allocation Mismatch. More...

Instance Methods

(NSString *) - getDescription
 Gets the description for this FMLiveSwitchStunError. More...
 
(instancetype) - init
 Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class. More...
 
(instancetype) - initWithMessage:
 Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class. 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

(FMLiveSwitchStunTurnAllocationMismatchError *) + allocationMismatchError
 Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class. More...
 
(FMLiveSwitchStunTurnAllocationMismatchError *) + allocationMismatchErrorWithMessage:
 Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError 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

437 Allocation Mismatch.

RFC 5766. This indicates that the client has picked a 5-tuple that the server sees as already in use. One way this could happen is if an intervening NAT assigned a mapped transport address that was used by another client that recently crashed. The client considers the current transaction as having failed. The client SHOULD pick another client transport address and retry the Allocate request (using a different transaction id). The client SHOULD try three different client transport addresses before giving up on this server.Once the client gives up on the server, it SHOULD NOT try to create another allocation on the server for 2 minutes.

Method Documentation

◆ allocationMismatchError

+ (FMLiveSwitchStunTurnAllocationMismatchError*) allocationMismatchError

Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class.

◆ allocationMismatchErrorWithMessage:

+ (FMLiveSwitchStunTurnAllocationMismatchError*) allocationMismatchErrorWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class.

Parameters
messageThe message.

◆ getDescription

- (NSString*) getDescription

Gets the description for this FMLiveSwitchStunError.

Implements FMLiveSwitchError.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class.

Implements FMLiveSwitchError.

◆ initWithMessage:

- (instancetype) initWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunTurnAllocationMismatchError class.

Parameters
messageThe message.