|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.bsf.debug.util.Skeleton
org.apache.bsf.dbline.Callbacks
public class Callbacks
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(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. |
Methods inherited from class org.apache.bsf.debug.util.Skeleton |
---|
addListener, allocOid, completeFuture, createFuture, equals, getTid, getUid, hasNoUid, removeListener, suspendFuture |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.bsf.debug.util.RemoteService |
---|
addListener, completeFuture, createFuture, removeListener, suspendFuture |
Methods inherited from interface org.apache.bsf.debug.util.RemoteService |
---|
addListener, completeFuture, createFuture, removeListener, suspendFuture |
Method Detail |
---|
public boolean poll()
JsCallbacks
poll
in interface JsCallbacks
public void createdEngine(java.lang.String lang, java.lang.Object engine) throws java.rmi.RemoteException
BSFDebugger
createdEngine
in interface BSFDebugger
java.rmi.RemoteException
public void deletedEngine(java.lang.Object engine) throws java.rmi.RemoteException
BSFDebugger
deletedEngine
in interface BSFDebugger
java.rmi.RemoteException
public void disconnect() throws java.rmi.RemoteException
BSFDebugger
disconnect
in interface BSFDebugger
java.rmi.RemoteException
public void handleBreakpointHit(JsContext cx) throws java.rmi.RemoteException
JsCallbacks
handleBreakpointHit
in interface JsCallbacks
java.rmi.RemoteException
public void handleEngineStopped(JsContext cx) throws java.rmi.RemoteException
JsCallbacks
handleEngineStopped
in interface JsCallbacks
java.rmi.RemoteException
public void handleExceptionThrown(JsContext cx, java.lang.Object exception) throws java.rmi.RemoteException
JsCallbacks
handleExceptionThrown
in interface JsCallbacks
java.rmi.RemoteException
public void handleSteppingDone(JsContext cx) throws java.rmi.RemoteException
JsCallbacks
handleSteppingDone
in interface JsCallbacks
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |