Channel
Represents base class for SSH channel implementations.
Gets the type of the channel.
Gets the connection info.
Gets a value indicating whether the session is connected.
Gets or sets a value indicating whether this channel is open.
Gets the local channel number.
Gets the maximum size of a data packet that we can receive using the channel.
Gets the size of the local window.
Gets the remote channel number.
Gets the maximum size of a data packet that we can send using the channel.
Gets the window size of the remote server.
Gets the session.
Gets the session semaphore to control number of session channels.
Occurs when ChannelCloseMessage is received.
Occurs when ChannelDataMessage is received.
Occurs when ChannelEofMessage is received.
Occurs when an exception is thrown when processing channel messages.
Occurs when ChannelExtendedDataMessage is received.
Occurs when ChannelFailureMessage is received.
Occurs when ChannelRequestMessage is received.
Occurs when ChannelSuccessMessage is received.
protected Channel(ISession session, uint localChannelNumber, uint localWindowSize, uint localPacketSize)
Initializes a new instance of the Channel class.
Closes the channel, waiting for the SSH_MSG_CHANNEL_CLOSE message to be received from the server.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Releases unmanaged and - optionally - managed resources.
protected void InitializeRemoteInfo(uint remoteChannelNumber, uint remoteWindowSize, uint remotePacketSize)
Initializes the information on the remote channel.
Called when an Exception occurs while processing a channel message.
Called when channel is closed by the server.
Called when channel data is received.
Called when channel has no more data to receive.
Called when channel extended data is received.
Called when channel request failed.
Called when channel request received.
Called when channel request was successful.
Called when channel window need to be adjust.
Sends a SSH_MSG_CHANNEL_DATA message with the specified payload.
Sends a SSH_MSG_CHANNEL_DATA message with the specified payload.
Sends a SSH_MSG_CHANNEL_EOF message to the remote server.
Sends SSH message to the server.
Waits for the handle to be signaled or for an error to occurs.