| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Objectcom.sshtools.j2ssh.connection.Channelcom.sshtools.j2ssh.connection.IOChannelpublic abstract class IOChannelextends ChannelField Summary | |
protected InputStream | |
protected OutputStream | |
protected ChannelInputStream | |
protected IOStreamConnector | |
protected ChannelOutputStream | |
Fields inherited from class com.sshtools.j2ssh.connection.Channel | |
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state | |
Method Summary | |
void |
|
void |
|
ChannelInputStream | |
ChannelOutputStream | |
protected void |
|
protected void | |
protected void | |
protected void | |
protected void | |
protected void |
|
void | |
Methods inherited from class com.sshtools.j2ssh.connection.Channel | |
addEventListener, close, finalizeClose, getChannelConfirmationData, getChannelOpenData, getChannelType, getLocalChannelId, getLocalPacketSize, getLocalWindow, getMaximumPacketSize, getMaximumWindowSpace, getMinimumWindowSpace, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, onChannelClose, onChannelData, onChannelEOF, onChannelExtData, onChannelOpen, onChannelRequest, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOF | |
protected InputStream boundInputStream
protected OutputStream boundOutputStream
public void bindInputStream(InputStream boundInputStream)
throws IOException
- Parameters:
boundInputStream-
public void bindOutputStream(OutputStream boundOutputStream)
throws IOExceptionprotected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize) throws IOException
- Parameters:
connection-localChannelId-senderChannelId-initialWindowSize-maximumPacketSize-
protected void onChannelClose()
throws IOException
- Overrides:
- onChannelClose in interface Channel
protected void onChannelData(SshMsgChannelData msg) throws IOException
- Overrides:
- onChannelData in interface Channel
- Parameters:
msg-
protected void onChannelEOF()
throws IOException
- Overrides:
- onChannelEOF in interface Channel
protected void onChannelExtData(SshMsgChannelExtendedData msg) throws IOException
- Overrides:
- onChannelExtData in interface Channel
- Parameters:
msg-