com.evelopers.unimod.debug.app
Class AppDebugger
java.lang.Object
com.evelopers.unimod.debug.app.AppDebugger
- public class AppDebugger
- extends java.lang.Object
ModelEngine remote debugger. Client-side or application that is being debugged side.
To use it, create your ModelEngine, before starting engine, call
new AppDebugger(port, engine.getEventProcessor(), new SomeMessageCoder()) and
then call start()
. After this you may start engine that is being debugged
Constructor Summary |
AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged)
|
AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged,
Logger log)
Create app-side debugger engine |
AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged,
org.xml.sax.XMLReader xmlReader,
Logger log)
Create app-side debugger engine |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AppDebugger
public AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged,
Logger log)
throws com.evelopers.common.exception.CommonException,
java.io.IOException
- Create app-side debugger engine
- Parameters:
port
- port to listen to incomming debugger connectionmustSuspend
- it true, engine will be suspended till debugger connectioncoder
- message coder to usedebugged
- model engine that is being debugged
- Throws:
com.evelopers.common.exception.CommonException
java.io.IOException
AppDebugger
public AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged)
throws com.evelopers.common.exception.CommonException,
java.io.IOException
AppDebugger
public AppDebugger(int port,
boolean mustSuspend,
MessageCoder coder,
ModelEngine debugged,
org.xml.sax.XMLReader xmlReader,
Logger log)
throws com.evelopers.common.exception.CommonException,
java.io.IOException
- Create app-side debugger engine
- Parameters:
port
- port to listen to incomming debugger connectionmustSuspend
- it true, engine will be suspended till debugger connectioncoder
- message coder to usedebugged
- model engine that is being debugged
- Throws:
com.evelopers.common.exception.CommonException
java.io.IOException
start
public void start()
throws com.evelopers.common.exception.CommonException
- Throws:
com.evelopers.common.exception.CommonException
disposeEventProviders
protected void disposeEventProviders()
stop
public void stop()