Class ChannelRequestMessage
- Namespace
- Renci.SshNet.Messages.Connection
- Assembly
- Renci.SshNet.dll
Represents SSH_MSG_CHANNEL_REQUEST message.
public class ChannelRequestMessage : ChannelMessage
- Inheritance
-
ChannelRequestMessage
- Inherited Members
Constructors
ChannelRequestMessage()
Initializes a new instance of the ChannelRequestMessage class.
public ChannelRequestMessage()
ChannelRequestMessage(uint, RequestInfo)
Initializes a new instance of the ChannelRequestMessage class.
public ChannelRequestMessage(uint localChannelNumber, RequestInfo info)
Parameters
localChannelNumber
uintThe local channel number.
info
RequestInfoThe info.
Properties
BufferCapacity
Gets the size of the message in bytes.
protected override int BufferCapacity { get; }
Property Value
- int
The size of the messages in bytes.
MessageName
public override string MessageName { get; }
Property Value
MessageNumber
public override byte MessageNumber { get; }
Property Value
RequestData
Gets channel request data.
public byte[] RequestData { get; }
Property Value
- byte[]
RequestName
Gets the name of the request.
public string RequestName { get; }
Property Value
- string
The name of the request.
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()