org.ourgrid.common.event
Class ShutdownRequestEvent

java.lang.Object
  extended by org.ourgrid.common.event.ShutdownRequestEvent
All Implemented Interfaces:
java.io.Serializable, ActionEvent, Event, RequestEvent

public class ShutdownRequestEvent
extends java.lang.Object
implements RequestEvent

An Event that represents the request for a shutdown.

See Also:
Serialized Form

Constructor Summary
ShutdownRequestEvent(EventQueue<ShutdownResponseEvent> responseQueue, EBSyncShutdownable ebSyncShutdownable)
          Constructor.
 
Method Summary
 void process()
          Performs the specific processing of a given Event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShutdownRequestEvent

public ShutdownRequestEvent(EventQueue<ShutdownResponseEvent> responseQueue,
                            EBSyncShutdownable ebSyncShutdownable)
Constructor.

Parameters:
responseQueue - The response queue where the process result will be put
ebSyncShutdownable - The EBSyncShutdownable object to be shutdown
Method Detail

process

public void process()
Description copied from interface: ActionEvent
Performs the specific processing of a given Event.

Specified by:
process in interface ActionEvent
See Also:
ActionEvent.process()