public class SessionListenerCollection extends ListenerCollection<ISessionListener> implements ISessionListener
ListenerCollection.INotifier<T>
Constructor and Description |
---|
SessionListenerCollection() |
Modifier and Type | Method and Description |
---|---|
void |
onCreated(Session session)
Called when a new instance of session is created
|
void |
onUnbound(String sessionId)
Informs the listener that session with specific id has been unbound.
|
add, isAllowingDuplicates, isAllowingNulls, iterator, notify, notifyIgnoringExceptions, remove, reversedNotify, reversedNotifyIgnoringExceptions
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public void onCreated(Session session)
ISessionListener
onCreated
in interface ISessionListener
public void onUnbound(String sessionId)
ISessionListener
onUnbound
in interface ISessionListener
sessionId
- the id of the unbound sessionCopyright © 2006–2022 Apache Software Foundation. All rights reserved.