public class SessionConnectEvent extends AbstractSubProtocolEvent
Note that this is not the same as the WebSocket session getting established but rather the client's first attempt to connect within the sub-protocol, for example sending the STOMP CONNECT frame.
| Constructor and Description |
|---|
SessionConnectEvent(java.lang.Object source,
Message<byte[]> message)
Create a new SessionConnectEvent.
|
SessionConnectEvent(java.lang.Object source,
Message<byte[]> message,
java.security.Principal user) |
getMessage, getUser, toStringgetTimestamppublic SessionConnectEvent(java.lang.Object source,
Message<byte[]> message)
source - the component that published the event (never null)message - the connect messagepublic SessionConnectEvent(java.lang.Object source,
Message<byte[]> message,
java.security.Principal user)