edu.uci.isr.yancees.server.rmi
Interface RemoteSubscriberInterface

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AbstractRemoteSubscriberImplementation

public interface RemoteSubscriberInterface
extends java.rmi.Remote

This should be used by the users of the Yancees notificaton server to receive events.


Method Summary
 void notify(EventInterface evt)
          sends an Event to this Subscriber
 void notify(EventInterface[] evtList)
          sends a sequence of Event evt to this Subscriber
 void notifyBuffer(EventInterface[] evtList)
          This method is here for performance reasons, the events came individually but here they are grouped and sent together to the client.
 

Method Detail

notify

public void notify(EventInterface evt)
            throws java.rmi.RemoteException
sends an Event to this Subscriber

Throws:
java.rmi.RemoteException

notify

public void notify(EventInterface[] evtList)
            throws java.rmi.RemoteException
sends a sequence of Event evt to this Subscriber

Throws:
java.rmi.RemoteException

notifyBuffer

public void notifyBuffer(EventInterface[] evtList)
                  throws java.rmi.RemoteException
This method is here for performance reasons, the events came individually but here they are grouped and sent together to the client. The implementation of this method must generate successive invocations to notify().

Parameters:
evtList -
Throws:
java.rmi.RemoteException