|
||||||||||
| 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)
|
void |
breakpointRemoved(LapBreakpoint bp)
|
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()
Every time the debugger finished the evaluation, listeners are notified |
void |
evaluationReached()
Every time the debugger reaches this stage, it calls this method. |
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()
void pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
void evaluationFinished()
void breakpointAdded(LapBreakpoint bp)
void breakpointRemoved(LapBreakpoint bp)
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 | |||||||||