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

java.lang.Objectcz.cuni.amis.pogamut.sposh.dbg.engine.AbstractDebugEngine
cz.cuni.amis.dash.YaposhEngine
public final class YaposhEngine
Class attached to a Yaposh engine debugged in NetBeans. This class creates
various java breakpoints in the Yaposh engine and listens,
when engine does trigger them, e.g. it has breakpoint that listens for EngineLog.pathReached(cz.cuni.amis.pogamut.sposh.elements.LapPath) and when some path is reached, it notifys listeners.
| Constructor Summary | |
|---|---|
YaposhEngine(EngineThread engineThread)
Create the engine. |
|
| Method Summary | |
|---|---|
boolean |
addBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path,
boolean single)
Add breakpoint at the node at @path and notify listeners. |
void |
disconnect(String reason,
boolean error)
Disconnect from the debugged engine. |
void |
initialize()
Create ServerManager and add all needed breakpoints to the
engine. |
boolean |
removeBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
Remove breakpoint at node found at @path. |
| Methods inherited from class cz.cuni.amis.pogamut.sposh.dbg.engine.AbstractDebugEngine |
|---|
addListener, getListeners, notifyConnected, notifyDisconnected, notifyEvaluationFinished, notifyEvaluationReached, notifyPathReached, notifyPlanRecieved, removeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public YaposhEngine(EngineThread engineThread)
engineThread - Thread of the debugged Yaposh engine.| Method Detail |
|---|
public void initialize()
ServerManager and add all needed breakpoints to the
engine. Notify listeners of engine that we are now connected to the
engine.
public void disconnect(String reason,
boolean error)
ServerManager
and remove breakpoints from the debugged Yaposh engine. Notify listeners
that we are now disconnected from the engine.
reason - Why are we disconnecting, passed to listenerserror - Are we disconnecting because of error? Pass to listeners.
public boolean addBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path,
boolean single)
path - Path at which we want to add breakpoint.single - Is it a single breakpoint or permanent?
public boolean removeBreakpoint(cz.cuni.amis.pogamut.sposh.elements.LapPath path)
path - Path where is breakpoint we want to remove
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||