public final class DurableUnicastDelegatorSession extends AbstractDataEventSession implements IInternalEventSessionAdmin
| Constructor and Description |
|---|
DurableUnicastDelegatorSession(IJSpace space,
EventSessionConfig config) |
| Modifier and Type | Method and Description |
|---|---|
protected EventRegistration |
addListenerInternal(Object template,
long lease,
NotifyInfo info) |
void |
close()
closes the session and deregister all listeners.
|
String |
dumpState(EventRegistration registration) |
void |
removeListener(EventRegistration registration)
Unregisters the listener from the space.
|
addListener, addListener, addListener, addListener, addListener, addListener, createNotifyInfo, getNotificationsSpace, getSessionConfig, getSpacepublic DurableUnicastDelegatorSession(IJSpace space, EventSessionConfig config)
protected EventRegistration addListenerInternal(Object template, long lease, NotifyInfo info) throws RemoteException
addListenerInternal in class AbstractDataEventSessionRemoteExceptionpublic void removeListener(EventRegistration registration) throws RemoteException
DataEventSessionremoveListener in interface DataEventSessionremoveListener in class AbstractDataEventSessionregistration - the registration object received from the server when the listener was
added.RemoteException - if the space has failed to unregister the listener.public void close()
throws RemoteException
EventSessionclose in interface EventSessionclose in class AbstractDataEventSessionRemoteException - if the remove space failed to remove the notification
registration.public String dumpState(EventRegistration registration)
dumpState in interface IInternalEventSessionAdminCopyright © GigaSpaces.