Package tigase.server.xmppsession
Class UserPresenceChangedEvent
- java.lang.Object
-
- tigase.server.xmppsession.UserPresenceChangedEvent
-
- All Implemented Interfaces:
EventBusEvent
public class UserPresenceChangedEvent extends java.lang.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 Summary
Constructors Constructor Description UserPresenceChangedEvent(XMPPSession session, Packet presence)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Packet
getPresence()
XMPPSession
getSession()
-
-
-
Constructor Detail
-
UserPresenceChangedEvent
public UserPresenceChangedEvent(XMPPSession session, Packet presence)
-
-
Method Detail
-
getPresence
public Packet getPresence()
-
getSession
public XMPPSession getSession()
-
-