| Modifier and Type | Method and Description |
|---|---|
| public void | addSessionListener(WebSocketSessionListener
the listener listener)Register a WebSocketSessionListener with the container |
| public Executor | |
| public Collection | Returns: the collection of open sessionsGet the collection of open Sessions being tracked by this container |
| public void | notifySessionListeners(Consumer<WebSocketSessionListener>
the consumer to call for each tracked listener consumer)Notify the Session Listeners of an event. |
| public boolean | Returns: true if listener was present and removedthe listener listener)Remove a WebSocketSessionListener from the container |
| addSessionListener | back to summary |
|---|---|
| public void addSessionListener(WebSocketSessionListener listener) Register a WebSocketSessionListener with the container
| |
| getExecutor | back to summary |
|---|---|
| public Executor getExecutor() The Container provided Executor. | |
| getOpenSessions | back to summary |
|---|---|
| public Collection Get the collection of open Sessions being tracked by this container
| |
| notifySessionListeners | back to summary |
|---|---|
| public void notifySessionListeners(Consumer<WebSocketSessionListener> consumer) Notify the Session Listeners of an event.
| |
| removeSessionListener | back to summary |
|---|---|
| public boolean removeSessionListener(WebSocketSessionListener listener) Remove a WebSocketSessionListener from the container
| |