Class ChannelMessage
- Namespace
- Renci.SshNet.Messages.Connection
- Assembly
- Renci.SshNet.dll
Base class for all channel specific SSH messages.
public abstract class ChannelMessage : Message
Inheritance
Derived
Inherited Members
Constructors
ChannelMessage()
Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelMessage class.
protected ChannelMessage()
ChannelMessage(uint)
Initializes a new instance of the Renci.SshNet.Messages.Connection.ChannelMessage class with the specified local channel number.
protected ChannelMessage(uint localChannelNumber)
Parameters
localChannelNumber
uint-
The local channel number.
Properties
BufferCapacity
Gets the size of the message in bytes.
protected override int BufferCapacity { get; }
Property Value
LocalChannelNumber
Gets or sets the local channel number.
public uint LocalChannelNumber { get; protected set; }
Property Value
Methods
LoadData()
Called when type specific data need to be loaded.
protected override void LoadData()
SaveData()
Called when type specific data need to be saved.
protected override void SaveData()
ToString()
Returns a System.String that represents this instance.
public override string ToString()
Returns
- string
-
A System.String that represents this instance.