org.apache.bsf.debug.util
Class ThreadCell

java.lang.Object
  |
  +--org.apache.bsf.debug.util.ThreadCell
All Implemented Interfaces:
java.lang.Runnable

public class ThreadCell
extends java.lang.Object
implements java.lang.Runnable


Method Summary
 void completionNotify(ResultCell rcell)
           
 void pushInvocation(ResultCell rcell)
           
 void pushLoopback(ResultCell rcell)
           
 void run()
          Simply allows to switch to this thread...
 void waitOnCompletion(ResultCell rcell)
          Wait for completion of an outgoing invocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

run

public void run()
Simply allows to switch to this thread... it automatically executes the top invocation on the stack.

Specified by:
run in interface java.lang.Runnable

waitOnCompletion

public void waitOnCompletion(ResultCell rcell)
                      throws java.lang.Exception
Wait for completion of an outgoing invocation. While waiting, it is possible to have a loopback condition, in which case this thread is reused to carry on the incoming invocation.

java.lang.Exception

completionNotify

public void completionNotify(ResultCell rcell)

pushLoopback

public void pushLoopback(ResultCell rcell)

pushInvocation

public void pushInvocation(ResultCell rcell)