Channels Property
A collection of currently open channels.
Syntax
public SSHChannelMap getChannels();
Remarks
The SSH 2.0 specification allows for multiple channels to be opened over a single TCP/IP connection. The Channels property represents the channels that are currently open. A new SSHChannel can be opened with OpenChannel.
This collection is a hashtable where the channel's Id string is used as the key to the desired SSH channel object.
Example (Sending Data to a Channel)
channels.item("1").setDataToSend("channel specific data");
This property is read-only.