public final class BoshConnectionConfiguration extends ConnectionConfiguration
BoshConnection| Modifier and Type | Class and Description |
|---|---|
static class |
BoshConnectionConfiguration.Builder
A builder to create a
BoshConnectionConfiguration instance. |
| Modifier and Type | Method and Description |
|---|---|
static BoshConnectionConfiguration.Builder |
builder()
Creates a new builder.
|
Connection |
createConnection(XmppSession xmppSession)
A factory method to create the connection.
|
static BoshConnectionConfiguration |
getDefault()
Gets the default configuration.
|
String |
getFile()
Gets the file on the host, e.g.
|
String |
getRoute()
Gets the route.
|
int |
getWait()
Gets the longest time (in seconds) that the connection manager is allowed to wait before responding to any request during the session.
|
static void |
setDefault(BoshConnectionConfiguration configuration)
Sets the default configuration.
|
getHostname, getHostnameVerifier, getPort, getProxy, getSSLContext, isSecurepublic static BoshConnectionConfiguration getDefault()
public static void setDefault(BoshConnectionConfiguration configuration)
configuration - The default configuration.public static BoshConnectionConfiguration.Builder builder()
public Connection createConnection(XmppSession xmppSession)
ConnectionConfigurationcreateConnection in class ConnectionConfigurationxmppSession - The XMPP session, which is associated with the connection.public int getWait()
public String getFile()
public String getRoute()
Copyright © 2014 XMPP.rocks. All rights reserved.