com.jcraft.jsch
Class ChannelShell
java.lang.Object
com.jcraft.jsch.Channel
com.jcraft.jsch.ChannelShell
- All Implemented Interfaces:
- java.lang.Runnable
public class ChannelShell
- extends Channel
Methods inherited from class com.jcraft.jsch.Channel |
connect, connect, disconnect, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getSession, isClosed, isConnected, isEOF, 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
xforwading
protected boolean xforwading
env
protected java.util.Hashtable env
ChannelShell
public ChannelShell()
setPty
public void setPty(boolean enable)
setTerminalMode
public void setTerminalMode(byte[] terminal_mode)
start
public void start()
throws JSchException
- Overrides:
start
in class Channel
- Throws:
JSchException
init
public void init()
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)
setAgentForwarding
public void setAgentForwarding(boolean enable)
setXForwarding
public void setXForwarding(boolean enable)
- Overrides:
setXForwarding
in class Channel
setEnv
public void setEnv(java.util.Hashtable env)
run
public void run()
- Specified by:
run
in interface java.lang.Runnable
- Overrides:
run
in class Channel