|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The base interface for all SSH channels. SSH Channels enable the multiplexing of several unique data channels over a single SSH connection, each channel is identified by an unique ID and provides a set of IO streams for sending and recieving data.
Method Summary | |
void |
addChannelEventListener(ChannelEventListener listener)
Provides an event listening mechanism. |
int |
getChannelId()
Get the id of this channel. |
boolean |
isClosed()
Evaluate whether the channel is closed. |
void |
setAutoConsumeInput(boolean autoConsumeInput)
Automatically consume input data |
Methods inherited from interface com.maverick.ssh.SshIO |
close, getInputStream, getOutputStream |
Method Detail |
public int getChannelId()
public boolean isClosed()
true
if the channel is closed, otherwise false
public void addChannelEventListener(ChannelEventListener listener)
listener
- public void setAutoConsumeInput(boolean autoConsumeInput)
autoConsumeInput
- boolean
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |