C# Class Renci.SshNet.Messages.Message

Base class for all SSH protocol messages
Inheritance: SshData
显示文件 Open project: sshnet/SSH.NET Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Returns a string that represents this instance.

Protected Methods

Method Description
WriteBytes ( SshDataStream stream ) : void

Writes the message to the specified SshDataStream.

Private Methods

Method Description
GetPacket ( byte paddingMultiplier, Compressor compressor ) : byte[]
GetPacketDataLength ( int messageLength, byte paddingLength ) : uint
GetPaddingLength ( byte paddingMultiplier, long packetLength ) : byte
Process ( Session session ) : void

Process the current message for the specified Session.

Method Details

ToString() public method

Returns a string that represents this instance.
public ToString ( ) : string
return string

WriteBytes() protected method

Writes the message to the specified SshDataStream.
protected WriteBytes ( SshDataStream stream ) : void
stream Renci.SshNet.Common.SshDataStream
return void