lejos.nxt.comm
Class RConsole.Monitor

java.lang.Object
  extended by lejos.nxt.debug.DebugMonitor
      extended by lejos.nxt.comm.RConsole.Monitor
Enclosing class:
RConsole

public static class RConsole.Monitor
extends DebugMonitor

The following internal class provides an implicit remote console and also hooks into the debug event system.


Field Summary
 
Fields inherited from class lejos.nxt.debug.DebugMonitor
monitor
 
Constructor Summary
RConsole.Monitor()
           
 
Method Summary
protected  void exit()
          Exit the program
static void main(String[] args)
          Wait for the viewer to connect, and then run and monitor the user program.
protected  void processEvent(int event)
          Handle a debug event.
 
Methods inherited from class lejos.nxt.debug.DebugMonitor
displayException, displayThreads, monitorEvents
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RConsole.Monitor

public RConsole.Monitor()
Method Detail

exit

protected void exit()
Exit the program

Overrides:
exit in class DebugMonitor

processEvent

protected void processEvent(int event)
Handle a debug event.

Overrides:
processEvent in class DebugMonitor
Parameters:
event -

main

public static void main(String[] args)
                 throws Exception
Wait for the viewer to connect, and then run and monitor the user program.

Parameters:
args -
Throws:
Exception