org.sourceforge.jemm.comm.shared
Class RPCCallRespMessage

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

public class RPCCallRespMessage
extends Message

Author:
Rory Graves
See Also:
Serialized Form

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
 java.lang.Object getReturnValue()
           
 boolean isCallSuccess()
           
 
Methods inherited from class org.sourceforge.jemm.comm.shared.Message
getThreadId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.
Method Detail

isCallSuccess

public boolean isCallSuccess()

getReturnValue

public java.lang.Object getReturnValue()


Copyright © 2009. All Rights Reserved.