nl.tudelft.simulation.dsol.formalisms
Interface ResourceRequestorInterface

All Known Implementing Classes:
Seize

public interface ResourceRequestorInterface

This interface provides a callback method to the resource. Whenever resource is available this method is invoked on the requestor.

(c) copyright 2003 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Since:
1.0
Version:
1.2 2004-03-26
Author:
Peter Jacobs

Method Summary
 void receiveRequestedResource(double requestedCapacity, Resource resource)
          receive the requested resource
 

Method Detail

receiveRequestedResource

public void receiveRequestedResource(double requestedCapacity,
                                     Resource resource)
                              throws java.rmi.RemoteException
receive the requested resource

Parameters:
requestedCapacity - reflects the amount requested
resource - the requested resource
Throws:
java.rmi.RemoteException - on network failure


Copyright © 2002-2004 Delft University of Technology, the Netherlands. All Rights Reserved.