tigase.server.xmppsession

## Class UserSessionEvent

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

- All Implemented Interfaces:
    Serializable
  Direct Known Subclasses:
    MessageCarbons.MessageCarbonsStateChangedEvent, UserSessionEventWithProcessorResultWriter

      public class UserSessionEvent
      extends Object
      implements Serializable

  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 and Description
    `UserSessionEvent()`
    `UserSessionEvent(JID sender, JID userJid, XMPPSession session)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 Detail

    - #### UserSessionEvent

          public UserSessionEvent()

    - #### UserSessionEvent

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

  - ### Method Detail

    - #### getSession

          public XMPPSession getSession()

    - #### setSession

          public void setSession(XMPPSession session)

    - #### getUserJid

          public JID getUserJid()

    - #### getSender

          public JID getSender()

Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.