| Package | Description |
|---|---|
| rocks.xmpp.core.sasl |
Provides classes for SASL Negotiation (authentication).
|
| rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
| rocks.xmpp.core.stanza |
Provides classes for XML stanza management (message, presence, IQ).
|
| rocks.xmpp.core.stream |
Provides classes for XML Streams, especially Stream Negotiation.
|
| rocks.xmpp.extensions.httpbind |
Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH) and XEP-0206: XMPP Over BOSH.
|
| rocks.xmpp.util.concurrent |
Provides classes for concurrency.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationException
An exception thrown during the login process, if SASL negotiation with the XMPP server fails.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ConnectionException
Indicates a failure while connecting to the server.
|
class |
NoResponseException
This exception is thrown, when no response has been received from an XMPP entity.
|
| Modifier and Type | Method and Description |
|---|---|
void |
XmppSession.close()
Explicitly closes the session and performs a clean up of all listeners.
|
void |
XmppSession.connect()
Connects to the XMPP server.
|
abstract void |
XmppSession.connect(Jid from) |
void |
XmppClient.connect(Jid from)
Connects to the XMPP server.
|
boolean |
XmppSession.handleElement(Object element)
Handles an XMPP element.
|
byte[] |
XmppClient.login(String authorizationId,
CallbackHandler callbackHandler,
String resource)
Authenticates against the server with a custom callback handler and binds a resource.
|
byte[] |
XmppClient.login(String user,
String password)
Authenticates against the server and binds a random resource (assigned by the server).
|
byte[] |
XmppClient.login(String user,
String password,
String resource)
Authenticates against the server with username/password credential and binds a resource.
|
byte[] |
XmppClient.login(String authorizationId,
String user,
String password,
String resource)
Authenticates against the server with an authorization id and username/password credential and binds a resource.
|
byte[] |
XmppClient.loginAnonymously()
Logs in anonymously and binds a resource.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StanzaException
A stanza exception represents a stanza error.
|
| Modifier and Type | Class and Description |
|---|---|
class |
StreamErrorException
Represents a stream error.
|
class |
StreamNegotiationException
An exception which indicates a failure during stream negotiation, e.g. if TLS or SASL negotiation or compression or resource binding fails.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BoshException
A BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.
|
| Modifier and Type | Method and Description |
|---|---|
T |
AsyncResult.getResult()
Waits uninterruptibly on the result of the query and returns it.
|
T |
AsyncResult.getResult(long timeout,
TimeUnit unit)
Waits uninterruptibly on the result of the query (with a timeout) and returns it.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.