org.jboss.remoting
Class InvocationResponse

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

public class InvocationResponse
extends Object
implements 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)

Version:
$Revision: 1.2 $
Author:
Tom Elrod
See Also:
Serialized Form

Constructor Summary
InvocationResponse(String sessionId, Object result, boolean isException, Map payload)
           
 
Method Summary
 Map getPayload()
           
 Object getResult()
           
 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(String sessionId,
                          Object result,
                          boolean isException,
                          Map payload)
                   throws IOException
Method Detail

getSessionId

public String getSessionId()

getPayload

public Map getPayload()

isException

public boolean isException()

getResult

public Object getResult()


Copyright © 2004 JBoss Inc. All Rights Reserved.