lejos.nxt.comm
Class RConsole.Monitor
java.lang.Object
lejos.nxt.debug.DebugMonitor
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.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RConsole.Monitor
public RConsole.Monitor()
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