Uses of Class
rocks.xmpp.core.stanza.model.Presence
-
Packages that use Presence 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. -
-
Uses of Presence in rocks.xmpp.core.session
Methods in rocks.xmpp.core.session that return types with arguments of type Presence Modifier and Type Method Description Supplier<Presence>
XmppSessionConfiguration. getInitialPresence()
Gets a supplier for initial presence which is sent during login.AsyncResult<Presence>
XmppSession. sendAndAwaitPresence(Presence stanza, 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.Methods in rocks.xmpp.core.session with parameters of type Presence Modifier and Type Method Description AsyncResult<Presence>
XmppSession. sendAndAwaitPresence(Presence stanza, 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.Method parameters in rocks.xmpp.core.session with type arguments of type Presence Modifier and Type Method Description XmppSessionConfiguration.Builder
XmppSessionConfiguration.Builder. initialPresence(Supplier<Presence> presenceSupplier)
Sets a supplier for initial presence which is sent during login.AsyncResult<Presence>
XmppSession. sendAndAwaitPresence(Presence stanza, Predicate<Presence> filter)
Sends a stanza and returns an async result which can wait for the presence stanza, which matches the predicate, to arrive. -
Uses of Presence in rocks.xmpp.core.stanza
Methods in rocks.xmpp.core.stanza that return Presence Modifier and Type Method Description Presence
PresenceEvent. getPresence()
Gets the presence.Constructors in rocks.xmpp.core.stanza with parameters of type Presence Constructor Description PresenceEvent(Object source, Presence presence, boolean inbound)
Constructs a presence event. -
Uses of Presence in rocks.xmpp.core.stanza.model
Methods in rocks.xmpp.core.stanza.model that return Presence Modifier and Type Method Description Presence
Presence. createError(Condition condition)
Presence
Presence. createError(StanzaError error)
Methods in rocks.xmpp.core.stanza.model with parameters of type Presence Modifier and Type Method Description int
Presence. compareTo(Presence o)
-
Uses of Presence in rocks.xmpp.core.stanza.model.client
Subclasses of Presence in rocks.xmpp.core.stanza.model.client Modifier and Type Class Description class
ClientPresence
The implementation of the<presence/>
element in thejabber:client
namespace.Methods in rocks.xmpp.core.stanza.model.client with parameters of type Presence Modifier and Type Method Description static ClientPresence
ClientPresence. from(Presence p)
Creates a presence for thejabber:client
namespace from a generic presence. -
Uses of Presence in rocks.xmpp.core.stanza.model.server
Subclasses of Presence in rocks.xmpp.core.stanza.model.server Modifier and Type Class Description class
ServerPresence
The implementation of the<presence/>
element in thejabber:server
namespace.Methods in rocks.xmpp.core.stanza.model.server with parameters of type Presence Modifier and Type Method Description static ServerPresence
ServerPresence. from(Presence p)
Creates a presence for thejabber:server
namespace from a generic presence. -
Uses of Presence in rocks.xmpp.extensions.component.accept.model
Subclasses of Presence in rocks.xmpp.extensions.component.accept.model Modifier and Type Class Description class
ComponentPresence
The implementation of the<presence/>
element in thejabber:component:accept
namespace.Methods in rocks.xmpp.extensions.component.accept.model with parameters of type Presence Modifier and Type Method Description static ComponentPresence
ComponentPresence. from(Presence p)
Creates a presence for thejabber:client
namespace from a generic presence. -
Uses of Presence in rocks.xmpp.extensions.idle.model
Methods in rocks.xmpp.extensions.idle.model with parameters of type Presence Modifier and Type Method Description static Instant
Idle. timeFromPresence(Presence presence)
Extracts the idle time from a presence. -
Uses of Presence in rocks.xmpp.extensions.muc
Methods in rocks.xmpp.extensions.muc that return Presence Modifier and Type Method Description Presence
Occupant. getPresence()
Gets the current presence of this occupant.Methods in rocks.xmpp.extensions.muc that return types with arguments of type Presence Modifier and Type Method Description AsyncResult<Presence>
ChatRoom. changeNickname(String newNickname)
Changes the nickname.AsyncResult<Presence>
ChatRoom. enter(String nick)
Enters the room.AsyncResult<Presence>
ChatRoom. enter(String nick, String password)
Enters the room with a password.AsyncResult<Presence>
ChatRoom. enter(String nick, String password, DiscussionHistory history)
Enters the room with a password and requests history messages.AsyncResult<Presence>
ChatRoom. enter(String nick, DiscussionHistory history)
Enters the room and requests history messages. -
Uses of Presence in rocks.xmpp.im.subscription
Methods in rocks.xmpp.im.subscription that return Presence Modifier and Type Method 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.Methods in rocks.xmpp.im.subscription that return types with arguments of type Presence Modifier and Type Method Description Collection<Presence>
PresenceManager. getLastSentPresences()
Gets the last sent presences, that have been sent, including directed presences.
-