|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sshtools.ant.SshSubTask
com.sshtools.ant.Ssh.Shell
| Nested Class Summary | |
class |
Ssh.Shell.Read
|
class |
Ssh.Shell.Write
|
| Field Summary | |
protected SessionOutputReader |
output
|
| Fields inherited from class com.sshtools.ant.SshSubTask |
parent, taskString |
| Fields inherited from interface com.sshtools.j2ssh.session.PseudoTerminal |
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 Summary | |
Ssh.Shell()
|
|
| Method Summary | |
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()
DOCUMENT ME! |
java.lang.String |
getEncodedTerminalModes()
DOCUMENT ME! |
int |
getHeight()
DOCUMENT ME! |
int |
getRows()
DOCUMENT ME! |
java.lang.String |
getTerm()
PseduoTermainal interface |
int |
getWidth()
DOCUMENT ME! |
protected void |
performTasks(SessionChannelClient session)
|
void |
setCols(int cols)
|
void |
setRows(int rows)
|
void |
setTerm(java.lang.String term)
|
protected void |
validate()
|
| Methods inherited from class com.sshtools.ant.SshSubTask |
log, log, setParent |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected SessionOutputReader output
| Constructor Detail |
public Ssh.Shell()
| Method Detail |
public void execute(SshClient ssh)
throws org.apache.tools.ant.BuildException
execute in class SshSubTaskorg.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.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()
PseudoTerminal
getColumns in interface PseudoTerminalpublic int getRows()
PseudoTerminal
getRows in interface PseudoTerminalpublic int getWidth()
PseudoTerminal
getWidth in interface PseudoTerminalpublic int getHeight()
PseudoTerminal
getHeight in interface PseudoTerminalpublic java.lang.String getEncodedTerminalModes()
PseudoTerminal
getEncodedTerminalModes in interface PseudoTerminalpublic Ssh.Shell.Write createWrite()
public Ssh.Shell.Read createRead()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||