com.sshtools.j2ssh.connection

Class BindingChannel

Known Direct Subclasses:
ForwardingBindingChannel

public abstract class BindingChannel
extends Channel

Version:
$Revision: 1.12 $
Author:
$author$

Field Summary

protected BindingChannel
boundChannel
protected Vector
messages

Fields inherited from class com.sshtools.j2ssh.connection.Channel

connection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, state

Method Summary

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, onChannelClose, onChannelData, onChannelEOF, onChannelExtData, onChannelOpen, onChannelRequest, open, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setLocalEOF, setName, setRemoteEOF

Field Details

boundChannel

protected BindingChannel boundChannel

messages

protected Vector messages

Method Details

bindChannel

public void bindChannel(BindingChannel boundChannel)
            throws IOException
Parameters:
boundChannel -

isBound

public boolean isBound()
Returns:

onChannelClose

protected void onChannelClose()
            throws IOException
Overrides:
onChannelClose in interface Channel

onChannelData

protected void onChannelData(SshMsgChannelData msg)
            throws IOException
Overrides:
onChannelData in interface Channel
Parameters:
msg -

onChannelEOF

protected void onChannelEOF()
            throws IOException
Overrides:
onChannelEOF in interface Channel

onChannelExtData

protected void onChannelExtData(SshMsgChannelExtendedData msg)
            throws IOException
Overrides:
onChannelExtData in interface Channel
Parameters:
msg -

onChannelOpen

protected void onChannelOpen()
            throws IOException
Overrides:
onChannelOpen in interface Channel

setRemoteEOF

protected void setRemoteEOF()
            throws IOException
Overrides:
setRemoteEOF in interface Channel

Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.