public class ChannelDirectTCPIP extends Channel
限定符和类型 | 方法和说明 |
---|---|
void |
connect(int connectTimeout) |
protected Packet |
genChannelOpenPacket() |
void |
run() |
void |
setHost(java.lang.String host) |
void |
setInputStream(java.io.InputStream in) |
void |
setOrgIPAddress(java.lang.String foo) |
void |
setOrgPort(int foo) |
void |
setOutputStream(java.io.OutputStream out) |
void |
setPort(int port) |
connect, disconnect, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getSession, isClosed, isConnected, isEOF, sendChannelOpen, sendOpenConfirmation, sendOpenFailure, sendSignal, setExtOutputStream, setExtOutputStream, setInputStream, setOutputStream, setXForwarding, start
public void connect(int connectTimeout) throws JSchException
connect
在类中 Channel
JSchException
public void setInputStream(java.io.InputStream in)
setInputStream
在类中 Channel
public void setOutputStream(java.io.OutputStream out)
setOutputStream
在类中 Channel
public void setHost(java.lang.String host)
public void setPort(int port)
public void setOrgIPAddress(java.lang.String foo)
public void setOrgPort(int foo)
protected Packet genChannelOpenPacket()
genChannelOpenPacket
在类中 Channel