FMLiveSwitchStunTurnMobilityForbiddenError Class Reference

405 Mobility Forbidden. More...

Instance Methods

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

(FMLiveSwitchStunTurnMobilityForbiddenError *) + mobilityForbiddenError
 Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError class. More...
 
(FMLiveSwitchStunTurnMobilityForbiddenError *) + mobilityForbiddenErrorWithMessage:
 Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError 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

405 Mobility Forbidden.

RFC 8016. Indicates that the request is valid, but the server is refusing to perform it, likely due to administrative restrictions. The client considers the current transaction as having failed. The client can notify the user or operator. The client SHOULD NOT retry sending the Allocate request containing the MOBILITY-TICKET with this server until it believes the problem has been fixed.

Method Documentation

◆ getDescription

- (NSString*) getDescription

Gets the description for this FMLiveSwitchStunError.

Implements FMLiveSwitchError.

◆ init

- (instancetype) init

Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError class.

Implements FMLiveSwitchError.

◆ initWithMessage:

- (instancetype) initWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError class.

Parameters
messageThe message.

◆ mobilityForbiddenError

+ (FMLiveSwitchStunTurnMobilityForbiddenError*) mobilityForbiddenError

Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError class.

◆ mobilityForbiddenErrorWithMessage:

+ (FMLiveSwitchStunTurnMobilityForbiddenError*) mobilityForbiddenErrorWithMessage: (NSString *)  message

Initializes a new instance of the FMLiveSwitchStunTurnMobilityForbiddenError class.

Parameters
messageThe message.