| Package | Description |
|---|---|
| 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.stanza.model |
Provides XML Stanzas and Stanza Errors.
|
| rocks.xmpp.core.stanza.model.client | |
| rocks.xmpp.core.stanza.model.server | |
| rocks.xmpp.extensions.sm |
Provides classes for XEP-0198: Stream Management.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SendTask<S extends Stanza>
A send task is the result of a send action and allows to keep track of the sent stanza.
|
| Modifier and Type | Method and Description |
|---|---|
Queue<Stanza> |
XmppSession.getUnacknowledgedStanzas() |
| Modifier and Type | Method and Description |
|---|---|
void |
XmppSession.markAcknowledged(Stanza acknowledgedStanza) |
| Modifier and Type | Method and Description |
|---|---|
Stanza |
StanzaException.getStanza()
Gets the stanza, which includes the error.
|
| Constructor and Description |
|---|
StanzaException(Stanza stanza)
Constructs a stanza exception.
|
| Modifier and Type | Class and Description |
|---|---|
class |
IQ
The implementation of the
<iq/> stanza. |
class |
Message
The implementation of the
<message/> element. |
class |
Presence
The implementation of the
<presence/> element. |
| Modifier and Type | Method and Description |
|---|---|
abstract Stanza |
Stanza.createError(Condition condition)
Creates an error response for this stanza.
|
abstract Stanza |
Stanza.createError(StanzaError error)
Creates an error response for this stanza.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClientIQ
The implementation of the
<iq/> element in the jabber:client namespace. |
class |
ClientMessage
The implementation of the
<message/> element in the jabber:client namespace. |
class |
ClientPresence
The implementation of the
<presence/> element in the jabber:client namespace. |
| Modifier and Type | Class and Description |
|---|---|
class |
ServerIQ
The implementation of the
<iq/> element in the jabber:server namespace. |
class |
ServerMessage
The implementation of the
<message/> element in the jabber:server namespace. |
class |
ServerPresence
The implementation of the
<presence/> element in the jabber:server namespace. |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<Stanza> |
RequestStrategies.forEachMessage()
Requests an ack for each message.
|
static Predicate<Stanza> |
RequestStrategies.forEachMessageOrEveryXStanzas(int x)
Requests an acknowledgement for each message and at the latest after X non-message stanzas (presence or IQ).
|
static Predicate<Stanza> |
RequestStrategies.forEveryXStanzas(int x)
Requests an ack for every X stanzas.
|
Predicate<Stanza> |
StreamManager.getRequestStrategy()
Gets the request strategy.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManager.markUnacknowledged(Stanza stanza)
Marks a stanza as unacknowledged.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StreamManager.setRequestStrategy(Predicate<Stanza> requestStrategy)
Sets the request strategy.
|
Copyright © 2014–2016 XMPP.rocks. All rights reserved.