Méthode | Description | |
---|---|---|
Close ( ) : void |
Close this channel. After calling this method, all mothods of the ISSHChannel will throw SSHChannelInvalidOperationException.If this method was called under the inappropriate channel state, the method call will be ignored silently. |
|
ProcessPacket ( SSH1PacketType packetType, Granados.IO.DataFragment packetFragment ) : void |
Process packet about this channel.
|
|
ResizeTerminal ( uint width, uint height, uint pixelWidth, uint pixelHeight ) : void |
Send window dimension change message.
|
|
SSH1ChannelBase ( IPacketSender |
Constructor
|
|
Send ( Granados.IO.DataFragment data ) : void |
Send data.
|
|
SendBreak ( int breakLength ) : bool |
Send Break. (SSH2, session channel only)
|
|
SendEOF ( ) : void |
Send EOF.
|
|
SetHandler ( ISSHChannelEventHandler handler ) : void |
Sets handler
|
|
WaitReady ( ) : bool |
Block execution of the current thread until the channel is ready for the communication.
|
Méthode | Description | |
---|---|---|
Die ( ) : void |
Notifies terminating this channel.
|
|
SetRemoteChannel ( uint remoteChannel ) : void |
Sets remote channel.
|
|
Trace ( string format ) : void |
Outputs Trace message.
|
|
Transmit ( Granados.SSH1.SSH1Packet packet ) : void |
Sends a packet.
|
public abstract ProcessPacket ( SSH1PacketType packetType, Granados.IO.DataFragment packetFragment ) : void | ||
packetType | SSH1PacketType | a packet type (message number) |
packetFragment | Granados.IO.DataFragment | a packet image except message number and recipient channel. |
Résultat | void |
public abstract ResizeTerminal ( uint width, uint height, uint pixelWidth, uint pixelHeight ) : void | ||
width | uint | terminal width, columns |
height | uint | terminal height, rows |
pixelWidth | uint | terminal width, pixels |
pixelHeight | uint | terminal height, pixels |
Résultat | void |
public SSH1ChannelBase ( IPacketSender |
||
packetSender | IPacketSender |
|
protocolEventManager | SSHProtocolEventManager | |
localChannel | uint | |
remoteChannel | uint | |
channelType | ChannelType | |
channelTypeString | string | |
Résultat | System |
public abstract Send ( Granados.IO.DataFragment data ) : void | ||
data | Granados.IO.DataFragment | data to send |
Résultat | void |
public SendBreak ( int breakLength ) : bool | ||
breakLength | int | break-length in milliseconds |
Résultat | bool |
public SetHandler ( ISSHChannelEventHandler handler ) : void | ||
handler | ISSHChannelEventHandler | |
Résultat | void |
protected SetRemoteChannel ( uint remoteChannel ) : void | ||
remoteChannel | uint | remote channel |
Résultat | void |
protected Trace ( string format ) : void | ||
format | string | format string |
Résultat | void |
protected Transmit ( Granados.SSH1.SSH1Packet packet ) : void | ||
packet | Granados.SSH1.SSH1Packet | packet object |
Résultat | void |