|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.stc.eways.batchext.SSHClient
public class SSHClient
This class is used to fork an SSH client process with the port forwarding feature. Once the SSH secure channel is established, the Batch e*Way's FTP component can tunnel its command connection through this secure SSH channel. This SSH channel is kept alive until or unless the e*Way is shut down.
| Constructor Summary | |
|---|---|
SSHClient(SSHConfiguration sshConfig)
Constructor. |
|
| Method Summary | |
|---|---|
boolean |
isLaunched()
This method allows you to verify that the SSH sub-process is available. |
void |
launch()
Launches an SSH sub-process. |
static void |
main(java.lang.String[] args)
Used to do stand-alone testing. |
void |
terminate()
Terminates an SSH sub-process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSHClient(SSHConfiguration sshConfig)
throws SSHException
sshConfig - An SSHConfiguration instance.
SSHException - If some error occurs.| Method Detail |
|---|
public static void main(java.lang.String[] args)
args - Command line parameters.
java.lang.Exception - If some error occurs.
public void launch()
throws SSHException
SSHException - If some error occurs.public void terminate()
public boolean isLaunched()
|
Sun Adapter for Batch/FTP | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||