SienaXML (v.2.0.0) API documentation

siena.xml
Interface Subject

All Known Implementing Classes:
XMLSubscriptionHandler

public interface Subject

This interface is used by the XMLSubscriptionHandler to implement a observer pattern


Method Summary
 void attach(Observer observer)
          This method is used to attach an observer to the XMLSubscriptionHandler.
 void detach(Observer observer)
          This removes an observer from the XMLSubscriptionHandler's list of observers
 void inform()
          This method is used to inform all observers of a change in the state of the observable object.
 

Method Detail

attach

void attach(Observer observer)
This method is used to attach an observer to the XMLSubscriptionHandler.

Parameters:
observer - The observer to notify when XML subscriptions come in.

detach

void detach(Observer observer)
This removes an observer from the XMLSubscriptionHandler's list of observers

Parameters:
observer - The observer to remove from the list

inform

void inform()
This method is used to inform all observers of a change in the state of the observable object.


SienaXML (v.2.0.0) API documentation

Copyright © 2000-2002 University of Colorado.
This documentation is maintained by Antonio Carzaniga