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.idle.model |
Provides XML schema implementations of XEP-0319: Last User Interaction in Presence.
|
rocks.xmpp.extensions.muc |
Provides classes for XEP-0045: Multi-User Chat.
|
rocks.xmpp.im.subscription |
Provides classes for Managing Presence Subscriptions.
|
Modifier and Type | Method and Description |
---|---|
java.util.function.Supplier<Presence> |
XmppSessionConfiguration.getInitialPresence()
Gets a supplier for initial presence which is sent during login.
|
AsyncResult<Presence> |
XmppSession.sendAndAwaitPresence(Presence stanza,
java.util.function.Predicate<Presence> filter)
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive.
|
SendTask<Presence> |
XmppSession.sendPresence(Presence presence)
Sends a presence.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<Presence> |
XmppSession.sendAndAwaitPresence(Presence stanza,
java.util.function.Predicate<Presence> filter)
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive.
|
SendTask<Presence> |
XmppSession.sendPresence(Presence presence)
Sends a presence.
|
Modifier and Type | Method and Description |
---|---|
XmppSessionConfiguration.Builder |
XmppSessionConfiguration.Builder.initialPresence(java.util.function.Supplier<Presence> presenceSupplier)
Sets a supplier for initial presence which is sent during login.
|
AsyncResult<Presence> |
XmppSession.sendAndAwaitPresence(Presence stanza,
java.util.function.Predicate<Presence> filter)
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive.
|
Modifier and Type | Method and Description |
---|---|
Presence |
PresenceEvent.getPresence()
Gets the presence.
|
Constructor and Description |
---|
PresenceEvent(java.lang.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 | Class and Description |
---|---|
class |
ComponentPresence
The implementation of the
<presence/> element in the jabber:component:accept namespace. |
Modifier and Type | Method and Description |
---|---|
static ComponentPresence |
ComponentPresence.from(Presence p)
Creates a presence for the
jabber:client namespace from a generic presence. |
Modifier and Type | Method and Description |
---|---|
static java.time.Instant |
Idle.timeFromPresence(Presence presence)
Extracts the idle time from a presence.
|
Modifier and Type | Method and Description |
---|---|
Presence |
Occupant.getPresence()
Gets the current presence of this occupant.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<Presence> |
ChatRoom.changeNickname(java.lang.String newNickname)
Changes the nickname.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick)
Enters the room.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
DiscussionHistory history)
Enters the room and requests history messages.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
java.lang.String password)
Enters the room with a password.
|
AsyncResult<Presence> |
ChatRoom.enter(java.lang.String nick,
java.lang.String password,
DiscussionHistory history)
Enters the room with a password and requests history messages.
|
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 |
---|---|
java.util.Collection<Presence> |
PresenceManager.getLastSentPresences()
Gets the last sent presences, that have been sent, including directed presences.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.