private static class SubProtocolWebSocketHandler.WebSocketSessionHolder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
createTime |
private boolean |
hasHandledMessages |
private WebSocketSession |
session |
Constructor and Description |
---|
WebSocketSessionHolder(WebSocketSession session) |
Modifier and Type | Method and Description |
---|---|
long |
getCreateTime() |
WebSocketSession |
getSession() |
boolean |
hasHandledMessages() |
void |
setHasHandledMessages() |
java.lang.String |
toString() |
private final WebSocketSession session
private final long createTime
private volatile boolean hasHandledMessages
public WebSocketSessionHolder(WebSocketSession session)
public WebSocketSession getSession()
public long getCreateTime()
public void setHasHandledMessages()
public boolean hasHandledMessages()
public java.lang.String toString()
toString
in class java.lang.Object