|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mindbright.ssh.SSHClientUserAdaptor
com.mindbright.ssh.SSHConsoleClient
com.foxsmart.ic.net.MindTermSshConsoleClient
public class MindTermSshConsoleClient
Extends the standard Mindterm SSH Console Client by adding a shellWithException method.
| Field Summary |
|---|
| Fields inherited from class com.mindbright.ssh.SSHConsoleClient |
|---|
client, DEFAULT_COPY_BUFFER_SZ, inBottom, inTop, proxyUser, sshHost, stderr, stdin, stdout |
| Fields inherited from class com.mindbright.ssh.SSHClientUserAdaptor |
|---|
interactor, sshPort |
| Constructor Summary | |
|---|---|
MindTermSshConsoleClient(java.lang.String sshHost,
int port,
com.mindbright.ssh.SSHAuthenticator authenticator,
com.mindbright.ssh.SSHInteractor interactor)
Construct a MindTermSshConsoleCLient. |
|
MindTermSshConsoleClient(java.lang.String sshHost,
int port,
com.mindbright.ssh.SSHAuthenticator authenticator,
com.mindbright.ssh.SSHInteractor interactor,
int bufferSize)
Construct a MindTermSshConsoleCLient. |
|
| Method Summary | |
|---|---|
boolean |
shellWithException()
This method performs the same functionality as the shell method although this one throws the original exception rather than eating the exception and returning a boolean. |
| Methods inherited from class com.mindbright.ssh.SSHConsoleClient |
|---|
changeStdErr, changeStdOut, close, close, command, command, getProxyConnection, getStdIn, getStdOut, getTerminal, print, println, serverConnect, serverDisconnect, setClientUser, shell, stderrWriteString, stdoutWriteString, wantPTY |
| Methods inherited from class com.mindbright.ssh.SSHClientUserAdaptor |
|---|
getAliveInterval, getCompressionLevel, getDisplay, getInteractor, getMaxPacketSz, getSrvHost, getSrvPort, wantX11Forward |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MindTermSshConsoleClient(java.lang.String sshHost,
int port,
com.mindbright.ssh.SSHAuthenticator authenticator,
com.mindbright.ssh.SSHInteractor interactor)
throws java.io.IOException
sshHost - the SSH host.port - the port.authenticator - the authenticator.interactor - the interactor.
java.io.IOException - if any problems were encountered.
public MindTermSshConsoleClient(java.lang.String sshHost,
int port,
com.mindbright.ssh.SSHAuthenticator authenticator,
com.mindbright.ssh.SSHInteractor interactor,
int bufferSize)
throws java.io.IOException
sshHost - the SSH host.port - the port.authenticator - the authenticator.interactor - the interactor.bufferSize - the buffer size.
java.io.IOException - if any problems were encountered.| Method Detail |
|---|
public boolean shellWithException()
throws java.io.IOException
java.io.IOException - if any problems were encountered.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||