it.dtt.ca.response
Class ResponseEvent

java.lang.Object
  extended by it.dtt.ca.response.ResponseEvent
Direct Known Subclasses:
FailureResponseEvent, SuccessResponseEvent

public abstract class ResponseEvent
extends java.lang.Object

This event is used to notify a response to a specific request


Constructor Summary
protected ResponseEvent(CARequest request)
          Construct a ResponseEvent instance.
 
Method Summary
 CARequest getRequest()
          Get the specific request that generated this response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseEvent

protected ResponseEvent(CARequest request)
Construct a ResponseEvent instance.

Parameters:
request - the request that originated this response.
Method Detail

getRequest

public CARequest getRequest()
Get the specific request that generated this response. The object describing the request is exactly same instance that originated the request process.

Returns:
the request object