com.graemestevenson.notifier
Interface Notifyee<T>

Type Parameters:
T - The type of data in which we are interested.

public interface Notifyee<T>

A class can implement the Notifyee interface when it wants to be informed when new data is published.

Author:
Graeme Stevenson (graeme.stevenson@ucd.ie)

Method Summary
 void update(Notifier<T> a_notifier, T some_data)
          This method is called whenever new data is published.
 

Method Detail

update

void update(Notifier<T> a_notifier,
            T some_data)
This method is called whenever new data is published. An application calls an Notifier object's notifyObservers method to have all the object's notifyees notified of the change.

Parameters:
a_notifier - the Notifier object.
some_data - the published data passed to the notifyObservers method.