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, 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
xforwading
protected boolean xforwading
env
protected java.util.Hashtable env
pty
protected boolean pty
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
start
public void start()
throws JSchException
- Overrides:
start
in class Channel
- Throws:
JSchException
init
public void init()
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)
setPty
public void setPty(boolean enable)
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