Package io.gs2.gateway.model
Class WebSocketSession
java.lang.Object
io.gs2.gateway.model.WebSocketSession
- All Implemented Interfaces:
IModel,Serializable,Comparable<WebSocketSession>
public class WebSocketSession
extends Object
implements IModel, Serializable, Comparable<WebSocketSession>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanstatic WebSocketSessionfromJson(com.fasterxml.jackson.databind.JsonNode data) inthashCode()voidsetConnectionId(String connectionId) voidsetCreatedAt(Long createdAt) voidsetNamespaceName(String namespaceName) voidsetRevision(Long revision) voidsetUpdatedAt(Long updatedAt) voidvoidsetWebSocketSessionId(String webSocketSessionId) com.fasterxml.jackson.databind.JsonNodetoJson()withConnectionId(String connectionId) withCreatedAt(Long createdAt) withNamespaceName(String namespaceName) withRevision(Long revision) withUpdatedAt(Long updatedAt) withUserId(String userId) withWebSocketSessionId(String webSocketSessionId)
-
Constructor Details
-
WebSocketSession
public WebSocketSession()
-
-
Method Details
-
getWebSocketSessionId
-
setWebSocketSessionId
-
withWebSocketSessionId
-
getConnectionId
-
setConnectionId
-
withConnectionId
-
getNamespaceName
-
setNamespaceName
-
withNamespaceName
-
getUserId
-
setUserId
-
withUserId
-
getCreatedAt
-
setCreatedAt
-
withCreatedAt
-
getUpdatedAt
-
setUpdatedAt
-
withUpdatedAt
-
getRevision
-
setRevision
-
withRevision
-
fromJson
-
toJson
public com.fasterxml.jackson.databind.JsonNode toJson() -
compareTo
- Specified by:
compareToin interfaceComparable<WebSocketSession>
-
hashCode
public int hashCode() -
equals
-