Package ch.rasc.wamp2spring.event
Class WampEvent
java.lang.Object
ch.rasc.wamp2spring.event.WampEvent
- Direct Known Subclasses:
WampDisconnectEvent,WampProcedureEvent,WampSessionEstablishedEvent,WampSubscriptionEvent
Base class for the WAMP events
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn aPrincipalinstance containing the name of the authenticated user.Returns the unique WAMP session identifier.Returns an unique session identifier.
-
Constructor Details
-
WampEvent
-
-
Method Details
-
getWebSocketSessionId
Returns an unique session identifier. Created by the Spring WebSocket layer. -
getPrincipal
Return aPrincipalinstance containing the name of the authenticated user.If the user has not been authenticated, the method returns
null. -
getWampSessionId
Returns the unique WAMP session identifier. There is a one-to-one relation with thegetWebSocketSessionId().
-