com.maverick.sshd.vtun
Class VTunRemoteForwardingChannel
java.lang.Object
com.maverick.sshd.Channel
com.maverick.sshd.tunnel.ForwardingChannel
com.maverick.sshd.vtun.VTunForwardingChannel
com.maverick.sshd.vtun.VTunRemoteForwardingChannel
- All Implemented Interfaces:
- com.maverick.ssh.components.SshComponent
public class VTunRemoteForwardingChannel
- extends VTunForwardingChannel
| Methods inherited from class com.maverick.sshd.vtun.VTunForwardingChannel |
bind, evaluateWindowSpace, onChannelClosed, onChannelClosing, onChannelData, onChannelFree, onChannelOpen, onChannelOpenFailure, onChannelRequest, onExtendedData, onLocalEOF, onRemoteEOF, openChannel |
| Methods inherited from class com.maverick.sshd.Channel |
addEventListener, addInputListener, addOutputListener, canClose, close, getConnection, getContext, getLocalId, getLocalPacket, getLocalWindow, getName, getQueueSize, getRemoteId, getRemotePacket, getRemoteWindow, getSessionIdentifier, hasQueuedData, idle, isClosed, isClosing, isEOF, isLocalEOF, isOpen, isRemoteEOF, onRemoteClose, onWindowAdjust, queueSize, registerExtendedData, removeEventListener, sendChannelData, sendChannelData, sendChannelRequest, sendEOF, sendExtendedData, sendRequestResponse, sendWindowAdjust |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VTunRemoteForwardingChannel
public VTunRemoteForwardingChannel(String addressToBind,
int portToBind)
onChannelBind
protected void onChannelBind()
- Specified by:
onChannelBind in class VTunForwardingChannel
onChannelOpenConfirmation
protected void onChannelOpenConfirmation()
- Called when the channel has been confirmed as open. Here we bind the
output channel (local channel).
- Overrides:
onChannelOpenConfirmation in class VTunForwardingChannel
createChannel
protected byte[] createChannel()
throws IOException
- Called when the channel is being created.
- Overrides:
createChannel in class VTunForwardingChannel
- Returns:
- byte[]
- Throws:
IOException
Copyright © 2012. All Rights Reserved.