org.jboss.remoting
Class InvocationResponse

java.lang.Object
  extended byorg.jboss.remoting.InvocationResponse
All Implemented Interfaces:
java.io.Serializable

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

InvocationResponse is a return object from a call to a remote Server Invoker. The InvocationResponse may contain either an Exception or a result value (which may be null in the case the user returns null)

See Also:
Serialized Form

Constructor Summary
InvocationResponse(java.lang.String sessionId, java.lang.Object result, boolean isException, java.util.Map payload)
           
 
Method Summary
 java.util.Map getPayload()
           
 java.lang.Object getResult()
           
 java.lang.String getSessionId()
           
 boolean isException()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InvocationResponse

public InvocationResponse(java.lang.String sessionId,
                          java.lang.Object result,
                          boolean isException,
                          java.util.Map payload)
                   throws java.io.IOException
Method Detail

getSessionId

public java.lang.String getSessionId()

getPayload

public java.util.Map getPayload()

isException

public boolean isException()

getResult

public java.lang.Object getResult()