org.ourgrid.mygrid.scheduler.event
Class SimpleResponseEvent<T>

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.event.SimpleResponseEvent<T>
All Implemented Interfaces:
java.io.Serializable, Event, ResponseEvent<T>

public class SimpleResponseEvent<T>
extends java.lang.Object
implements ResponseEvent<T>

See Also:
Serialized Form

Constructor Summary
SimpleResponseEvent(T value)
           
 
Method Summary
 T getResponse()
          Gets the response of an Event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleResponseEvent

public SimpleResponseEvent(T value)
Method Detail

getResponse

public T getResponse()
Description copied from interface: ResponseEvent
Gets the response of an Event.

Specified by:
getResponse in interface ResponseEvent<T>
Returns:
an Object that corresponds to the response of an Event.