public final class RemoteFrameworkConnectionInfo extends Object
Constructor and Description |
---|
RemoteFrameworkConnectionInfo(String host,
int port,
GuardedString key)
Creates a new instance of RemoteFrameworkConnectionInfo, using a clear
(non-ssl) connection and a 60-second timeout.
|
RemoteFrameworkConnectionInfo(String host,
int port,
GuardedString key,
boolean useSSL,
List<TrustManager> trustManagers,
int timeout)
Creates a new instance of RemoteFrameworkConnectionInfo.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getHost()
Returns the host to connect to.
|
GuardedString |
getKey()
Returns the remote framework key.
|
int |
getPort()
Returns the port to connect to.
|
int |
getTimeout()
Returns the timeout (in milliseconds) to use for the connection.
|
List<TrustManager> |
getTrustManagers()
Returns the list of
TrustManager 's. to use when establishing the
connection. |
boolean |
getUseSSL()
Returns true if we are to use SSL to connect.
|
int |
hashCode() |
String |
toString() |
public RemoteFrameworkConnectionInfo(String host, int port, GuardedString key)
host
- The host to connect toport
- The port to connect tokey
- The remote framework keypublic RemoteFrameworkConnectionInfo(String host, int port, GuardedString key, boolean useSSL, List<TrustManager> trustManagers, int timeout)
host
- The host to connect toport
- The port to connect tokey
- The remote framework keyuseSSL
- Set to true if we are to connect via SSL.trustManagers
- List of TrustManager
's to use for establising the SSL
connection. May be null or empty, in which case the default
installed providers for the JVM will be used. Ignored if
'useSSL' is false.timeout
- The timeout to use (in milliseconds). A value of 0 means
infinite timeout;public String getHost()
public int getPort()
public GuardedString getKey()
public boolean getUseSSL()
public List<TrustManager> getTrustManagers()
TrustManager
's. to use when establishing the
connection.TrustManager
's.public int getTimeout()
Copyright © 2019. All rights reserved.