C# Class Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Server_Heartbeat_PDU

The Heartbeat PDU is sent by the server to the client and allows the client to monitor the state of the connection to the server in real time.
Inheritance: RdpbcgrServerPdu
ファイルを表示 Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Public Properties

Property Type Description
commonHeader SlowPathPduCommonHeader
count1 byte
count2 byte
period byte
reserved byte

Public Methods

Method Description
Clone ( ) : StackPacket
Server_Heartbeat_PDU ( ) : System
Server_Heartbeat_PDU ( RdpbcgrServerSessionContext serverSessionContext ) : System
ToBytes ( ) : byte[]

Method Details

Clone() public method

public Clone ( ) : StackPacket
return StackPacket

Server_Heartbeat_PDU() public method

public Server_Heartbeat_PDU ( ) : System
return System

Server_Heartbeat_PDU() public method

public Server_Heartbeat_PDU ( RdpbcgrServerSessionContext serverSessionContext ) : System
serverSessionContext RdpbcgrServerSessionContext
return System

ToBytes() public method

public ToBytes ( ) : byte[]
return byte[]

Property Details

commonHeader public_oe property

The slow path header.
public SlowPathPduCommonHeader,Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr commonHeader
return SlowPathPduCommonHeader

count1 public_oe property

An 8-bit unsigned integer that specifies how many missed heartbeats SHOULD trigger a client-side warning. The client MAY ignore this value.
public byte count1
return byte

count2 public_oe property

An 8-bit unsigned integer that specifies how many missed heartbeats SHOULD trigger a client-side reconnection attempt. The client MAY ignore this value.
public byte count2
return byte

period public_oe property

An 8-bit unsigned integer that specifies the time (in seconds) between Heartbeat PDUs.
public byte period
return byte

reserved public_oe property

An 8-bit unsigned integer reserved for future use. This field MUST be set to zero.
public byte reserved
return byte