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, taskStringCS7, 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, setParentprotected SessionOutputReader output
public void execute(SshClient ssh) throws org.apache.tools.ant.BuildException
execute in class SshSubTaskorg.apache.tools.ant.BuildExceptionprotected void validate()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionprotected void allocatePseudoTerminal(SessionChannelClient session) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionprotected void performTasks(SessionChannelClient session) throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionpublic void setTerm(java.lang.String term)
public void setCols(int cols)
public void setRows(int rows)
public java.lang.String getTerm()
getTerm in interface PseudoTerminalpublic int getColumns()
getColumns in interface PseudoTerminalpublic int getRows()
getRows in interface PseudoTerminalpublic int getWidth()
getWidth in interface PseudoTerminalpublic int getHeight()
getHeight in interface PseudoTerminalpublic java.lang.String getEncodedTerminalModes()
getEncodedTerminalModes in interface PseudoTerminalpublic Ssh.Shell.Write createWrite()
public Ssh.Shell.Read createRead()
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.