Class SessionEventImpl

java.lang.Object
io.smallrye.reactive.messaging.mqtt.session.impl.SessionEventImpl
All Implemented Interfaces:
SessionEvent

public class SessionEventImpl extends Object implements SessionEvent
An event of a session state change.
  • Constructor Details

  • Method Details

    • getSessionState

      public SessionState getSessionState()
      The new state of the session.
      Specified by:
      getSessionState in interface SessionEvent
      Returns:
      The state.
    • getCause

      public Throwable getCause()
      The (optional) cause of change.
      Specified by:
      getCause in interface SessionEvent
      Returns:
      The throwable that causes the state change, or null, if there was none.