public class ForwardingIOChannel extends IOChannel implements ForwardingChannel
boundInputStream, boundOutputStream, in, ios, outconnection, localChannelId, localPacketSize, localWindow, remoteChannelId, remotePacketSize, remoteWindow, stateLOCAL_FORWARDING_CHANNEL, REMOTE_FORWARDING_CHANNEL, X11_FORWARDING_CHANNEL| Constructor and Description |
|---|
ForwardingIOChannel(java.lang.String forwardType,
java.lang.String name,
java.lang.String hostToConnectOrBind,
int portToConnectOrBind,
java.lang.String originatingHost,
int originatingPort)
Creates a new ForwardingIOChannel object.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChannelConfirmationData() |
byte[] |
getChannelOpenData() |
java.lang.String |
getChannelType() |
java.lang.String |
getHostToConnectOrBind() |
protected int |
getMaximumPacketSize() |
protected int |
getMaximumWindowSpace() |
protected int |
getMinimumWindowSpace() |
java.lang.String |
getName() |
java.lang.String |
getOriginatingHost() |
int |
getOriginatingPort() |
int |
getPortToConnectOrBind() |
protected void |
onChannelOpen() |
protected void |
onChannelRequest(java.lang.String request,
boolean wantReply,
byte[] requestData) |
bindInputStream, bindOutputStream, getInputStream, getOutputStream, init, onChannelClose, onChannelData, onChannelEOF, onChannelExtData, open, setLocalEOFaddEventListener, close, finalizeClose, getLocalChannelId, getLocalPacketSize, getLocalWindow, getRemoteChannelId, getRemotePacketSize, getRemoteWindow, getState, init, isClosed, isLocalEOF, isOpen, isRemoteEOF, processChannelData, processChannelData, remoteClose, sendChannelData, sendChannelExtData, setName, setRemoteEOFpublic ForwardingIOChannel(java.lang.String forwardType,
java.lang.String name,
java.lang.String hostToConnectOrBind,
int portToConnectOrBind,
java.lang.String originatingHost,
int originatingPort)
throws ForwardingConfigurationException
forwardType - hostToConnectOrBind - portToConnectOrBind - originatingHost - originatingPort - ForwardingConfigurationExceptionpublic byte[] getChannelOpenData()
getChannelOpenData in class Channelpublic byte[] getChannelConfirmationData()
getChannelConfirmationData in class Channelpublic java.lang.String getName()
getName in interface ForwardingChannelgetName in class Channelpublic java.lang.String getChannelType()
getChannelType in interface ForwardingChannelgetChannelType in class Channelprotected int getMinimumWindowSpace()
getMinimumWindowSpace in class Channelprotected int getMaximumWindowSpace()
getMaximumWindowSpace in class Channelprotected int getMaximumPacketSize()
getMaximumPacketSize in class Channelpublic java.lang.String getOriginatingHost()
getOriginatingHost in interface ForwardingChannelpublic int getOriginatingPort()
getOriginatingPort in interface ForwardingChannelpublic java.lang.String getHostToConnectOrBind()
getHostToConnectOrBind in interface ForwardingChannelpublic int getPortToConnectOrBind()
getPortToConnectOrBind in interface ForwardingChannelprotected void onChannelRequest(java.lang.String request,
boolean wantReply,
byte[] requestData)
throws java.io.IOException
onChannelRequest in class Channelrequest - wantReply - requestData - java.io.IOExceptionprotected void onChannelOpen()
throws java.io.IOException
onChannelOpen in class Channeljava.io.IOExceptionCopyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.