com.j_spaces.core.client
Interface INotifyDelegator

All Superinterfaces:
EventListener, Remote, RemoteEventListener
All Known Implementing Classes:
NotifyDelegator, NotifyDelegatorMultiplexer

public interface INotifyDelegator
extends RemoteEventListener

This is just a tag interface for the space to recognize the stub of the NotifyDelegator. This interface should be used when the entry is needed on notify.

 Example:
 
 class MyNotifyDelegator implements INotifyDelegator
 {
      public void notify(RemoteEvent event) 
      {
          EntryArrivedRemoteEvent arrivedRemoteEvent = (EntryArrivedRemoteEvent)event;
          MyEntry myEntry = arrivedRemoteEvent.getEntry();
          ...
      }
 }
 
 

See Also:
NotifyDelegator

Method Summary
 
Methods inherited from interface net.jini.core.event.RemoteEventListener
notify