org.ourgrid.mygrid.scheduler.gridmanager
Class GumResponseEntry

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.gridmanager.GumResponseEntry
All Implemented Interfaces:
java.io.Serializable

public class GumResponseEntry
extends java.lang.Object
implements java.io.Serializable

This class encapsulates the information regarding a Gum delivery. This information will travel from the grid machine provider (Gump) to the grid machine consumer (GumpClient). The required information to deliver a Gum is basically: (1) The identification of the request to which the machine will be delivered. (2) The machine specification (GumSpec). (3) A reference to the entity which represents the machine, which will be an instance of Gum (4) The ID of the machine provider.

See Also:
Serialized Form

Constructor Summary
GumResponseEntry(Gum gum, GumSpec spec, long requestid, ObjectID providerObjectID)
          Default constructor.
GumResponseEntry(long requestid)
          This constructor is used only by tests.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 Gum getGum()
           
 GumSpec getGumSpec()
           
 ObjectID getObjectID()
           
 long getRequestID()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GumResponseEntry

public GumResponseEntry(Gum gum,
                        GumSpec spec,
                        long requestid,
                        ObjectID providerObjectID)
Default constructor.


GumResponseEntry

public GumResponseEntry(long requestid)
This constructor is used only by tests.

Method Detail

getGumSpec

public GumSpec getGumSpec()

getRequestID

public long getRequestID()

getGum

public Gum getGum()

getObjectID

public ObjectID getObjectID()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object