|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectCTL.rResult
public class rResult
Result of a remote method call
| Field Summary | |
|---|---|
private boolean[] |
recv
Received status |
private TypeTree[] |
type
Return types |
private java.lang.Object[] |
value
Return values |
| Constructor Summary | |
|---|---|
rResult(TypeTree type)
Generate a new rResult storing one result |
|
rResult(TypeTree[] type)
Generate a new rResult storing multiple results |
|
| Method Summary | ||
|---|---|---|
boolean |
booleanValue(int i)
Return a boolean value |
|
private void |
create(TypeTree[] type)
Underlying create() function for the constructors |
|
double |
doubleValue(int i)
Return a double value |
|
float |
floatValue(int i)
Return a float value |
|
int |
intValue(int i)
Return an integer value |
|
int |
length()
Synonym for results() |
|
long |
longValue(int i)
Return a long value |
|
java.lang.Object |
ObjectValue(int i)
Return an Object value |
|
protected
|
receive(T val,
int i)
Function called by the remote side to pass the data |
|
boolean |
received()
Check whether all results were received |
|
boolean |
received(int i)
Check whether a result was received |
|
void |
recv(OIStream in,
int i)
Receive data for a specific return value |
|
int |
results()
Retrieve the number of results stored |
|
short |
shortValue(int i)
Return a short value |
|
java.lang.String |
StringValue(int i)
Return a String value |
|
java.lang.String |
toString()
|
|
TypeTree |
type(int i)
Retrieve the type of a return value |
|
java.lang.Object |
value()
Return the last value (usually the actual return value of a method) |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private boolean[] recv
private TypeTree[] type
private java.lang.Object[] value
| Constructor Detail |
|---|
public rResult(TypeTree type)
type - Return typepublic rResult(TypeTree[] type)
type - Return types| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectprivate void create(TypeTree[] type)
type - List of typespublic int results()
public int length()
public boolean received(int i)
i - Index number
public boolean received()
public TypeTree type(int i)
i - Index number
public void recv(OIStream in,
int i)
throws java.lang.IllegalAccessException,
java.io.IOException,
java.lang.reflect.InvocationTargetException,
java.lang.NoSuchMethodException,
java.lang.ClassNotFoundException
in - Input streami - Index number
java.lang.IllegalAccessException
java.io.IOException
java.lang.reflect.InvocationTargetException
java.lang.NoSuchMethodException
java.lang.ClassNotFoundException
protected <T> void receive(T val,
int i)
val - Return valuei - Index numberpublic int intValue(int i)
i - Index number
public double doubleValue(int i)
i - Index number
public float floatValue(int i)
i - Index number
public java.lang.String StringValue(int i)
i - Index number
public java.lang.Object ObjectValue(int i)
i - Index number
public long longValue(int i)
i - Index number
public short shortValue(int i)
i - Index number
public boolean booleanValue(int i)
i - Index value
public java.lang.Object value()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||