Package tigase.server.xmppsession

# 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 Summary

  Constructors
  Constructor
  Description
  `UserPresenceChangedEvent(XMPPSession session, Packet presence)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Packet`
  `getPresence()`
  `XMPPSession`
  `getSession()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UserPresenceChangedEvent

    public UserPresenceChangedEvent(XMPPSession session, Packet presence)

- ## Method Details

  - ### getPresence

    public Packet getPresence()

  - ### getSession

    public XMPPSession getSession()