org.eclipse.jetty.util.component.Dumpable, WebSocketSessionListenerpublic class SessionTracker extends org.eclipse.jetty.util.component.AbstractLifeCycle implements WebSocketSessionListener, org.eclipse.jetty.util.component.Dumpable
| Constructor | Description |
|---|---|
SessionTracker() |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
doStop() |
|
void |
dump(java.lang.Appendable out,
java.lang.String indent) |
|
java.util.Set<WebSocketSession> |
getSessions() |
|
void |
onSessionClosed(WebSocketSession session) |
|
void |
onSessionCreated(WebSocketSession session) |
addLifeCycleListener, doStart, getState, getState, getStopTimeout, isFailed, isRunning, isStarted, isStarting, isStopped, isStopping, removeLifeCycleListener, setStopTimeout, start, stop, toStringdump, dump, dumpContainer, dumpIterable, dumpMapEntries, dumpObject, dumpObjects, dumpSelf, namedclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonSessionOpenedpublic java.util.Set<WebSocketSession> getSessions()
public void onSessionCreated(WebSocketSession session)
onSessionCreated in interface WebSocketSessionListenerpublic void onSessionClosed(WebSocketSession session)
onSessionClosed in interface WebSocketSessionListenerprotected void doStop()
throws java.lang.Exception
doStop in class org.eclipse.jetty.util.component.AbstractLifeCyclejava.lang.Exceptionpublic void dump(java.lang.Appendable out,
java.lang.String indent)
throws java.io.IOException
dump in interface org.eclipse.jetty.util.component.Dumpablejava.io.IOExceptionCopyright © 1995–2019 Webtide. All rights reserved.