FMIceLinkStunTurnLifetimeAttribute Class Reference
| Inherits from | FMIceLinkStunAttribute : NSObject |
|---|---|
| Declared in | FMIceLinkStunTurnLifetimeAttribute.h FMIceLinkStunTurnLifetimeAttribute.m |
Overview
The LIFETIME attribute represents the duration for which the server
will maintain an allocation in the absence of a refresh (in seconds).
– 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
FMIceLinkStunTurnLifetimeAttribute.h
– getValueLength
Gets the length of the attribute value.
@return
- (int)getValueLengthDiscussion
Gets the length of the attribute value.
@return
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
– initWithLifetime:
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
- (instancetype)initWithLifetime:(long long)lifetimeParameters
lifetime |
The allocation duration in seconds. |
|---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
– lifetime
Gets the allocation duration in seconds.
- (long long)lifetimeDiscussion
Gets the allocation duration in seconds.
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
+ lifetimeAttributeWithLifetime:
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
+ (FMIceLinkStunTurnLifetimeAttribute *)lifetimeAttributeWithLifetime:(long long)lifetimeParameters
lifetime |
The allocation duration in seconds. |
|---|
Discussion
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
+ readValueFromWithBuffer:offset:
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
+ (FMIceLinkStunTurnLifetimeAttribute *)readValueFromWithBuffer:(FMIceLinkDataBuffer *)buffer offset:(int)offsetParameters
buffer |
The buffer. |
|---|---|
offset |
The offset. @return |
Discussion
Initializes a new instance of the FMIceLinkStunTurnLifetimeAttribute class.
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
– setLifetime:
Sets the allocation duration in seconds.
- (void)setLifetime:(long long)valueDiscussion
Sets the allocation duration in seconds.
Declared In
FMIceLinkStunTurnLifetimeAttribute.h
– typeValue
Gets the type value.
- (int)typeValueDiscussion
Gets the type value.
Declared In
FMIceLinkStunTurnLifetimeAttribute.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
FMIceLinkStunTurnLifetimeAttribute.h