GridLab
Grid Application Toolkit

A simple API for Grid Applications
GAT

Menu



next up previous contents
Next: Canceling Reservations Up: Reserving Resources Previous: Reserving Resources Using a   Contents

Reserving Resources Using a Resource:

The second manner in which GAT allows resource to be reserved is through the use of an actual GATResource instance. One may, for example, obtain a GATResource instance through a call to the ``Find Resources'' call, then wish to actually make a reservation on that resource. The following function

GATResult
  GATResourceBroker_ReserveResource(GATResourceBroker broker,
    GATResource_const resource, GATTime_const zeit,
    GATTimePeriod_const duration, GATReservation *reservation)

makes this possible. The semantics of this call are exactly the same as the previous ``Reserve'' function mod the obvious replacement of GATResourceDescription with GATResource.



Andre Merzky 2004-05-13