Class SessionEventImpl
java.lang.Object
io.smallrye.reactive.messaging.mqtt.session.impl.SessionEventImpl
- All Implemented Interfaces:
SessionEvent
An event of a session state change.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCause()The (optional) cause of change.The new state of the session.
-
Constructor Details
-
SessionEventImpl
-
-
Method Details
-
getSessionState
The new state of the session.- Specified by:
getSessionStatein interfaceSessionEvent- Returns:
- The state.
-
getCause
The (optional) cause of change.- Specified by:
getCausein interfaceSessionEvent- Returns:
- The throwable that causes the state change, or
null, if there was none.
-