C# Class STUN.ErrorCodeAttribute

Inheritance: STUNAttribute
Mostra file Open project: RELOAD-NET/RELOAD.NET Class Usage Examples

Public Methods

Method Description
CreareErrorCode ( StunErrorType Type ) : ErrorCodeAttribute
CreateErrorCode ( int ErrorCode, String ReasonPhrase ) : ErrorCodeAttribute
ParseErrorCode ( UInt16 att_length, Byte att_value_with_padding ) : void

Method Details

CreareErrorCode() public static method

public static CreareErrorCode ( StunErrorType Type ) : ErrorCodeAttribute
Type StunErrorType
return ErrorCodeAttribute

CreateErrorCode() public static method

public static CreateErrorCode ( int ErrorCode, String ReasonPhrase ) : ErrorCodeAttribute
ErrorCode int
ReasonPhrase String
return ErrorCodeAttribute

ParseErrorCode() public method

public ParseErrorCode ( UInt16 att_length, Byte att_value_with_padding ) : void
att_length System.UInt16
att_value_with_padding Byte
return void