Package io.micronaut.websocket.event
Class WebSocketMessageProcessedEvent<T>
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.websocket.event.WebSocketEvent
io.micronaut.websocket.event.WebSocketMessageProcessedEvent<T>
- Type Parameters:
T
- The message type
- All Implemented Interfaces:
Serializable
An event fired after a WebSocket message has been processed.
- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionWebSocketMessageProcessedEvent
(WebSocketSession session, T message) Default constructor. -
Method Summary
Methods inherited from class io.micronaut.websocket.event.WebSocketEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
WebSocketMessageProcessedEvent
Default constructor.- Parameters:
session
- The web socket sessionmessage
- The message that was processed
-
-
Method Details
-
getMessage
- Returns:
- The message that was processed
-