org.eclipse.ecf.provider.remoteservice.generic
Class Response

java.lang.Object
  extended by org.eclipse.ecf.provider.remoteservice.generic.Response
All Implemented Interfaces:
java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Response(long requestId, java.lang.Object response)
           
Response(long requestId, java.lang.Throwable exception)
           
 
Method Summary
 java.lang.Throwable getException()
           
 long getRequestId()
           
 java.lang.Object getResponse()
           
 boolean hadException()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Response

public Response(long requestId,
                java.lang.Object response)

Response

public Response(long requestId,
                java.lang.Throwable exception)
Method Detail

getRequestId

public long getRequestId()

getResponse

public java.lang.Object getResponse()

hadException

public boolean hadException()

getException

public java.lang.Throwable getException()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object