org.sourceforge.jemmrpc.shared
Class RPCCallRespMessage

java.lang.Object
  extended by org.sourceforge.jemmrpc.shared.Message
      extended by org.sourceforge.jemmrpc.shared.RPCCallRespMessage
All Implemented Interfaces:
java.io.Serializable

public class RPCCallRespMessage
extends Message

Author:
Rory Graves
See Also:
Serialized Form

Field Summary
 boolean callSuccess
          Whether the call was a normal return or an exception.
 java.lang.Object returnValue
          Returned value, or thrown exception.
 
Constructor Summary
RPCCallRespMessage(java.lang.String threadId, boolean normalReturn, java.lang.Object returnValue)
          Create an RPCCallRespMessage for the given caller thread, with the returned value or exception
 
Method Summary
 
Methods inherited from class org.sourceforge.jemmrpc.shared.Message
getThreadId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

callSuccess

public final boolean callSuccess
Whether the call was a normal return or an exception.


returnValue

public final java.lang.Object returnValue
Returned value, or thrown exception.

Constructor Detail

RPCCallRespMessage

public RPCCallRespMessage(java.lang.String threadId,
                          boolean normalReturn,
                          java.lang.Object returnValue)
Create an RPCCallRespMessage for the given caller thread, with the returned value or exception

Parameters:
threadId - The calling threadId.
normalReturn - If true, the 'returnValue' is the method return value, false it is a thrown exception.
returnValue - The returned value or exception.


Copyright © 2008. All Rights Reserved.