GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



next up previous contents
Next: Constructing and Destroying AdvertService Up: Advert Management Previous: So, where did I   Contents

The Advertisement Package

This digital djinni housed within the advertisement package consists of two constituents. The first is the interface GATInterface_IAdvertisable and the second, the class GATAdvertService. The interface is the keys and the class the djinni. Let me explain...

The interface GATInterface_IAdvertisable is an interface which is implemented by many classes within the GAT universe. In fact the full spectrum of such classes is shown in figure [*].

Figure: Classes realizing the interface GATInterface_IAdvertisable.
[width=10cm]advertisables

An instance of any class which implements this interface GATInterface_IAdvertisable can be placed in an GATAdvertService instance along with a description describing the advertisable. After this donation to the GATAdvertService djinni, whenever a user wants to find this deposited instance all they need do is give the djinni GATAdvertService a description of the instance they desire and this djnni will return a list of all the advertisables which fit this description. Magic, no? Furthermore, this GATAdvertService persists these advertisables and is accessible across machine boundaries. So, code on machine A can place an advertisable in a GATAdvertService on Tuesday, then next month code on machine B can remove or examine this same advertisable. Now that's really magic.



Subsections
next up previous contents
Next: Constructing and Destroying AdvertService Up: Advert Management Previous: So, where did I   Contents
Andre Merzky 2004-05-13