org.ourgrid.mygrid.scheduler.event
Class SetPeersRequestEvent

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.event.SetPeersRequestEvent
All Implemented Interfaces:
java.io.Serializable, ActionEvent, Event, RequestEvent

public class SetPeersRequestEvent
extends java.lang.Object
implements RequestEvent

This event is used to set a new set of GuMPs to be used by the EBGridManager.

See Also:
Serialized Form

Constructor Summary
SetPeersRequestEvent(EBSchedulingHeuristic ebSchedulingHeuristic, GridManager ebGridManager, java.util.Collection<PeerSpec> gumpSpecs)
          The constructor.
 
Method Summary
 void process()
          Sets a new set of GuMPs to be used by the EBGridManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetPeersRequestEvent

public SetPeersRequestEvent(EBSchedulingHeuristic ebSchedulingHeuristic,
                            GridManager ebGridManager,
                            java.util.Collection<PeerSpec> gumpSpecs)
The constructor.

Parameters:
ebSchedulingHeuristic - The EBSchedulingHeuristic
ebGridManager - The EBGridManager
gumpSpecs - A collection of GridMachineProviders specifications
Method Detail

process

public void process()
Sets a new set of GuMPs to be used by the EBGridManager.

Specified by:
process in interface ActionEvent