C# 클래스 STUN.ErrorCodeAttribute

상속: STUNAttribute
파일 보기 프로젝트 열기: RELOAD-NET/RELOAD.NET 1 사용 예제들

공개 메소드들

메소드 설명
CreareErrorCode ( StunErrorType Type ) : ErrorCodeAttribute
CreateErrorCode ( int ErrorCode, String ReasonPhrase ) : ErrorCodeAttribute
ParseErrorCode ( UInt16 att_length, Byte att_value_with_padding ) : void

메소드 상세

CreareErrorCode() 공개 정적인 메소드

public static CreareErrorCode ( StunErrorType Type ) : ErrorCodeAttribute
Type StunErrorType
리턴 ErrorCodeAttribute

CreateErrorCode() 공개 정적인 메소드

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

ParseErrorCode() 공개 메소드

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