public interface SimpleSessionClient extends SimpleClientConfigurator, Channel
DEFAULT_AUTHENTICATION_TIMEOUT, DEFAULT_CONNECT_TIMEOUT, DEFAULT_PORT| Modifier and Type | Method and Description |
|---|---|
default ClientSession |
sessionLogin(InetAddress host,
int port,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
default ClientSession |
sessionLogin(InetAddress host,
int port,
String username,
String password)
Creates a session and logs in using the provided credentials
|
default ClientSession |
sessionLogin(InetAddress host,
String username,
KeyPair identity)
Creates a session on the default port and logs in using the provided credentials
|
default ClientSession |
sessionLogin(InetAddress host,
String username,
String password)
Creates a session on the default port and logs in using the provided credentials
|
ClientSession |
sessionLogin(SocketAddress target,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
ClientSession |
sessionLogin(SocketAddress target,
String username,
String password)
Creates a session and logs in using the provided credentials
|
default ClientSession |
sessionLogin(String host,
int port,
String username,
KeyPair identity)
Creates a session and logs in using the provided credentials
|
default ClientSession |
sessionLogin(String host,
int port,
String username,
String password)
Creates a session and logs in using the provided credentials
|
default ClientSession |
sessionLogin(String host,
String username,
KeyPair identity)
Creates a session on the default port and logs in using the provided credentials
|
default ClientSession |
sessionLogin(String host,
String username,
String password)
Creates a session on the default port and logs in using the provided credentials
|
getAuthenticationTimeout, getConnectTimeout, setAuthenticationTimeout, setConnectTimeoutdefault ClientSession sessionLogin(String host, String username, String password) throws IOException
host - The target host name or addressusername - Usernamepassword - PasswordClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(String host, int port, String username, String password) throws IOException
host - The target host name or addressport - The target portusername - Usernamepassword - PasswordClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(String host, String username, KeyPair identity) throws IOException
host - The target host name or addressusername - Usernameidentity - The KeyPair identityClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(String host, int port, String username, KeyPair identity) throws IOException
host - The target host name or addressport - The target portusername - Usernameidentity - The KeyPair identityClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(InetAddress host, String username, String password) throws IOException
host - The target host InetAddressusername - Usernamepassword - PasswordClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(InetAddress host, int port, String username, String password) throws IOException
host - The target host InetAddressport - The target portusername - Usernamepassword - PasswordClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(InetAddress host, String username, KeyPair identity) throws IOException
host - The target host InetAddressusername - Usernameidentity - The KeyPair identityClientSessionIOException - If failed to login or authenticatedefault ClientSession sessionLogin(InetAddress host, int port, String username, KeyPair identity) throws IOException
host - The target host InetAddressport - The target portusername - Usernameidentity - The KeyPair identityClientSessionIOException - If failed to login or authenticateClientSession sessionLogin(SocketAddress target, String username, String password) throws IOException
target - The target SocketAddressusername - Usernamepassword - PasswordClientSessionIOException - If failed to login or authenticateClientSession sessionLogin(SocketAddress target, String username, KeyPair identity) throws IOException
target - The target SocketAddressusername - Usernameidentity - The KeyPair identityClientSessionIOException - If failed to login or authenticateCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.