org.apache.bsf.dbline

Class Callbacks

Implemented Interfaces:
BSFDebugger, JsCallbacks, Remote, RemoteService

public class Callbacks
extends Skeleton
implements BSFDebugger, JsCallbacks

This object is the remote object that will be passed to the remote debug manager as both the BSFDebugger and the JavaScript-specific callback object. Note: there is no obligation that both be implemented by the same object.

Method Summary

void
createdEngine(String lang, Object engine)
void
deletedEngine(Object engine)
void
disconnect()
void
handleBreakpointHit(JsContext cx)
void
handleEngineStopped(JsContext cx)
void
handleExceptionThrown(JsContext cx, Object exception)
void
handleSteppingDone(JsContext cx)
boolean
poll()

Methods inherited from class org.apache.bsf.debug.util.Skeleton

addListener, allocOid, completeFuture, createFuture, equals, getTid, getUid, hasNoUid, removeListener, suspendFuture

Method Details

createdEngine

public void createdEngine(String lang,
                          Object engine)
            throws RemoteException


deletedEngine

public void deletedEngine(Object engine)
            throws RemoteException


disconnect

public void disconnect()
            throws RemoteException


handleBreakpointHit

public void handleBreakpointHit(JsContext cx)
            throws RemoteException
Specified by:
handleBreakpointHit in interface JsCallbacks


handleEngineStopped

public void handleEngineStopped(JsContext cx)
            throws RemoteException
Specified by:
handleEngineStopped in interface JsCallbacks


handleExceptionThrown

public void handleExceptionThrown(JsContext cx,
                                  Object exception)
            throws RemoteException
Specified by:
handleExceptionThrown in interface JsCallbacks


handleSteppingDone

public void handleSteppingDone(JsContext cx)
            throws RemoteException
Specified by:
handleSteppingDone in interface JsCallbacks


poll

public boolean poll()
Specified by:
poll in interface JsCallbacks