com.jcraft.jsch

Class ChannelShell

Implemented Interfaces:
Runnable

public class ChannelShell
extends com.jcraft.jsch.ChannelSession

Field Summary

Fields inherited from class com.jcraft.jsch.ChannelSession

agent_forwarding, env, xforwading

Method Summary

void
init()
void
setPty(boolean enable)
void
setPtySize(int col, int row, int wp, int hp)
void
setPtyType(String ttype)
void
setPtyType(String ttype, int col, int row, int wp, int hp)
void
setTerminalMode(byte[] terminal_mode)
void
start()

Methods inherited from class com.jcraft.jsch.ChannelSession

run, setAgentForwarding, setEnv, setXForwarding

Methods inherited from class com.jcraft.jsch.Channel

connect, connect, disconnect, getExitStatus, getExtInputStream, getId, getInputStream, getOutputStream, getSession, isClosed, isConnected, isEOF, run, sendOpenConfirmation, sendOpenFailure, sendSignal, setExtOutputStream, setExtOutputStream, setInputStream, setInputStream, setOutputStream, setOutputStream, setXForwarding, start

Method Details

init

public void init()

setPty

public void setPty(boolean enable)

setPtySize

public void setPtySize(int col,
                       int row,
                       int wp,
                       int hp)

setPtyType

public void setPtyType(String ttype)

setPtyType

public void setPtyType(String ttype,
                       int col,
                       int row,
                       int wp,
                       int hp)

setTerminalMode

public void setTerminalMode(byte[] terminal_mode)

start

public void start()
            throws JSchException
Overrides:
start in interface Channel