Package io.micronaut.websocket.event
Class WebSocketEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.websocket.event.WebSocketEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
WebSocketMessageProcessedEvent
,WebSocketSessionClosedEvent
,WebSocketSessionOpenEvent
Parent class for all events emitted by the WebSocket server.
- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
WebSocketEvent
Default constructor.- Parameters:
session
- The web socket session
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-