org.apache.bsf.debug.util

Class ThreadCell

public class ThreadCell extends Object implements Runnable

Method Summary
voidcompletionNotify(ResultCell rcell)
voidpushInvocation(ResultCell rcell)
voidpushLoopback(ResultCell rcell)
voidrun()
Simply allows to switch to this thread... it automatically executes the top invocation on the stack.
voidwaitOnCompletion(ResultCell rcell)
Wait for completion of an outgoing invocation.

Method Detail

completionNotify

public void completionNotify(ResultCell rcell)

pushInvocation

public void pushInvocation(ResultCell rcell)

pushLoopback

public void pushLoopback(ResultCell rcell)

run

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

waitOnCompletion

public void waitOnCompletion(ResultCell rcell)
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.