Package com.sshtools.j2ssh.connection
Class BindingChannel
- java.lang.Object
-
- com.sshtools.j2ssh.connection.Channel
-
- com.sshtools.j2ssh.connection.BindingChannel
-
- Direct Known Subclasses:
ForwardingBindingChannel
public abstract class BindingChannel extends Channel
- Version:
- $Revision: 1.12 $
- Author:
- $author$
-
-
Field Summary
Fields Modifier and Type Field Description protected BindingChannel
boundChannel
protected java.util.Vector
messages
-
Fields inherited from class com.sshtools.j2ssh.connection.Channel
connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state
-
-
Constructor Summary
Constructors Constructor Description BindingChannel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
bindChannel(BindingChannel boundChannel)
boolean
isBound()
protected void
onChannelClose()
protected void
onChannelData(SshMsgChannelData msg)
protected void
onChannelEOF()
protected void
onChannelExtData(SshMsgChannelExtendedData msg)
protected void
onChannelOpen()
protected void
setRemoteEOF()
-
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, onChannelRequest, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName
-
-
-
-
Field Detail
-
boundChannel
protected BindingChannel boundChannel
-
messages
protected java.util.Vector messages
-
-
Method Detail
-
isBound
public boolean isBound()
- Returns:
-
bindChannel
public void bindChannel(BindingChannel boundChannel) throws java.io.IOException
- Parameters:
boundChannel
-- Throws:
java.io.IOException
-
onChannelExtData
protected void onChannelExtData(SshMsgChannelExtendedData msg) throws java.io.IOException
- Specified by:
onChannelExtData
in classChannel
- Parameters:
msg
-- Throws:
java.io.IOException
-
onChannelData
protected void onChannelData(SshMsgChannelData msg) throws java.io.IOException
- Specified by:
onChannelData
in classChannel
- Parameters:
msg
-- Throws:
java.io.IOException
-
setRemoteEOF
protected void setRemoteEOF() throws java.io.IOException
- Overrides:
setRemoteEOF
in classChannel
- Throws:
java.io.IOException
-
onChannelEOF
protected void onChannelEOF() throws java.io.IOException
- Specified by:
onChannelEOF
in classChannel
- Throws:
java.io.IOException
-
onChannelClose
protected void onChannelClose() throws java.io.IOException
- Specified by:
onChannelClose
in classChannel
- Throws:
java.io.IOException
-
onChannelOpen
protected void onChannelOpen() throws java.io.IOException
- Specified by:
onChannelOpen
in classChannel
- Throws:
java.io.IOException
-
-