spring-framework / org.springframework.web.socket.messaging / SessionConnectEvent / <init>

<init>

SessionConnectEvent(source: Any, message: Message<ByteArray>)

Create a new SessionConnectEvent.

Parameters

source - the component that published the event (never null)

message - the connect message

SessionConnectEvent(source: Any, message: Message<ByteArray>, @Nullable user: Principal)