public final class XmppSessionConfiguration extends Object
XmppSession.
Most importantly it allows you to introduce custom extensions to your XmppSession, simply by passing your JAXB annotated classes to the constructor of this class
and then use this configuration for the session.
XmppSession.XmppSession(String, XmppSessionConfiguration, ConnectionConfiguration...)| Modifier and Type | Class and Description |
|---|---|
static class |
XmppSessionConfiguration.Builder
A builder to create an
XmppSessionConfiguration instance. |
| Modifier and Type | Method and Description |
|---|---|
static XmppSessionConfiguration.Builder |
builder()
Creates a builder for this class.
|
XmppDebugger |
getDebugger()
Gets the current debugger for this session.
|
static XmppSessionConfiguration |
getDefault()
Gets the default configuration.
|
int |
getDefaultResponseTimeout()
Gets the response timeout.
|
static void |
setDefault(XmppSessionConfiguration configuration)
Sets the default configuration.
|
public static XmppSessionConfiguration getDefault()
public static void setDefault(XmppSessionConfiguration configuration)
configuration - The default configuration.public static XmppSessionConfiguration.Builder builder()
public final XmppDebugger getDebugger()
ConsoleDebugger.public int getDefaultResponseTimeout()
Copyright © 2014 XMPP.rocks. All rights reserved.