Click or drag to resize

LifetimeAttribute Class

The LIFETIME attribute represents the duration for which the server will maintain an allocation in the absence of a refresh (in seconds).
Inheritance Hierarchy
SystemObject
  FM.IceLink.StunAttribute
    FM.IceLink.Stun.TurnLifetimeAttribute

Namespace:  FM.IceLink.Stun.Turn
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The LifetimeAttribute type exposes the following members.

Constructors
  NameDescription
Public methodLifetimeAttribute
Initializes a new instance of the LifetimeAttribute class.
Top
Properties
  NameDescription
Public propertyLifetime
Gets or sets the allocation duration in seconds.
Public propertyTypeValue
Gets the type value.
(Overrides AttributeTypeValue.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetLength
Gets the length of the attribute, including header and padding.
(Inherited from Attribute.)
Public methodGetPaddingLength
Gets the length of the padding.
(Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Protected methodGetValueLength
Gets the length of the attribute value.
(Overrides AttributeGetValueLength.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodStatic memberReadValueFrom
Initializes a new instance of the LifetimeAttribute class.
Public methodToString
Returns a string that represents this instance.
(Overrides ObjectToString.)
Protected methodWriteIPAddress
Writes an IP address.
(Inherited from Attribute.)
Protected methodWritePort
Writes a port.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Public methodWriteTo(DataBuffer, Int32, Int32)
Writes the attribute to a data buffer.
(Inherited from Attribute.)
Protected methodWriteValueTo
Writes the attribute value to a data buffer.
(Overrides AttributeWriteValueTo(DataBuffer, Int32).)
Protected methodWriteXorIPAddress
Writes an XOR'd IP address.
(Inherited from Attribute.)
Protected methodWriteXorPort
Writes an XOR'd port.
(Inherited from Attribute.)
Top
See Also