C# Class SIPSorcery.Net.STUNv2ErrorCodeAttribute

Inheritance: STUNv2Attribute
Mostra file Open project: sipsorcery/sipsorcery Class Usage Examples

Public Properties

Property Type Description
ErrorClass byte
ErrorNumber byte
ReasonPhrase string

Public Methods

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

Method Details

STUNv2ErrorCodeAttribute() public method

public STUNv2ErrorCodeAttribute ( byte attributeValue ) : System
attributeValue byte
return System

STUNv2ErrorCodeAttribute() public method

public STUNv2ErrorCodeAttribute ( int errorCode, string reasonPhrase ) : System
errorCode int
reasonPhrase string
return System

ToByteBuffer() public method

public ToByteBuffer ( byte buffer, int startIndex ) : int
buffer byte
startIndex int
return int

ToString() public method

public ToString ( ) : string
return string

Property Details

ErrorClass public_oe property

public byte ErrorClass
return byte

ErrorNumber public_oe property

public byte ErrorNumber
return byte

ReasonPhrase public_oe property

public string ReasonPhrase
return string