org.apache.bsf.debug.meta

Class JsCallbacksStub

public class JsCallbacksStub extends Stub implements JsCallbacks

Constructor Summary
JsCallbacksStub(SocketConnection con, int tid, int uid)
Method Summary
voidhandleBreakpointHit(JsContext cx)
Callback when a breakpoint is hit in the debuggee.
voidhandleEngineStopped(JsContext cx)
Callback when an engine stops after a stop-request.
voidhandleExceptionThrown(JsContext cx, Object exception)
Callback when an exception is thrown in the debuggee.
voidhandleSteppingDone(JsContext cx)
Callback when a step-request has finished.
booleanpoll()
Allows the server to poll the connection.

Constructor Detail

JsCallbacksStub

public JsCallbacksStub(SocketConnection con, int tid, int uid)

Method Detail

handleBreakpointHit

public void handleBreakpointHit(JsContext cx)
Callback when a breakpoint is hit in the debuggee. The debuggee is suspended until this call returns.

handleEngineStopped

public void handleEngineStopped(JsContext cx)
Callback when an engine stops after a stop-request. The debuggee is suspended until this call returns.

handleExceptionThrown

public void handleExceptionThrown(JsContext cx, Object exception)
Callback when an exception is thrown in the debuggee. The debuggee is suspended until this call returns.

handleSteppingDone

public void handleSteppingDone(JsContext cx)
Callback when a step-request has finished. The debuggee is suspended until this call returns.

poll

public boolean poll()
Allows the server to poll the connection.