edu.cmu.aura.service.rpc
Class ReturnEnvelope

java.lang.Object
  |
  +--edu.cmu.aura.service.rpc.ReturnEnvelope

public class ReturnEnvelope
extends java.lang.Object

ReturnEnvelope holds the return values of the method invocation.


Constructor Summary
ReturnEnvelope()
          Create a ReturnEnvelope.
 
Method Summary
 java.lang.Object getReturnValue()
          Get the return value from this ReturnEnvelope.
 void setReturnValue(java.lang.Object returnValue)
          Set the return value for this envelope.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReturnEnvelope

public ReturnEnvelope()
Create a ReturnEnvelope.
Method Detail

setReturnValue

public void setReturnValue(java.lang.Object returnValue)
Set the return value for this envelope.
Parameters:
returnValue - the return value of the call.

getReturnValue

public java.lang.Object getReturnValue()
Get the return value from this ReturnEnvelope.
Returns:
the return value from this ReturnEnvelope.