net.java.client.slee.resource.http.event
Class ResponseEvent

java.lang.Object
  extended by net.java.client.slee.resource.http.event.ResponseEvent
All Implemented Interfaces:
java.io.Serializable

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

Service sending Request asynchronously will receive net.java.client.slee.resource.http.event.ResponseEvent as soon as the Resource Adaptor receives the Response and emitts ResponseEvent.
ResponseEvent carries either the Response if everything went fine else Exception if there was any problem

Author:
amit.bhayani
See Also:
Serialized Form

Constructor Summary
ResponseEvent(java.lang.Exception exception)
           
ResponseEvent(Response response)
           
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.lang.Exception getException()
           
 Response getResponse()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResponseEvent

public ResponseEvent(Response response)

ResponseEvent

public ResponseEvent(java.lang.Exception exception)
Method Detail

getResponse

public Response getResponse()

getException

public java.lang.Exception getException()

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2008. All Rights Reserved.