|
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.SSHConfiguration
public class SSHConfiguration
This class is used to represent a given SSH client configuration.
Constructor Summary | |
---|---|
SSHConfiguration()
Constructor. |
Method Summary | |
---|---|
boolean |
getSshChannelEstablished()
Allows you to check on whether an SSH channel exists already. |
java.lang.String |
getSshCommandLine()
Gets an SSH command line. |
java.lang.String |
getSshListenHost()
Gets the name of an SSH listen host. |
int |
getSshListenPort()
Gets an SSH listen port. |
java.lang.String |
getSshPassword()
Gets an SSH encrypted password. |
boolean |
getSshTunnelingEnabled()
Allows you to check on whether the SSH feature is enabled. |
java.lang.String |
getSshUserName()
Gets an SSH user name. |
boolean |
isSshChannelEstablished()
Checks on whether an SSH channel exists already. |
boolean |
isSshTunnelingEnabled()
Checks on whether the SSH feature is enabled. |
static void |
main(java.lang.String[] args)
Used to do stand-alone testing. |
void |
setSshChannelEstablished(boolean newSshChannelEstablished)
Allows you to enable or disable the flag for "SSH Channel Established." |
void |
setSshCommandLine(java.lang.String newSshCommandLine)
Allows you to set the SSH command line. |
void |
setSshEncryptedPassword(java.lang.String newSshPassword)
Sets an sshPassword. |
void |
setSshListenHost(java.lang.String newSshListenHost)
Sets an SSH listen host. |
void |
setSshListenPort(int newSshListenPort)
Sets an SSH listen port. |
void |
setSshPassword(java.lang.String newSshPassword)
Sets an sshPassword. |
void |
setSshTunnelingEnabled(boolean newSshTunnelingEnabled)
Allows you to enable or disable the flag for "SSH Tunneling Enabled." |
void |
setSshUserName(java.lang.String newSshUserName)
Sets the SSH user name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SSHConfiguration()
Method Detail |
---|
public static void main(java.lang.String[] args)
args
- Command-line parameters.
java.lang.Exception
- If some error occurs.public java.lang.String getSshListenHost()
public int getSshListenPort()
public java.lang.String getSshPassword()
public java.lang.String getSshUserName()
public void setSshListenHost(java.lang.String newSshListenHost)
newSshListenHost
- An SSH listen host.public void setSshListenPort(int newSshListenPort)
newSshListenPort
- An SSH listen port.public void setSshPassword(java.lang.String newSshPassword)
The input for this method is a non-encrypted password. You must use another method, setSshEncryptedPassword(String password), if the input is an encrypted password.
newSshPassword
- The non-encrypted password.public void setSshEncryptedPassword(java.lang.String newSshPassword)
The input for this method is an encrypted password. You must use another method, setSshPassword(String password), if the input is a non-encrypted password.
newSshPassword
- The encrypted password.public void setSshUserName(java.lang.String newSshUserName)
newSshUserName
- The SSH user name.public java.lang.String getSshCommandLine()
public boolean isSshChannelEstablished()
public boolean isSshTunnelingEnabled()
public void setSshChannelEstablished(boolean newSshChannelEstablished)
newSshChannelEstablished
- true or false.public void setSshCommandLine(java.lang.String newSshCommandLine)
newSshCommandLine
- The SSH command line.public void setSshTunnelingEnabled(boolean newSshTunnelingEnabled)
newSshTunnelingEnabled
- true or false.public boolean getSshChannelEstablished()
public boolean getSshTunnelingEnabled()
|
Sun Adapter for Batch/FTP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |