|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--util.ReturnValue
This class is intended to encapsulate the return values for remote method calls.
| Nested Class Summary | |
private static class |
ReturnValue.NULL
a null wrapper class |
| Field Summary | |
private String |
methodName
The name of the method that generated this return value |
static int |
NOT_REQUESTED
a final int signifying that this return value was not generated from a MethodRequest. |
private int |
requestID
the associated ID from MethodRequest. |
private Object |
returnVal
|
private static long |
serialVersionUID
|
| Constructor Summary | |
ReturnValue(String methodName,
Object returnVal)
|
|
ReturnValue(String methodName,
Object returnVal,
int requestID)
|
|
| Method Summary | |
Object |
getReturnValue()
Returns the object that was specified as the return value. |
int |
getReturnValueID()
Return the ID from the associated MethodRequest. |
boolean |
isRequested()
If this ReturnValue was generated on behalf of a MethodRequest. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private static final long serialVersionUID
public static final int NOT_REQUESTED
private final String methodName
private final Object returnVal
private final int requestID
| Constructor Detail |
public ReturnValue(String methodName,
Object returnVal)
public ReturnValue(String methodName,
Object returnVal,
int requestID)
| Method Detail |
public Object getReturnValue()
public int getReturnValueID()
public boolean isRequested()
public String toString()
toString in class Object
|
Boeing Simulation 3.1 API Specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||