nl.tudelft.simulation.dsol.formalisms
Class Resource.Request

java.lang.Object
  extended bynl.tudelft.simulation.dsol.formalisms.Resource.Request
Enclosing class:
Resource

public class Resource.Request
extends java.lang.Object

A Request.


Constructor Summary
Resource.Request(ResourceRequestorInterface requestor, double amount)
          constructs a new Request
 
Method Summary
 double getAmount()
          gets the requested amount.
 ResourceRequestorInterface getRequestor()
          gets the requestor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Resource.Request

public Resource.Request(ResourceRequestorInterface requestor,
                        double amount)
constructs a new Request

Parameters:
requestor - the requestor
amount - the requested amount
Method Detail

getAmount

public double getAmount()
gets the requested amount.

Returns:
the requested amount

getRequestor

public ResourceRequestorInterface getRequestor()
gets the requestor.

Returns:
the Requestor.


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