Modifier and Type | Class and Description |
---|---|
class |
ConnectionImpl
Implementation class for connections to Rhino.
|
Modifier and Type | Method and Description |
---|---|
static RhinoConnection |
RhinoConnectionFactory.connect(File propertiesFile)
Create a Rhino client using connection properties in the given properties file.
|
static RhinoConnection |
RhinoConnectionFactory.connect(Properties properties)
Create a Rhino client using connection properties in the given properties object.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String[] servers,
String username,
String password)
Create a Rhino client that will attempt connections to the given servers in the order specified, and authenticate using the given username and password.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String[] servers,
String username,
String password,
Properties sslProps)
Deprecated.
Initialise SSL properties by calling
RhinoConnectionFactory.setRhinoSslProperties(java.util.Properties) (only once) then use connect methods on this class that do not take SSL properties as an argument.
Please note that the setRhinoSslProperties method requires a different set of SSL properties than that used by this method. |
static RhinoConnection |
RhinoConnectionFactory.connect(String host,
int port,
String username,
String password)
Create a Rhino client that will connect to the given host and port, and authenticate using the given username and password.
|
static RhinoConnection |
RhinoConnectionFactory.connect(String host,
int port,
String username,
String password,
Properties sslProps)
Deprecated.
Initialise SSL properties by calling
RhinoConnectionFactory.setRhinoSslProperties(java.util.Properties) (only once) then use connect methods on this class that do not take SSL properties as an argument.
Please note that the setRhinoSslProperties method requires a different set of SSL properties than that used by this method. |
static RhinoConnection |
RhinoConnectionFactory.connect(String serverList,
String username,
String password)
Create a Rhino client that will attempt connections to the given hosts and ports in the order specified, and authenticate using the given username and password.
|