| 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.im.subscription |
Provides classes for Managing Presence Subscriptions.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
XmppSession.sendAndAwaitPresence(StreamElement stanza,
Predicate<Presence> filter)
Sends a stanza and then waits for a presence stanza to arrive.
|
| Modifier and Type | Method and Description |
|---|---|
Supplier<Presence> |
XmppSessionConfiguration.getInitialPresence()
Gets a supplier for initial presence which is sent during login.
|
| Modifier and Type | Method and Description |
|---|---|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.initialPresence(Supplier<Presence> presenceSupplier)
Sets a supplier for initial presence which is sent during login.
|
Presence |
XmppSession.sendAndAwaitPresence(StreamElement stanza,
Predicate<Presence> filter)
Sends a stanza and then waits for a presence stanza to arrive.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
PresenceEvent.getPresence()
Gets the presence.
|
| Constructor and Description |
|---|
PresenceEvent(Object source,
Presence presence,
boolean inbound)
Constructs a presence event.
|
| Modifier and Type | Method and Description |
|---|---|
Presence |
Presence.createError(Condition condition) |
Presence |
Presence.createError(StanzaError error) |
| Modifier and Type | Method and Description |
|---|---|
int |
Presence.compareTo(Presence o) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClientPresence
The implementation of the
<presence/> element in the jabber:client namespace. |
| Modifier and Type | Method and Description |
|---|---|
static ClientPresence |
ClientPresence.from(Presence p)
Creates a presence for the
jabber:client namespace from a generic presence. |
| Modifier and Type | Class and Description |
|---|---|
class |
ServerPresence
The implementation of the
<presence/> element in the jabber:server namespace. |
| Modifier and Type | Method and Description |
|---|---|
static ServerPresence |
ServerPresence.from(Presence p)
Creates a presence for the
jabber:server namespace from a generic presence. |
| Modifier and Type | Method and Description |
|---|---|
Presence |
PresenceManager.getLastSentPresence()
Gets the last sent (non-directed) presence, that has been broadcast by the server.
|
Presence |
PresenceManager.getPresence(Jid jid)
Gets the presence for a given contact.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Presence> |
PresenceManager.getLastSentPresences()
Gets the last sent presences, that have been sent, including directed presences.
|
Copyright © 2014–2015 XMPP.rocks. All rights reserved.