C# 클래스 SIPSorcery.Net.STUNv2Attribute

파일 보기 프로젝트 열기: sipsorcery/sipsorcery 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
AttributeType STUNv2AttributeTypesEnum
Value byte[]

공개 메소드들

메소드 설명
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

메소드 상세

ParseMessageAttributes() 공개 정적인 메소드

public static ParseMessageAttributes ( byte buffer, int startIndex, int endIndex ) : List
buffer byte
startIndex int
endIndex int
리턴 List

STUNv2Attribute() 공개 메소드

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, byte value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value byte
리턴 NUnit.Framework

STUNv2Attribute() 공개 메소드

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, int value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value int
리턴 NUnit.Framework

STUNv2Attribute() 공개 메소드

public STUNv2Attribute ( STUNv2AttributeTypesEnum attributeType, ushort value ) : NUnit.Framework
attributeType STUNv2AttributeTypesEnum
value ushort
리턴 NUnit.Framework

ToByteBuffer() 공개 메소드

public ToByteBuffer ( byte buffer, int startIndex ) : int
buffer byte
startIndex int
리턴 int

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

프로퍼티 상세

AttributeType 공개적으로 프로퍼티

public STUNv2AttributeTypesEnum AttributeType
리턴 STUNv2AttributeTypesEnum

Value 공개적으로 프로퍼티

public byte[] Value
리턴 byte[]