public class SessionTracker extends AbstractLifeCycle implements WebSocketSessionListener
AbstractLifeCycle.AbstractLifeCycleListenerLifeCycle.Listener| Constructor and Description |
|---|
SessionTracker() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doStop() |
java.util.Set<WebSocketSession> |
getSessions() |
void |
onSessionClosed(WebSocketSession session) |
void |
onSessionOpened(WebSocketSession session) |
addLifeCycleListener, doStart, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringpublic java.util.Set<WebSocketSession> getSessions()
public void onSessionOpened(WebSocketSession session)
onSessionOpened in interface WebSocketSessionListenerpublic void onSessionClosed(WebSocketSession session)
onSessionClosed in interface WebSocketSessionListenerprotected void doStop()
throws java.lang.Exception
doStop in class AbstractLifeCyclejava.lang.ExceptionCopyright © 1995–2021 Webtide. All rights reserved.