localChannelId
protected long localChannelId
localPacketSize
protected long localPacketSize
remoteChannelId
protected long remoteChannelId
remotePacketSize
protected long remotePacketSize
close
public void close()
throws IOException
finalizeClose
protected void finalizeClose()
throws IOException
getChannelConfirmationData
public abstract byte[] getChannelConfirmationData()
getChannelOpenData
public abstract byte[] getChannelOpenData()
getChannelType
public abstract String getChannelType()
getLocalChannelId
public long getLocalChannelId()
getLocalPacketSize
public long getLocalPacketSize()
getMaximumPacketSize
protected abstract int getMaximumPacketSize()
getMaximumWindowSpace
protected abstract int getMaximumWindowSpace()
getMinimumWindowSpace
protected abstract int getMinimumWindowSpace()
getName
public String getName()
getRemoteChannelId
public long getRemoteChannelId()
getRemotePacketSize
public long getRemotePacketSize()
init
protected void init(ConnectionProtocol connection,
long localChannelId,
long senderChannelId,
long initialWindowSize,
long maximumPacketSize)
throws IOException
connection
- localChannelId
- senderChannelId
- initialWindowSize
- maximumPacketSize
-
init
protected void init(ConnectionProtocol connection,
long localChannelId,
long senderChannelId,
long initialWindowSize,
long maximumPacketSize,
ChannelEventListener eventListener)
throws IOException
connection
- localChannelId
- senderChannelId
- initialWindowSize
- maximumPacketSize
- eventListener
-
isClosed
public boolean isClosed()
isLocalEOF
public boolean isLocalEOF()
isOpen
public boolean isOpen()
isRemoteEOF
public boolean isRemoteEOF()
onChannelClose
protected abstract void onChannelClose()
throws IOException
onChannelData
protected abstract void onChannelData(SshMsgChannelData msg)
throws IOException
onChannelEOF
protected abstract void onChannelEOF()
throws IOException
onChannelOpen
protected abstract void onChannelOpen()
throws IOException
onChannelRequest
protected abstract void onChannelRequest(String requestType,
boolean wantReply,
byte[] requestData)
throws IOException
requestType
- wantReply
- requestData
-
open
protected void open()
throws IOException
processChannelData
protected void processChannelData(SshMsgChannelData msg)
throws IOException
remoteClose
protected void remoteClose()
throws IOException
sendChannelData
protected void sendChannelData(byte[] data)
throws IOException
sendChannelExtData
protected void sendChannelExtData(int type,
byte[] data)
throws IOException
setLocalEOF
public void setLocalEOF()
throws IOException
setName
public void setName(String name)
setRemoteEOF
protected void setRemoteEOF()
throws IOException