public interface IRemoteConnectionHostService extends IRemoteConnection.Service
IRemoteConnection.Service.Factory| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHostname()
Obtain the hostname associated with this connection.
|
java.lang.String |
getPassphrase()
Get the pass phrase associated with this connection.
|
java.lang.String |
getPassword()
Get the password associated with this connection.
|
int |
getPort()
Obtain the port associated with this connection
|
int |
getTimeout()
Obtain the timeout used when establishing the connection.
|
java.lang.String |
getUsername()
Obtain the username associated with this connection.
|
void |
setHostname(java.lang.String hostname)
Set the hostname associated with this connection.
|
void |
setPassphrase(java.lang.String passphrase)
Set the pass phrase associated with this connection.
|
void |
setPassword(java.lang.String password)
Set the password associated with this connection.
|
void |
setPort(int port)
Set the port used for the connection.
|
void |
setTimeout(int timeout)
Set the timeout used when establishing the connection.
|
void |
setUseLoginShell(boolean useLogingShell)
Set the flag indicating a login shell should be stated for this connection.
|
void |
setUsePassword(boolean usePassword)
Set the connection to try password authentication first.
|
void |
setUsername(java.lang.String username)
Set the username associated with this connection.
|
boolean |
useLoginShell()
Obtain the flag that indicates a login shell should be started once the connection is established
|
boolean |
usePassword()
Get the value of the use password authentication flag.
|
getRemoteConnectionjava.lang.String getHostname()
int getPort()
int getTimeout()
java.lang.String getPassphrase()
java.lang.String getPassword()
boolean usePassword()
boolean useLoginShell()
java.lang.String getUsername()
void setHostname(java.lang.String hostname)
hostname - new hostname for connectionvoid setPassphrase(java.lang.String passphrase)
passphrase - void setPassword(java.lang.String password)
password - new password for connectionvoid setPort(int port)
port - new port for connectionvoid setTimeout(int timeout)
timeout - new timeout valuevoid setUseLoginShell(boolean useLogingShell)
useLogingShell - true to start a login shellvoid setUsePassword(boolean usePassword)
usePassword - use password authenticationvoid setUsername(java.lang.String username)
username - new username for connection