Package com.jcraft.jsch
Class ChannelDirectTCPIP
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelDirectTCPIP
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jcraft.jsch.Channel
Channel.MyPipedInputStream, Channel.PassiveInputStream, Channel.PassiveOutputStream -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final byte[](package private) Stringprivate static final intprivate static final int(package private) String(package private) int(package private) intFields inherited from class com.jcraft.jsch.Channel
close, connected, connectTimeout, eof_local, eof_remote, exitstatus, id, index, io, lmpsize, lwsize, lwsize_max, notifyme, open_confirmation, recipient, reply, rmpsize, rwsize, SSH_MSG_CHANNEL_OPEN_CONFIRMATION, SSH_MSG_CHANNEL_OPEN_FAILURE, SSH_MSG_CHANNEL_WINDOW_ADJUST, SSH_OPEN_ADMINISTRATIVELY_PROHIBITED, SSH_OPEN_CONNECT_FAILED, SSH_OPEN_RESOURCE_SHORTAGE, SSH_OPEN_UNKNOWN_CHANNEL_TYPE, thread, type -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect(int connectTimeout) protected Packet(package private) voidinit()voidrun()voidvoidvoidsetOrgIPAddress(String foo) voidsetOrgPort(int foo) voidvoidsetPort(int port) Methods inherited from class com.jcraft.jsch.Channel
addRemoteWindowSize, close, connect, del, disconnect, disconnect, eof, eof_remote, getChannel, getChannel, getData, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getRecipient, getSession, isClosed, isConnected, isEOF, sendChannelOpen, sendOpenConfirmation, sendOpenFailure, sendSignal, setExitStatus, setExtOutputStream, setExtOutputStream, setInputStream, setLocalPacketSize, setLocalWindowSize, setLocalWindowSizeMax, setOutputStream, setRecipient, setRemotePacketSize, setRemoteWindowSize, setSession, setXForwarding, start, write, write, write_ext
-
Field Details
-
LOCAL_WINDOW_SIZE_MAX
private static final int LOCAL_WINDOW_SIZE_MAX- See Also:
-
LOCAL_MAXIMUM_PACKET_SIZE
private static final int LOCAL_MAXIMUM_PACKET_SIZE- See Also:
-
_type
private static final byte[] _type -
host
String host -
port
int port -
originator_IP_address
String originator_IP_address -
originator_port
int originator_port
-
-
Constructor Details
-
ChannelDirectTCPIP
ChannelDirectTCPIP()
-
-
Method Details
-
init
void init() -
connect
- Overrides:
connectin classChannel- Throws:
JSchException
-
run
public void run() -
setInputStream
- Overrides:
setInputStreamin classChannel
-
setOutputStream
- Overrides:
setOutputStreamin classChannel
-
setHost
-
setPort
public void setPort(int port) -
setOrgIPAddress
-
setOrgPort
public void setOrgPort(int foo) -
genChannelOpenPacket
- Overrides:
genChannelOpenPacketin classChannel
-