|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface IDebugEngineListener
This is an interface for displayer of debugging. Component that implements
this will be notified about reaching the evaluating phase of some AI engine
(for now, only POSH), connection, disconnection and other stuff.
IMPORTANT: All these methods are supposed to be called on EDT ( swing
thread, because some listeners will draw onto the screen).
| Method Summary | |
|---|---|
void |
breakpointAdded(LapBreakpoint bp)
Notify listeners about new breakpoint |
void |
breakpointRemoved(LapBreakpoint bp)
Notify listeners that breakpoint was removed |
void |
connected()
This method is called when debugger has successfully connected to the engine. |
void |
disconnected(String message,
boolean error)
When debugger crashes or user asks to be disconnected, it will sooner or later cause this. |
void |
evaluationFinished()
Debugger is about to leave PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor). |
void |
evaluationReached()
Debugger has reached PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor). |
void |
pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
Notify about path that is about to be fired. |
void |
planRecieved(String name,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
Called when plan was recieved. |
| Method Detail |
|---|
void connected()
void planRecieved(String name,
cz.cuni.amis.pogamut.sposh.elements.PoshPlan plan)
name - name used to identify the instance of the engine that is
running this planplan - String representation of plan (e.g. POSH or Shade)void evaluationReached()
PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor).
void pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
void evaluationFinished()
PoshEngine.evaluatePlan(cz.cuni.amis.pogamut.sposh.executor.IWorkExecutor).
void breakpointAdded(LapBreakpoint bp)
bp - New breakpointvoid breakpointRemoved(LapBreakpoint bp)
bp - removed breakpoint
void disconnected(String message,
boolean error)
message - Optional message to display the user.error - Was debugger disconnected because of an error or was it OK.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||