Class UserPresenceChangedEvent


  • public class UserPresenceChangedEvent
    extends java.lang.Object
    UserPresenceChangeEvent is local event (called on local node), which is fired when user changes presence.
    This event is local only as SessionManagerClustered will forward information to other cluster nodes that presence is changed and on that nodes this event also will be called locally, if and only if on that node is at least one XMPPResouceConnection for same bare jid as client which changed presence.
    Author:
    andrzej
    • Constructor Detail

      • UserPresenceChangedEvent

        public UserPresenceChangedEvent​(XMPPSession session,
                                        Packet presence)
    • Method Detail

      • getPresence

        public Packet getPresence()