FMIceLinkStunTurnEvenPortAttribute Class Reference
| Inherits from | FMIceLinkStunAttribute : NSObject |
|---|---|
| Declared in | FMIceLinkStunTurnEvenPortAttribute.h FMIceLinkStunTurnEvenPortAttribute.m |
Overview
This attribute allows the client to request that the port in the
relayed transport address be even, and (optionally) that the server
reserve the next-higher port number.
– description
Returns a string that represents this instance.
@return A string that represents this instance.
- (NSString *)descriptionDiscussion
Returns a string that represents this instance.
@return A string that represents this instance.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
+ evenPortAttributeWithReserveNextHigher:
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
+ (FMIceLinkStunTurnEvenPortAttribute *)evenPortAttributeWithReserveNextHigher:(bool)reserveNextHigherParameters
reserveNextHigher |
Whether the server should reserve the next-higher port number. |
|---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– getValueLength
Gets the length of the attribute value.
@return
- (int)getValueLengthDiscussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– initWithReserveNextHigher:
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
- (instancetype)initWithReserveNextHigher:(bool)reserveNextHigherParameters
reserveNextHigher |
Whether the server should reserve the next-higher port number. |
|---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
+ readValueFromWithBuffer:offset:
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
+ (FMIceLinkStunTurnEvenPortAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offsetParameters
buffer |
The buffer. |
|---|---|
offset |
The offset. @return |
Discussion
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– reserveNextHigher
Gets whether the server should reserve the next-higher port number.
- (bool)reserveNextHigherDiscussion
Gets whether the server should reserve the next-higher port number.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– setReserveNextHigher:
Sets whether the server should reserve the next-higher port number.
- (void)setReserveNextHigher:(bool)valueDiscussion
Sets whether the server should reserve the next-higher port number.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– typeValue
Gets the type value.
- (int)typeValueDiscussion
Gets the type value.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– writeValueToWithBuffer:offset:
Writes the attribute value to a data buffer.
- (void)writeValueToWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offsetParameters
buffer |
The buffer. |
|---|---|
offset |
The offset. |
Discussion
Writes the attribute value to a data buffer.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h