C# 클래스 Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.PduBuilder

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

보호된 프로퍼티들

프로퍼티 타입 설명
regsiteredPDUs List

공개 메소드들

메소드 설명
CompressDataToRdp8BulkEncodedData ( byte data, PACKET_COMPR_FLAG compressedFlag ) : byte[]
CreateCapsRespPdu ( ushort version ) : CapsRespDvcPdu
CreateCapsV1ReqPdu ( ) : CapsVer1ReqDvcPdu
CreateCapsV2ReqPdu ( ) : CapsVer2ReqDvcPdu
CreateCapsV2ReqPdu ( ushort priorityCharge0, ushort priorityCharge1, ushort priorityCharge2, ushort priorityCharge3 ) : CapsVer2ReqDvcPdu
CreateCapsV3ReqPdu ( ) : CapsVer3ReqDvcPdu
CreateCapsV3ReqPdu ( ushort priorityCharge0, ushort priorityCharge1, ushort priorityCharge2, ushort priorityCharge3 ) : CapsVer3ReqDvcPdu
CreateCloseDvcPdu ( uint channelId ) : CloseDvcPdu
CreateCompressedDataPdu ( uint channelId, byte data, int channelChunkLength = 1599 ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataCompressedDvcPdu[]

Create a DataCompressedDvcPdu

CreateCreateReqDvcPdu ( ushort priority, uint channelId, string channelName ) : CreateReqDvcPdu
CreateCreateRespDvcPdu ( uint channelId, int creationStatus ) : CreateRespDvcPdu
CreateDataCompressedReqPdu ( uint channelId, byte data ) : DataCompressedDvcPdu

Create DYNVC_DATA_COMPRESSED

CreateDataFristCompressedReqPdu ( uint channelId, byte data ) : DataFirstCompressedDvcPdu

Create DYNVC_DATA_FIRST_COMPRESSED

CreateDataPdu ( uint channelId, byte data, int channelChunkLength ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataDvcBasePdu[]

Create the DYNVC_DATA PDU

CreateSoftSyncReqPdu ( SoftSyncReqFlags_Value flags, ushort numberOfTunnels, SoftSyncChannelList channelList = null ) : SoftSyncReqDvcPDU

Create DYNVC_SOFT_SYNC_REQUEST PDU.

CreateUnknownPdu ( byte rawData ) : UnknownDynamicVCPDU
RegisterPdu ( DynamicVCPDU pdu ) : void
ToPdu ( byte data ) : DynamicVCPDU
ToRawData ( DynamicVCPDU pdu ) : byte[]

보호된 메소드들

메소드 설명
RegisterDefaultPdus ( ) : void

메소드 상세

CompressDataToRdp8BulkEncodedData() 공개 메소드

public CompressDataToRdp8BulkEncodedData ( byte data, PACKET_COMPR_FLAG compressedFlag ) : byte[]
data byte
compressedFlag PACKET_COMPR_FLAG
리턴 byte[]

CreateCapsRespPdu() 공개 메소드

public CreateCapsRespPdu ( ushort version ) : CapsRespDvcPdu
version ushort
리턴 CapsRespDvcPdu

CreateCapsV1ReqPdu() 공개 메소드

public CreateCapsV1ReqPdu ( ) : CapsVer1ReqDvcPdu
리턴 CapsVer1ReqDvcPdu

CreateCapsV2ReqPdu() 공개 메소드

public CreateCapsV2ReqPdu ( ) : CapsVer2ReqDvcPdu
리턴 CapsVer2ReqDvcPdu

CreateCapsV2ReqPdu() 공개 메소드

public CreateCapsV2ReqPdu ( ushort priorityCharge0, ushort priorityCharge1, ushort priorityCharge2, ushort priorityCharge3 ) : CapsVer2ReqDvcPdu
priorityCharge0 ushort
priorityCharge1 ushort
priorityCharge2 ushort
priorityCharge3 ushort
리턴 CapsVer2ReqDvcPdu

CreateCapsV3ReqPdu() 공개 메소드

public CreateCapsV3ReqPdu ( ) : CapsVer3ReqDvcPdu
리턴 CapsVer3ReqDvcPdu

CreateCapsV3ReqPdu() 공개 메소드

public CreateCapsV3ReqPdu ( ushort priorityCharge0, ushort priorityCharge1, ushort priorityCharge2, ushort priorityCharge3 ) : CapsVer3ReqDvcPdu
priorityCharge0 ushort
priorityCharge1 ushort
priorityCharge2 ushort
priorityCharge3 ushort
리턴 CapsVer3ReqDvcPdu

CreateCloseDvcPdu() 공개 메소드

public CreateCloseDvcPdu ( uint channelId ) : CloseDvcPdu
channelId uint
리턴 CloseDvcPdu

CreateCompressedDataPdu() 공개 메소드

Create a DataCompressedDvcPdu
public CreateCompressedDataPdu ( uint channelId, byte data, int channelChunkLength = 1599 ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataCompressedDvcPdu[]
channelId uint
data byte
channelChunkLength int
리턴 Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataCompressedDvcPdu[]

CreateCreateReqDvcPdu() 공개 메소드

public CreateCreateReqDvcPdu ( ushort priority, uint channelId, string channelName ) : CreateReqDvcPdu
priority ushort
channelId uint
channelName string
리턴 CreateReqDvcPdu

CreateCreateRespDvcPdu() 공개 메소드

public CreateCreateRespDvcPdu ( uint channelId, int creationStatus ) : CreateRespDvcPdu
channelId uint
creationStatus int
리턴 CreateRespDvcPdu

CreateDataCompressedReqPdu() 공개 메소드

Create DYNVC_DATA_COMPRESSED
public CreateDataCompressedReqPdu ( uint channelId, byte data ) : DataCompressedDvcPdu
channelId uint
data byte
리턴 DataCompressedDvcPdu

CreateDataFristCompressedReqPdu() 공개 메소드

Create DYNVC_DATA_FIRST_COMPRESSED
public CreateDataFristCompressedReqPdu ( uint channelId, byte data ) : DataFirstCompressedDvcPdu
channelId uint
data byte
리턴 DataFirstCompressedDvcPdu

CreateDataPdu() 공개 메소드

Create the DYNVC_DATA PDU
public CreateDataPdu ( uint channelId, byte data, int channelChunkLength ) : Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataDvcBasePdu[]
channelId uint The channelId
data byte The uncompressed data
channelChunkLength int The maximum number of uncompressed bytes in a single segment
리턴 Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DataDvcBasePdu[]

CreateSoftSyncReqPdu() 공개 메소드

Create DYNVC_SOFT_SYNC_REQUEST PDU.
public CreateSoftSyncReqPdu ( SoftSyncReqFlags_Value flags, ushort numberOfTunnels, SoftSyncChannelList channelList = null ) : SoftSyncReqDvcPDU
flags SoftSyncReqFlags_Value
numberOfTunnels ushort
channelList SoftSyncChannelList
리턴 SoftSyncReqDvcPDU

CreateUnknownPdu() 공개 메소드

public CreateUnknownPdu ( byte rawData ) : UnknownDynamicVCPDU
rawData byte
리턴 UnknownDynamicVCPDU

RegisterDefaultPdus() 보호된 메소드

protected RegisterDefaultPdus ( ) : void
리턴 void

RegisterPdu() 공개 메소드

public RegisterPdu ( DynamicVCPDU pdu ) : void
pdu DynamicVCPDU
리턴 void

ToPdu() 공개 메소드

public ToPdu ( byte data ) : DynamicVCPDU
data byte
리턴 DynamicVCPDU

ToRawData() 공개 메소드

public ToRawData ( DynamicVCPDU pdu ) : byte[]
pdu DynamicVCPDU
리턴 byte[]

프로퍼티 상세

regsiteredPDUs 보호되어 있는 프로퍼티

protected List regsiteredPDUs
리턴 List