FMIceLinkStunTurnReservationTokenAttribute Class Reference
Inherits from | FMIceLinkStunAttribute : NSObject |
---|---|
Declared in | FMIceLinkStunTurnReservationTokenAttribute.h FMIceLinkStunTurnReservationTokenAttribute.m |
Overview
The RESERVATION-TOKEN attribute contains a [token](#//api/name/token) that uniquely
identifies a relayed transport address being held in reserve by the
server.
– description
Returns a string that represents this instance.
@return A string that represents this instance.
- (NSString *)description
Discussion
Returns a string that represents this instance.
@return A string that represents this instance.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– getValueLength
Gets the length of the attribute value.
@return
- (int)getValueLength
Discussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– initWithToken:
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
- (instancetype)initWithToken:(FMIceLinkDataBuffer *)token
Parameters
token |
The reservation token. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
+ readValueFromWithBuffer:offset:
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
+ (FMIceLinkStunTurnReservationTokenAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. @return |
Discussion
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
+ reservationTokenAttributeWithToken:
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
+ (FMIceLinkStunTurnReservationTokenAttribute *)reservationTokenAttributeWithToken:(FMIceLinkDataBuffer *)token
Parameters
token |
The reservation token. |
---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnReservationTokenAttribute class.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– setToken:
Sets the reservation [token](#//api/name/token).
- (void)setToken:(FMIceLinkDataBuffer *)value
Discussion
Sets the reservation [token](#//api/name/token).
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– token
Gets the reservation token.
- (FMIceLinkDataBuffer *)token
Discussion
Gets the reservation token.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– typeValue
Gets the type value.
- (int)typeValue
Discussion
Gets the type value.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h
– writeValueToWithBuffer:offset:
Writes the attribute value to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offset
Parameters
buffer |
The buffer. |
---|---|
offset |
The offset. |
Discussion
Writes the attribute value to a data buffer.
Declared In
FMIceLinkStunTurnReservationTokenAttribute.h