public interface WsSessionListener
Session.
Note on concurrency: The implementors are warranted that sessionAdded() will be called before
sessionRemoved() and that there will be no overlapping calls of these methods from distinct threads. Further
best effort will be done to call sessionRemoved() for all existing listeners on application exit.
| Modifier and Type | Method and Description |
|---|---|
void |
sessionAdded()
Notifies this listener that the
Session to which this listener is attached was successfully added to
WsSessions. |
void |
sessionRemoved()
Notifies this listener that the
Session to which this listener is attached was removed from
WsSessions. |
void sessionAdded()
Session to which this listener is attached was successfully added to
WsSessions.void sessionRemoved()
Session to which this listener is attached was removed from
WsSessions.Copyright © 2015 Red Hat. All rights reserved.