public class Callbacks extends Skeleton implements BSFDebugger, JsCallbacks
| Modifier and Type | Method and Description |
|---|---|
void |
createdEngine(java.lang.String lang,
java.lang.Object engine)
An language engine has been created.
|
void |
deletedEngine(java.lang.Object engine)
An language engine has been terminated.
|
void |
disconnect()
The connection to the debug manager has been revoked.
|
void |
handleBreakpointHit(JsContext cx)
Callback when a breakpoint is hit in the debuggee.
|
void |
handleEngineStopped(JsContext cx)
Callback when an engine stops after a stop-request.
|
void |
handleExceptionThrown(JsContext cx,
java.lang.Object exception)
Callback when an exception is thrown in the debuggee.
|
void |
handleSteppingDone(JsContext cx)
Callback when a step-request has finished.
|
boolean |
poll()
Allows the server to poll the connection.
|
addListener, allocOid, completeFuture, createFuture, equals, getTid, getUid, hasNoUid, removeListener, suspendFutureclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddListener, completeFuture, createFuture, removeListener, suspendFuturepublic boolean poll()
JsCallbackspoll in interface JsCallbackspublic void createdEngine(java.lang.String lang,
java.lang.Object engine)
throws java.rmi.RemoteException
BSFDebuggercreatedEngine in interface BSFDebuggerjava.rmi.RemoteExceptionpublic void deletedEngine(java.lang.Object engine)
throws java.rmi.RemoteException
BSFDebuggerdeletedEngine in interface BSFDebuggerjava.rmi.RemoteExceptionpublic void disconnect()
throws java.rmi.RemoteException
BSFDebuggerdisconnect in interface BSFDebuggerjava.rmi.RemoteExceptionpublic void handleBreakpointHit(JsContext cx) throws java.rmi.RemoteException
JsCallbackshandleBreakpointHit in interface JsCallbacksjava.rmi.RemoteExceptionpublic void handleEngineStopped(JsContext cx) throws java.rmi.RemoteException
JsCallbackshandleEngineStopped in interface JsCallbacksjava.rmi.RemoteExceptionpublic void handleExceptionThrown(JsContext cx, java.lang.Object exception) throws java.rmi.RemoteException
JsCallbackshandleExceptionThrown in interface JsCallbacksjava.rmi.RemoteExceptionpublic void handleSteppingDone(JsContext cx) throws java.rmi.RemoteException
JsCallbackshandleSteppingDone in interface JsCallbacksjava.rmi.RemoteException