org.jboss.remoting
Class InvocationResponse
java.lang.Object
org.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InvocationResponse
public InvocationResponse(java.lang.String sessionId,
java.lang.Object result,
boolean isException,
java.util.Map payload)
throws java.io.IOException
getSessionId
public java.lang.String getSessionId()
getPayload
public java.util.Map getPayload()
isException
public boolean isException()
getResult
public java.lang.Object getResult()