org.apache.bsf.debug.meta
Class JsCallbacksStub
java.lang.Object
|
+--org.apache.bsf.debug.util.Stub
|
+--org.apache.bsf.debug.meta.JsCallbacksStub
- All Implemented Interfaces:
- JsCallbacks, java.rmi.Remote, RemoteService
- Direct Known Subclasses:
- DebuggerStub
- public class JsCallbacksStub
- extends Stub
- implements JsCallbacks
Methods inherited from class org.apache.bsf.debug.util.Stub |
addListener, completeFuture, createFuture, equals, getConnection, getTid, getUid, Init, removeListener, revoked, revokeFuture, suspendFuture, swizzle |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JsCallbacksStub
public JsCallbacksStub(SocketConnection con,
int tid,
int uid)
poll
public boolean poll()
throws java.rmi.RemoteException
- Allows the server to poll the connection.
- Specified by:
poll
in interface JsCallbacks
java.rmi.RemoteException
handleBreakpointHit
public void handleBreakpointHit(JsContext cx)
throws java.rmi.RemoteException
- Callback when a breakpoint is hit in the debuggee.
The debuggee is suspended until this call returns.
- Specified by:
handleBreakpointHit
in interface JsCallbacks
java.rmi.RemoteException
handleEngineStopped
public void handleEngineStopped(JsContext cx)
throws java.rmi.RemoteException
- Callback when an engine stops after a stop-request.
The debuggee is suspended until this call returns.
- Specified by:
handleEngineStopped
in interface JsCallbacks
java.rmi.RemoteException
handleExceptionThrown
public void handleExceptionThrown(JsContext cx,
java.lang.Object exception)
throws java.rmi.RemoteException
- Callback when an exception is thrown in the debuggee.
The debuggee is suspended until this call returns.
- Specified by:
handleExceptionThrown
in interface JsCallbacks
java.rmi.RemoteException
handleSteppingDone
public void handleSteppingDone(JsContext cx)
throws java.rmi.RemoteException
- Callback when a step-request has finished.
The debuggee is suspended until this call returns.
- Specified by:
handleSteppingDone
in interface JsCallbacks
java.rmi.RemoteException