Package tigase.server.xmppsession

# Class UserSessionEvent

java.lang.Object
tigase.server.xmppsession.UserSessionEvent

All Implemented Interfaces:
  `Serializable`, `EventBusEvent`

Direct Known Subclasses:
  `JabberIqPrivacy.PrivacyListUpdatedEvent`, `MessageCarbons.MessageCarbonsStateChangedEvent`, `UserSessionEventWithProcessorResultWriter`

public class UserSessionEvent extends Object implements Serializable, EventBusEvent
Base class for implementation of events related to user session. For this event exists additional routing mechanism which will optimize delivery of this event in clustered environment.

Author:
  andrzej
See Also:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserSessionEvent()`
  `UserSessionEvent(JID sender, JID userJid, XMPPSession session)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `JID`
  `getSender()`
  `XMPPSession`
  `getSession()`
  `JID`
  `getUserJid()`
  `void`
  `setSession(XMPPSession session)`

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

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

- ## Constructor Details

  - ### UserSessionEvent

    public UserSessionEvent()

  - ### UserSessionEvent

    public UserSessionEvent(JID sender, JID userJid, XMPPSession session)

- ## Method Details

  - ### getSession

    public XMPPSession getSession()

  - ### setSession

    public void setSession(XMPPSession session)

  - ### getUserJid

    public JID getUserJid()

  - ### getSender

    public JID getSender()