C# Class NetworkPackets.StunPacket.Attribute

Holds a generic Xmpp Attribute.
Afficher le fichier Open project: pstjuste/brunet

Méthodes publiques

Свойство Type Description
Data Brunet.Util.MemBlock
Type AttributeType
Value Brunet.Util.MemBlock

Méthodes publiques

Méthode Description
Attribute ( AttributeType type, MemBlock value ) : Brunet.Util

Create a new Attribute.

Attribute ( MemBlock data ) : Brunet.Util

Parse an Attribute.

Parse ( MemBlock data ) : Attribute

Converts an attribute into a specific type if a parser exists for it, otherwise stuffs it into a generic Attribute object.

Method Details

Attribute() public méthode

Create a new Attribute.
public Attribute ( AttributeType type, MemBlock value ) : Brunet.Util
type AttributeType
value Brunet.Util.MemBlock
Résultat Brunet.Util

Attribute() public méthode

Parse an Attribute.
public Attribute ( MemBlock data ) : Brunet.Util
data Brunet.Util.MemBlock
Résultat Brunet.Util

Parse() public static méthode

Converts an attribute into a specific type if a parser exists for it, otherwise stuffs it into a generic Attribute object.
public static Parse ( MemBlock data ) : Attribute
data Brunet.Util.MemBlock
Résultat System.Attribute

Property Details

Data public_oe property

Data for the attribute.
public MemBlock,Brunet.Util Data
Résultat Brunet.Util.MemBlock

Type public_oe property

The Attribute type.
public AttributeType Type
Résultat AttributeType

Value public_oe property

The binary represtation of the value.
public MemBlock,Brunet.Util Value
Résultat Brunet.Util.MemBlock