com.jcraft.jsch
Class ChannelSubsystem
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelSubsystem
- All Implemented Interfaces:
- java.lang.Runnable
public class ChannelSubsystem
- extends Channel
Methods inherited from class com.jcraft.jsch.Channel |
connect, connect, disconnect, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getSession, isClosed, isConnected, isEOF, sendOpenConfirmation, sendOpenFailure, sendSignal, setExtOutputStream, setExtOutputStream, setInputStream, setInputStream, setOutputStream, setOutputStream |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
agent_forwarding
protected boolean agent_forwarding
env
protected java.util.Hashtable env
ttype
protected java.lang.String ttype
tcol
protected int tcol
trow
protected int trow
twp
protected int twp
thp
protected int thp
terminal_mode
protected byte[] terminal_mode
ChannelSubsystem
public ChannelSubsystem()
setXForwarding
public void setXForwarding(boolean foo)
setPty
public void setPty(boolean foo)
setWantReply
public void setWantReply(boolean foo)
setSubsystem
public void setSubsystem(java.lang.String foo)
start
public void start()
throws JSchException
- Overrides:
start
in class Channel
- Throws:
JSchException
init
public void init()
setErrStream
public void setErrStream(java.io.OutputStream out)
getErrStream
public java.io.InputStream getErrStream()
throws java.io.IOException
- Throws:
java.io.IOException
setAgentForwarding
public void setAgentForwarding(boolean enable)
setEnv
public void setEnv(java.util.Hashtable env)
setTerminalMode
public void setTerminalMode(byte[] terminal_mode)
setPtySize
public void setPtySize(int col,
int row,
int wp,
int hp)
setPtyType
public void setPtyType(java.lang.String ttype)
setPtyType
public void setPtyType(java.lang.String ttype,
int col,
int row,
int wp,
int hp)
sendRequests
protected void sendRequests()
throws java.lang.Exception
- Throws:
java.lang.Exception
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class Channel