org.apache.bsf.debug.util
public class ResultCell extends Object
| Field Summary | |
|---|---|
| boolean | bool |
| int | classId |
| int | cmdId |
| boolean | disconnected |
| boolean | done |
| double | dval |
| JsEngine | engine |
| float | fval |
| int | methodId |
| Object | oval |
| ResultCell | parent |
| Skeleton | selfSkel |
| Stub | selfStub |
| ThreadCell | thread |
| int | tid |
| int | uid |
| int | val32 |
| long | val64 |
| int | waitingForCode |
| Method Summary | |
|---|---|
| void | booleanResult(boolean val) |
| void | completionNotify() |
| void | doubleResult(double val) |
| void | floatResult(float val) |
| Exception | getException() |
| void | intResult(int val) |
| void | longResult(long val) |
| void | objectResult(Object obj) |
| void | parseResult() |
| void | print() |
| boolean | readBoolean()
Default reading methods for unmarshalling in parameters
from remote method calls. |
| double | readDouble() |
| void | readException() |
| float | readFloat() |
| int | readId() |
| int | readInt() |
| long | readLong() |
| Object | readObject() |
| void | sendInvocation() |
| void | sendResult() |
| void | setException(Exception ex) |
| void | setPacketBytes(byte[] bytes)
Once a packet has been read from the socket,
it is passed to the ResultCell and further processed
to parse the remaining data item. |
| String | toString() |
| void | voidResult() |
| boolean | waitForBooleanValue() |
| void | waitForCompletion() |
| double | waitForDoubleValue() |
| float | waitForFloatValue() |
| int | waitForIntValue() |
| long | waitForLongValue() |
| Object | waitForObject() |
| Object | waitForValueObject()
The following methods are for waiting for the result of an
outgoing method invocation. |
| void | writeBoolean(boolean bool)
Default writing methods for marshalling out parameters
in remote method calls. |
| void | writeDouble(double dval) |
| void | writeException() |
| void | writeFloat(float fval) |
| void | writeId(int id) |
| void | writeInt(int val32) |
| void | writeLong(long val64) |
| void | writeObject(Object object) |