Class WsSessionIdentifier
- java.lang.Object
-
- ch.colabproject.colab.api.ws.message.WsMessage
-
- ch.colabproject.colab.api.ws.message.WsSessionIdentifier
-
- All Implemented Interfaces:
ch.colabproject.colab.generator.model.interfaces.WithJsonDiscriminator
,Serializable
public class WsSessionIdentifier extends WsMessage
Message sent to each client as soon as they initialize the websocket connection.- Author:
- maxence
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WsSessionIdentifier()
Default constructorWsSessionIdentifier(String sessionId)
create a message based on a websocket session
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSessionId()
void
setSessionId(String sessionId)
Set session idString
toString()
-
-
-
Constructor Detail
-
WsSessionIdentifier
public WsSessionIdentifier()
Default constructor
-
WsSessionIdentifier
public WsSessionIdentifier(String sessionId)
create a message based on a websocket session- Parameters:
sessionId
- client session id
-
-