C# Class SIPSorcery.Net.STUNAttribute

Afficher le fichier Open project: sipsorcery/sipsorcery Class Usage Examples

Méthodes publiques

Свойство Type Description
AttributeType STUNAttributeTypesEnum
Length System.UInt16
Value byte[]

Méthodes publiques

Méthode Description
ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List
STUNAttribute ( STUNAttributeTypesEnum attributeType, UInt16 length, byte value ) : NUnit.Framework
STUNAttribute ( STUNAttributeTypesEnum attributeType, byte value ) : NUnit.Framework
ToByteBuffer ( byte buffer, int startIndex ) : int
ToString ( ) : string

Method Details

ParseMessageAttributes() public static méthode

public static ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List
buffer byte
startIndex int
endIndex int
Résultat List

STUNAttribute() public méthode

public STUNAttribute ( STUNAttributeTypesEnum attributeType, UInt16 length, byte value ) : NUnit.Framework
attributeType STUNAttributeTypesEnum
length System.UInt16
value byte
Résultat NUnit.Framework

STUNAttribute() public méthode

public STUNAttribute ( STUNAttributeTypesEnum attributeType, byte value ) : NUnit.Framework
attributeType STUNAttributeTypesEnum
value byte
Résultat NUnit.Framework

ToByteBuffer() public méthode

public ToByteBuffer ( byte buffer, int startIndex ) : int
buffer byte
startIndex int
Résultat int

ToString() public méthode

public ToString ( ) : string
Résultat string

Property Details

AttributeType public_oe property

public STUNAttributeTypesEnum AttributeType
Résultat STUNAttributeTypesEnum

Length public_oe property

public UInt16,System Length
Résultat System.UInt16

Value public_oe property

public byte[] Value
Résultat byte[]