C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc.DynamicVirtualChannel

Show file Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Methods

Method Description
DynamicVirtualChannel ( UInt32 channelId, string channelName, ushort priority, IDVCTransport transport ) : System
NewChannelId ( ) : UInt32

Get a new unused channel id

ProcessPacket ( DataDvcBasePdu pdu ) : void

Process DVC packet, only process Data on this channel

Send ( byte data, bool isCompressed = false ) : void

Send data using this DVC

SendFirstCompressedData ( byte data ) : void

Private Methods

Method Description
ProcessDataPdu ( DataDvcBasePdu pdu ) : void

Process DVC Data

Method Details

DynamicVirtualChannel() public method

public DynamicVirtualChannel ( UInt32 channelId, string channelName, ushort priority, IDVCTransport transport ) : System
channelId System.UInt32
channelName string
priority ushort
transport IDVCTransport
return System

NewChannelId() public static method

Get a new unused channel id
public static NewChannelId ( ) : UInt32
return System.UInt32

ProcessPacket() public method

Process DVC packet, only process Data on this channel
public ProcessPacket ( DataDvcBasePdu pdu ) : void
pdu DataDvcBasePdu
return void

Send() public method

Send data using this DVC
public Send ( byte data, bool isCompressed = false ) : void
data byte
isCompressed bool
return void

SendFirstCompressedData() public method

public SendFirstCompressedData ( byte data ) : void
data byte
return void