C# Class SIPSorcery.Net.STUNv2ErrorCodeAttribute

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

Méthodes publiques

Свойство Type Description
ErrorClass byte
ErrorNumber byte
ReasonPhrase string

Méthodes publiques

Méthode Description
STUNv2ErrorCodeAttribute ( byte attributeValue ) : System
STUNv2ErrorCodeAttribute ( int errorCode, string reasonPhrase ) : System
ToByteBuffer ( byte buffer, int startIndex ) : int
ToString ( ) : string

Method Details

STUNv2ErrorCodeAttribute() public méthode

public STUNv2ErrorCodeAttribute ( byte attributeValue ) : System
attributeValue byte
Résultat System

STUNv2ErrorCodeAttribute() public méthode

public STUNv2ErrorCodeAttribute ( int errorCode, string reasonPhrase ) : System
errorCode int
reasonPhrase string
Résultat System

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

ErrorClass public_oe property

public byte ErrorClass
Résultat byte

ErrorNumber public_oe property

public byte ErrorNumber
Résultat byte

ReasonPhrase public_oe property

public string ReasonPhrase
Résultat string