namespace Renci.SshNet.Messages.Connection
{
///
/// Represents SSH_MSG_CHANNEL_CLOSE message.
///
[Message("SSH_MSG_CHANNEL_CLOSE", 97)]
public class ChannelCloseMessage : ChannelMessage
{
///
/// Initializes a new instance of the class.
///
public ChannelCloseMessage()
{
}
///
/// Initializes a new instance of the class.
///
/// The local channel number.
public ChannelCloseMessage(uint localChannelNumber)
: base(localChannelNumber)
{
}
internal override void Process(Session session)
{
session.OnChannelCloseReceived(this);
}
}
}