public abstract class IOChannel extends Channel
| Modifier and Type | Field and Description |
|---|---|
protected java.io.InputStream |
boundInputStream |
protected java.io.OutputStream |
boundOutputStream |
protected ChannelInputStream |
in |
protected IOStreamConnector |
ios |
protected ChannelOutputStream |
out |
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state| Constructor and Description |
|---|
IOChannel() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindInputStream(java.io.InputStream boundInputStream) |
void |
bindOutputStream(java.io.OutputStream boundOutputStream) |
ChannelInputStream |
getInputStream() |
ChannelOutputStream |
getOutputStream() |
protected void |
init(ConnectionProtocol connection,
long localChannelId,
long senderChannelId,
long initialWindowSize,
long maximumPacketSize) |
protected void |
onChannelClose() |
protected void |
onChannelData(SshMsgChannelData msg) |
protected void |
onChannelEOF() |
protected void |
onChannelExtData(SshMsgChannelExtendedData msg) |
protected void |
open() |
void |
setLocalEOF() |
addEventListener, close, finalizeClose, getChannelConfirmationData, getChannelOpenData, getChannelType, getLocalChannelId, getLocalPacketSize, getLocalWindow, getMaximumPacketSize, getMaximumWindowSpace, getMinimumWindowSpace, getName, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, onChannelOpen, onChannelRequest, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setName, setRemoteEOFprotected ChannelInputStream in
protected ChannelOutputStream out
protected java.io.InputStream boundInputStream
protected java.io.OutputStream boundOutputStream
protected IOStreamConnector ios
protected void init(ConnectionProtocol connection, long localChannelId, long senderChannelId, long initialWindowSize, long maximumPacketSize) throws java.io.IOException
protected void open()
throws java.io.IOException
public ChannelInputStream getInputStream()
public ChannelOutputStream getOutputStream()
protected void onChannelData(SshMsgChannelData msg) throws java.io.IOException
onChannelData in class Channelmsg - java.io.IOExceptionpublic void setLocalEOF()
throws java.io.IOException
setLocalEOF in class Channeljava.io.IOExceptionprotected void onChannelEOF()
throws java.io.IOException
onChannelEOF in class Channeljava.io.IOExceptionprotected void onChannelClose()
throws java.io.IOException
onChannelClose in class Channeljava.io.IOExceptionprotected void onChannelExtData(SshMsgChannelExtendedData msg) throws java.io.IOException
onChannelExtData in class Channelmsg - java.io.IOExceptionpublic void bindOutputStream(java.io.OutputStream boundOutputStream)
throws java.io.IOException
java.io.IOExceptionpublic void bindInputStream(java.io.InputStream boundInputStream)
throws java.io.IOException
boundInputStream - java.io.IOExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.