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.component.accept.model |
Provides XML schema implementations of XEP-0050: Ad-Hoc Commands.
|
rocks.xmpp.extensions.delay.model |
Provides XML schema implementations of XEP-0203: Delayed Delivery.
|
rocks.xmpp.extensions.forward.model |
Provides XML schema implementations of XEP-0297: Stanza Forwarding.
|
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 |
---|---|
java.util.Queue<Stanza> |
XmppSession.getUnacknowledgedStanzas() |
Modifier and Type | Method and Description |
---|---|
void |
XmppSession.markAcknowledged(Stanza acknowledgedStanza)
Marks a stanza as acknowledged.
|
Modifier and Type | Method and Description |
---|---|
Stanza |
StanzaException.getStanza()
Deprecated.
Gets the stanza, which includes the error.
|
Constructor and Description |
---|
StanzaException(Stanza stanza)
Deprecated.
Constructs a stanza exception.
|
Modifier and Type | Class and Description |
---|---|
class |
ExtensibleStanza
A stanza which is extensible (can have more than one extension), i.e.
|
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 | Method and Description |
---|---|
static boolean |
Stanza.isToItselfOrServer(Stanza stanza,
java.lang.CharSequence domain,
Jid connectedResource)
Checks if a stanza is addressed either to itself or to the server.
|
Constructor and Description |
---|
StanzaErrorException(Stanza stanza)
Constructs a stanza exception.
|
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 | Class and Description |
---|---|
class |
ComponentIQ
The implementation of the
<iq/> element in the jabber:component:accept namespace. |
class |
ComponentMessage
The implementation of the
<message/> element in the jabber:component:accept namespace. |
class |
ComponentPresence
The implementation of the
<presence/> element in the jabber:component:accept namespace. |
Modifier and Type | Method and Description |
---|---|
static java.time.Instant |
DelayedDelivery.sendDate(Stanza stanza)
Gets the original send date of a stanza, i.e.
|
Modifier and Type | Method and Description |
---|---|
Stanza |
Forwarded.getStanza()
Gets the forwarded stanza.
|
Constructor and Description |
---|
Forwarded(Stanza stanza)
Creates a forwarded element.
|
Forwarded(Stanza stanza,
DelayedDelivery delayedDelivery)
Creates a forwarded element.
|
Modifier and Type | Method and Description |
---|---|
static java.util.function.Predicate<Stanza> |
RequestStrategies.forEachMessage()
Requests an ack for each message.
|
static java.util.function.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 java.util.function.Predicate<Stanza> |
RequestStrategies.forEveryXStanzas(int x)
Requests an ack for every X stanzas.
|
java.util.function.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(java.util.function.Predicate<Stanza> requestStrategy)
Sets the request strategy.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.