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.BuilderXmppSessionConfiguration.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 PresencePresenceEvent. 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 PresencePresence. createError(Condition condition)PresencePresence. createError(StanzaError error)Methods in rocks.xmpp.core.stanza.model with parameters of type Presence Modifier and Type Method Description intPresence. 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 classClientPresenceThe implementation of the<presence/>element in thejabber:clientnamespace.Methods in rocks.xmpp.core.stanza.model.client with parameters of type Presence Modifier and Type Method Description static ClientPresenceClientPresence. from(Presence p)Creates a presence for thejabber:clientnamespace 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 classServerPresenceThe implementation of the<presence/>element in thejabber:servernamespace.Methods in rocks.xmpp.core.stanza.model.server with parameters of type Presence Modifier and Type Method Description static ServerPresenceServerPresence. from(Presence p)Creates a presence for thejabber:servernamespace 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 classComponentPresenceThe implementation of the<presence/>element in thejabber:component:acceptnamespace.Methods in rocks.xmpp.extensions.component.accept.model with parameters of type Presence Modifier and Type Method Description static ComponentPresenceComponentPresence. from(Presence p)Creates a presence for thejabber:clientnamespace 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 InstantIdle. 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 PresenceOccupant. 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 PresencePresenceManager. getLastSentPresence()Gets the last sent (non-directed) presence, that has been broadcast by the server.PresencePresenceManager. 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.
-