public static final class BoshConnectionConfiguration.Builder extends ConnectionConfiguration.Builder<BoshConnectionConfiguration.Builder>
BoshConnectionConfiguration instance.| Modifier and Type | Method and Description |
|---|---|
BoshConnectionConfiguration |
build()
Builds the connection configuration.
|
BoshConnectionConfiguration.Builder |
file(String file)
Sets the file on the host, e.g.
|
BoshConnectionConfiguration.Builder |
route(String route)
Sets the route, formatted as "protocol:host:port" (e.g., "xmpp:example.com:9999").
|
BoshConnectionConfiguration.Builder |
useKeySequence(boolean useKeySequence)
Indicates whether a key sequencing mechanism is used to secure a connection.
|
BoshConnectionConfiguration.Builder |
wait(int wait)
Sets the longest time (in seconds) that the connection manager is allowed to wait before responding to any request during the session.
|
compressionMethods, connectTimeout, hostname, hostnameVerifier, port, proxy, secure, sslContextpublic BoshConnectionConfiguration.Builder file(String file)
file - The file on the host.public BoshConnectionConfiguration.Builder wait(int wait)
wait - The time in seconds.public BoshConnectionConfiguration.Builder route(String route)
route - The route.public BoshConnectionConfiguration.Builder useKeySequence(boolean useKeySequence)
useKeySequence - If a key sequence should be used.public BoshConnectionConfiguration build()
ConnectionConfiguration.Builderbuild in class ConnectionConfiguration.Builder<BoshConnectionConfiguration.Builder>Copyright © 2014–2015 XMPP.rocks. All rights reserved.