public class Ssh.Shell extends SshSubTask implements PseudoTerminal
Modifier and Type | Class and Description |
---|---|
class |
Ssh.Shell.Read |
class |
Ssh.Shell.Write |
Modifier and Type | Field and Description |
---|---|
protected SessionOutputReader |
output |
parent, taskString
CS7, CS8, ECHO, ECHOCTL, ECHOE, ECHOK, ECHOKE, ECHONL, ICANON, ICRNL, IEXTEN, IGNCR, IGNPAR, IMAXBEL, INLCR, INPCK, ISIG, ISTRIP, IUCLC, IXANY, IXOFF, IXON, NOFLSH, OCRNL, OLCUC, ONLCR, ONLRET, ONOCR, OPOST, PARENB, PARMRK, PARODD, PENDIN, TOSTOP, TTY_OP_END, TTY_OP_ISPEED, TTY_OP_OSPEED, VDISCARD, VDSUSP, VEOF, VEOL, VEOL2, VERASE, VFLUSH, VINTR, VKILL, VLNEXT, VQUIT, VREPRINT, VSTART, VSTATUS, VSTOP, VSUSP, VSWTCH, VWERASE, XCASE
Constructor and Description |
---|
Shell() |
Modifier and Type | Method and Description |
---|---|
protected void |
allocatePseudoTerminal(SessionChannelClient session) |
Ssh.Shell.Read |
createRead() |
Ssh.Shell.Write |
createWrite()
Reading/Writing to the session/command
|
void |
execute(SshClient ssh) |
int |
getColumns() |
java.lang.String |
getEncodedTerminalModes() |
int |
getHeight() |
int |
getRows() |
java.lang.String |
getTerm()
PseduoTermainal interface
|
int |
getWidth() |
protected void |
performTasks(SessionChannelClient session) |
void |
setCols(int cols) |
void |
setRows(int rows) |
void |
setTerm(java.lang.String term) |
protected void |
validate() |
log, log, setParent
protected SessionOutputReader output
public void execute(SshClient ssh) throws org.apache.tools.ant.BuildException
execute
in class SshSubTask
org.apache.tools.ant.BuildException
protected void validate() throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected void allocatePseudoTerminal(SessionChannelClient session) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
protected void performTasks(SessionChannelClient session) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
public void setTerm(java.lang.String term)
public void setCols(int cols)
public void setRows(int rows)
public java.lang.String getTerm()
getTerm
in interface PseudoTerminal
public int getColumns()
getColumns
in interface PseudoTerminal
public int getRows()
getRows
in interface PseudoTerminal
public int getWidth()
getWidth
in interface PseudoTerminal
public int getHeight()
getHeight
in interface PseudoTerminal
public java.lang.String getEncodedTerminalModes()
getEncodedTerminalModes
in interface PseudoTerminal
public Ssh.Shell.Write createWrite()
public Ssh.Shell.Read createRead()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.