com.evelopers.unimod.debug.app
Class AppDebugger

java.lang.Object
  extended bycom.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
 
Method Summary
protected  void disposeEventProviders()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 connection
mustSuspend - it true, engine will be suspended till debugger connection
coder - message coder to use
debugged - 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 connection
mustSuspend - it true, engine will be suspended till debugger connection
coder - message coder to use
debugged - model engine that is being debugged
Throws:
com.evelopers.common.exception.CommonException
java.io.IOException
Method Detail

start

public void start()
           throws com.evelopers.common.exception.CommonException
Throws:
com.evelopers.common.exception.CommonException

disposeEventProviders

protected void disposeEventProviders()

stop

public void stop()