com.jcraft.jsch
Class ChannelShell

java.lang.Object
  extended by com.jcraft.jsch.Channel
      extended by com.jcraft.jsch.ChannelShell
All Implemented Interfaces:
java.lang.Runnable

public class ChannelShell
extends Channel


Field Summary
protected  boolean agent_forwarding
           
protected  java.util.Hashtable env
           
protected  boolean pty
           
protected  int tcol
           
protected  byte[] terminal_mode
           
protected  int thp
           
protected  int trow
           
protected  java.lang.String ttype
           
protected  int twp
           
protected  boolean xforwading
           
 
Method Summary
 void init()
           
 void run()
           
protected  void sendRequests()
           
 void setAgentForwarding(boolean enable)
           
 void setEnv(java.util.Hashtable env)
           
 void setPty(boolean enable)
           
 void setPtySize(int col, int row, int wp, int hp)
           
 void setPtyType(java.lang.String ttype)
           
 void setPtyType(java.lang.String ttype, int col, int row, int wp, int hp)
           
 void setTerminalMode(byte[] terminal_mode)
           
 void setXForwarding(boolean enable)
           
 void start()
           
 
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
 

Field Detail

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
Method Detail

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