Class UserPresenceChangedEvent

java.lang.Object
tigase.server.xmppsession.UserPresenceChangedEvent
All Implemented Interfaces:
EventBusEvent

public class UserPresenceChangedEvent extends Object implements EventBusEvent
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 Details

    • UserPresenceChangedEvent

      public UserPresenceChangedEvent(XMPPSession session, Packet presence)
  • Method Details

    • getPresence

      public Packet getPresence()
    • getSession

      public XMPPSession getSession()