public static class WSActiveCollectionServer.ACMListener extends Object
| Constructor and Description |
|---|
ACMListener(Session session,
ActiveCollectionManager acm)
This is the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This method closes the active collection listeners associated with the
websocket session.
|
void |
register(String name)
This method registers a new active collection listener.
|
void |
unregister(String name)
This method unregisters an active collection listener.
|
protected void |
unregisterListener(String name,
ActiveChangeListener l)
This method unregisters the supplied listener from the active collection
with the specified name.
|
public ACMListener(Session session,
ActiveCollectionManager acm)
session - The sessionacm - The active collection managerpublic void register(String name)
name - The active collection namepublic void unregister(String name)
name - The active collection nameprotected void unregisterListener(String name, ActiveChangeListener l)
name - The active collection namel - The listenerpublic void close()
Copyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.