org.apache.bsf.debug.util

Class ThreadCell

Implemented Interfaces:
Runnable

public class ThreadCell
extends java.lang.Object
implements 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.

Method Details

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)
            throws 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.