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 *)description
Discussion
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)reserveNextHigher
Parameters
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)getValueLength
Discussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– initWithReserveNextHigher:
Initializes a new instance of the FMIceLinkStunTurnEvenPortAttribute class.
- (instancetype)initWithReserveNextHigher:(bool)reserveNextHigher
Parameters
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)offset
Parameters
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)reserveNextHigher
Discussion
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)value
Discussion
Sets whether the server should reserve the next-higher port number.
Declared In
FMIceLinkStunTurnEvenPortAttribute.h
– typeValue
Gets the type value.
- (int)typeValue
Discussion
Gets the type value.
Declared In
FMIceLinkStunTurnEvenPortAttribute.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
FMIceLinkStunTurnEvenPortAttribute.h