Class SessionConnectedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.web.socket.messaging.AbstractSubProtocolEvent
org.springframework.web.socket.messaging.SessionConnectedEvent
- All Implemented Interfaces:
Serializable
A connected event represents the server response to a client's connect request.
See
SessionConnectEvent
.- Since:
- 4.0.3
- Author:
- Rossen Stoyanchev
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionSessionConnectedEvent
(Object source, Message<byte[]> message) Create a new SessionConnectedEvent.SessionConnectedEvent
(Object source, Message<byte[]> message, Principal user) -
Method Summary
Methods inherited from class org.springframework.web.socket.messaging.AbstractSubProtocolEvent
getMessage, getUser, toString
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
SessionConnectedEvent
Create a new SessionConnectedEvent.- Parameters:
source
- the component that published the event (nevernull
)message
- the connected message (nevernull
)
-
SessionConnectedEvent
-