org.apache.bsf.debug.util

Class ResultCell


public class ResultCell
extends java.lang.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(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)

Field Details

bool

public boolean bool


classId

public int classId


cmdId

public int cmdId


disconnected

public boolean disconnected


done

public boolean done


dval

public double dval


engine

public JsEngine engine


fval

public float fval


methodId

public int methodId


oval

public Object oval


parent

public ResultCell parent


selfSkel

public Skeleton selfSkel


selfStub

public Stub selfStub


thread

public ThreadCell thread


tid

public int tid


uid

public int uid


val32

public int val32


val64

public long val64


waitingForCode

public int waitingForCode

Method Details

booleanResult

public void booleanResult(boolean val)


completionNotify

public void completionNotify()


doubleResult

public void doubleResult(double val)


floatResult

public void floatResult(float val)


getException

public Exception getException()


intResult

public void intResult(int val)


longResult

public void longResult(long val)


objectResult

public void objectResult(Object obj)


parseResult

public void parseResult()


print

public void print()


readBoolean

public boolean readBoolean()
            throws IOException
Default reading methods for unmarshalling in parameters from remote method calls.


readDouble

public double readDouble()
            throws IOException


readException

public void readException()
            throws IOException


readFloat

public float readFloat()
            throws IOException


readId

public int readId()
            throws IOException


readInt

public int readInt()
            throws IOException


readLong

public long readLong()
            throws IOException


readObject

public Object readObject()
            throws IOException


sendInvocation

public void sendInvocation()
            throws Exception


sendResult

public void sendResult()


setException

public void setException(Exception ex)


setPacketBytes

public void setPacketBytes(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.


toString

public String toString()


voidResult

public void voidResult()


waitForBooleanValue

public boolean waitForBooleanValue()
            throws Exception


waitForCompletion

public void waitForCompletion()
            throws Exception


waitForDoubleValue

public double waitForDoubleValue()
            throws Exception


waitForFloatValue

public float waitForFloatValue()
            throws Exception


waitForIntValue

public int waitForIntValue()
            throws Exception


waitForLongValue

public long waitForLongValue()
            throws Exception


waitForObject

public Object waitForObject()
            throws Exception


waitForValueObject

public Object waitForValueObject()
            throws Exception
The following methods are for waiting for the result of an outgoing method invocation.


writeBoolean

public void writeBoolean(boolean bool)
            throws IOException
Default writing methods for marshalling out parameters in remote method calls.


writeDouble

public void writeDouble(double dval)
            throws IOException


writeException

public void writeException()
            throws IOException


writeFloat

public void writeFloat(float fval)
            throws IOException


writeId

public void writeId(int id)
            throws IOException


writeInt

public void writeInt(int val32)
            throws IOException


writeLong

public void writeLong(long val64)
            throws IOException


writeObject

public void writeObject(Object object)
            throws IOException