org.apache.bsf.debug.util
Class ResultCell

java.lang.Object
  extended by org.apache.bsf.debug.util.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
           
 java.lang.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)
           
 java.lang.Exception getException()
           
 void intResult(int val)
           
 void longResult(long val)
           
 void objectResult(java.lang.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()
           
 java.lang.Object readObject()
           
 void sendInvocation()
           
 void sendResult()
           
 void setException(java.lang.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.
 java.lang.String toString()
           
 void voidResult()
           
 boolean waitForBooleanValue()
           
 void waitForCompletion()
           
 double waitForDoubleValue()
           
 float waitForFloatValue()
           
 int waitForIntValue()
           
 long waitForLongValue()
           
 java.lang.Object waitForObject()
           
 java.lang.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(java.lang.Object object)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

val32

public int val32

val64

public long val64

fval

public float fval

dval

public double dval

oval

public java.lang.Object oval

bool

public boolean bool

tid

public int tid

uid

public int uid

classId

public int classId

methodId

public int methodId

cmdId

public int cmdId

waitingForCode

public int waitingForCode

thread

public ThreadCell thread

parent

public ResultCell parent

engine

public JsEngine engine

selfStub

public Stub selfStub

selfSkel

public Skeleton selfSkel

done

public boolean done

disconnected

public boolean disconnected
Method Detail

print

public void print()

getException

public java.lang.Exception getException()

setException

public void setException(java.lang.Exception ex)

writeException

public void writeException()
                    throws java.io.IOException
Throws:
java.io.IOException

readException

public void readException()
                   throws java.io.IOException
Throws:
java.io.IOException

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setPacketBytes

public 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.


completionNotify

public void completionNotify()

parseResult

public void parseResult()

sendResult

public void sendResult()

sendInvocation

public void sendInvocation()
                    throws java.lang.Exception
Throws:
java.lang.Exception

voidResult

public void voidResult()

booleanResult

public void booleanResult(boolean val)

intResult

public void intResult(int val)

longResult

public void longResult(long val)

floatResult

public void floatResult(float val)

doubleResult

public void doubleResult(double val)

objectResult

public void objectResult(java.lang.Object obj)

writeBoolean

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

Throws:
java.io.IOException

writeId

public void writeId(int id)
             throws java.io.IOException
Throws:
java.io.IOException

writeInt

public void writeInt(int val32)
              throws java.io.IOException
Throws:
java.io.IOException

writeLong

public void writeLong(long val64)
               throws java.io.IOException
Throws:
java.io.IOException

writeFloat

public void writeFloat(float fval)
                throws java.io.IOException
Throws:
java.io.IOException

writeDouble

public void writeDouble(double dval)
                 throws java.io.IOException
Throws:
java.io.IOException

writeObject

public void writeObject(java.lang.Object object)
                 throws java.io.IOException
Throws:
java.io.IOException

readBoolean

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

Throws:
java.io.IOException

readId

public int readId()
           throws java.io.IOException
Throws:
java.io.IOException

readInt

public int readInt()
            throws java.io.IOException
Throws:
java.io.IOException

readLong

public long readLong()
              throws java.io.IOException
Throws:
java.io.IOException

readFloat

public float readFloat()
                throws java.io.IOException
Throws:
java.io.IOException

readDouble

public double readDouble()
                  throws java.io.IOException
Throws:
java.io.IOException

readObject

public java.lang.Object readObject()
                            throws java.io.IOException
Throws:
java.io.IOException

waitForValueObject

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

Throws:
java.lang.Exception

waitForBooleanValue

public boolean waitForBooleanValue()
                            throws java.lang.Exception
Throws:
java.lang.Exception

waitForIntValue

public int waitForIntValue()
                    throws java.lang.Exception
Throws:
java.lang.Exception

waitForLongValue

public long waitForLongValue()
                      throws java.lang.Exception
Throws:
java.lang.Exception

waitForFloatValue

public float waitForFloatValue()
                        throws java.lang.Exception
Throws:
java.lang.Exception

waitForDoubleValue

public double waitForDoubleValue()
                          throws java.lang.Exception
Throws:
java.lang.Exception

waitForCompletion

public void waitForCompletion()
                       throws java.lang.Exception
Throws:
java.lang.Exception

waitForObject

public java.lang.Object waitForObject()
                               throws java.lang.Exception
Throws:
java.lang.Exception