| Package | Description |
|---|---|
| rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
| Modifier and Type | Method and Description |
|---|---|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.authenticationMechanisms(String... authenticationMechanisms)
Sets the preferred mechanisms used for this XMPP session.
|
static XmppSessionConfiguration.Builder |
XmppSessionConfiguration.builder()
Creates a builder for this class.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.cacheDirectory(Path path)
Sets the caching directory for directory-based caches used for:
XEP-0084: User Avatar
XEP-0115: Entity Capabilities
XEP-0153: vCard-Based Avatars
If you want to disable the use of directory caching, pass null.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.context(CoreContext context)
Deprecated.
Use
extensions(Extension...) in order to add custom extensions. |
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.debugger(Class<? extends XmppDebugger> xmppDebugger)
Sets the debugger.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.defaultResponseTimeout(int defaultResponseTimeout)
Sets the default response timeout for synchronous calls, usually IQ calls.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.extensions(Extension... extensions)
Adds extensions to the session.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.initialPresence(Supplier<Presence> presenceSupplier)
Sets a supplier for initial presence which is sent during login.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.