public class WeakRemoteEventListener extends WeakReference<RemoteEventListener> implements RemoteEventListener
Constructor and Description |
---|
WeakRemoteEventListener(RemoteEventListener listener) |
Modifier and Type | Method and Description |
---|---|
void |
notify(RemoteEvent event)
Delegate the notification to the listener.
|
clear, enqueue, get, isEnqueued
public WeakRemoteEventListener(RemoteEventListener listener)
public void notify(RemoteEvent event) throws UnknownEventException, RemoteException
notify
in interface RemoteEventListener
event
- the remote event that occurredUnknownEventException
- the recipient does not recognize the combination of event
identifier and event sourceRemoteException
Copyright © GigaSpaces.