com.jcraft.jsch
Class ChannelDirectTCPIP
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelDirectTCPIP
- All Implemented Interfaces:
- java.lang.Runnable
public class ChannelDirectTCPIP
- extends Channel
Fields inherited from class com.jcraft.jsch.Channel |
type |
Methods inherited from class com.jcraft.jsch.Channel |
connect, disconnect, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getSession, isClosed, isConnected, isEOF, sendChannelOpen, sendOpenConfirmation, sendOpenFailure, sendSignal, setExtOutputStream, setExtOutputStream, setInputStream, setOutputStream, setXForwarding, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
connect
public void connect(int connectTimeout)
throws JSchException
- Overrides:
connect
in class Channel
- Throws:
JSchException
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class Channel
setInputStream
public void setInputStream(java.io.InputStream in)
- Overrides:
setInputStream
in class Channel
setOutputStream
public void setOutputStream(java.io.OutputStream out)
- Overrides:
setOutputStream
in class Channel
setHost
public void setHost(java.lang.String host)
setPort
public void setPort(int port)
setOrgIPAddress
public void setOrgIPAddress(java.lang.String foo)
setOrgPort
public void setOrgPort(int foo)
genChannelOpenPacket
protected Packet genChannelOpenPacket()
- Overrides:
genChannelOpenPacket
in class Channel