C# Class SIPSorcery.Net.STUNv2Attribute

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

Méthodes publiques

Свойство Type Description
AttributeType STUNv2AttributeTypesEnum
Value byte[]

Méthodes publiques

Méthode Description
ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, byte value ) : NUnit.Framework
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, int value ) : NUnit.Framework
STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, ushort 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

STUNv2Attribute() public méthode

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, byte value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value byte
Résultat NUnit.Framework

STUNv2Attribute() public méthode

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, int value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value int
Résultat NUnit.Framework

STUNv2Attribute() public méthode

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, ushort value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value ushort
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 STUNv2AttributeTypesEnum AttributeType
Résultat STUNv2AttributeTypesEnum

Value public_oe property

public byte[] Value
Résultat byte[]