public abstract class ConnectionConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectionConfiguration.Builder<T extends ConnectionConfiguration.Builder<T>>
An abstract builder class for building immutable configuration objects.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ConnectionConfiguration(ConnectionConfiguration.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
abstract Connection |
createConnection(XmppSession xmppSession)
A factory method to create the connection.
|
String |
getHostname()
Gets the hostname.
|
HostnameVerifier |
getHostnameVerifier()
Gets the hostname verifier.
|
int |
getPort()
Gets the port.
|
Proxy |
getProxy()
Gets the proxy.
|
SSLContext |
getSSLContext()
Gets the SSL context.
|
boolean |
isSecure()
Indicates whether the connection is secured by SSL.
|
protected ConnectionConfiguration(ConnectionConfiguration.Builder builder)
public abstract Connection createConnection(XmppSession xmppSession)
xmppSession - The XMPP session, which is associated with the connection.public final String getHostname()
public final int getPort()
public final Proxy getProxy()
public boolean isSecure()
public final SSLContext getSSLContext()
public HostnameVerifier getHostnameVerifier()
Copyright © 2014 XMPP.rocks. All rights reserved.