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

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
RemoteAbstractSubscriberImplementation, YanceesRMIClient.SubscriberMediator

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(java.lang.Object[] objList)
          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

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

Parameters:
n - Event passed to the Subscriber
Throws:
java.rmi.RemoteException

notify

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

Parameters:
s - sequence of Events passed to the Subscriber
Throws:
java.rmi.RemoteException

notifyBuffer

void notifyBuffer(java.lang.Object[] objList)
                  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:
objList -
Throws:
java.rmi.RemoteException