Package | Description |
---|---|
rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
Modifier and Type | Method and Description |
---|---|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.authenticationMechanisms(java.lang.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(java.nio.file.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.closeOnShutdown(boolean closeOnShutdown)
Indicates whether the XMPP session is closed, when the JVM is shut down.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.debugger(java.lang.Class<? extends XmppDebugger> xmppDebugger)
Sets the debugger.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.defaultResponseTimeout(java.time.Duration 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(java.util.function.Supplier<Presence> presenceSupplier)
Sets a supplier for initial presence which is sent during login.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.language(java.util.Locale language)
Sets the preferred or default language for any human-readable XML character data to be sent over the stream.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.nameServer(java.lang.String nameServer)
Sets the name server used for resolving DNS SRV and TXT records during connecting.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.reconnectionStrategy(ReconnectionStrategy reconnectionStrategy)
Sets the reconnection strategy, which determined when to reconnect after a disconnection.
|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.threadFactory(java.util.concurrent.ThreadFactory threadFactory)
Sets a custom thread factory.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.