Exemplo n.º 1
0
 public void run() {
   while (true) {
     System.out.println("Forcing log playback");
     eventControl.play(65535, 256);
     try {
       Thread.sleep(NODE_START_PERIOD);
     } catch (Exception e) {
     }
   }
 }
Exemplo n.º 2
0
  public EventListModel() {
    eventConnector = new EventConnector("event_schema.txt");
    eventConnector.setListener(this);

    eventControl = new EventLoggerControl();
    eventControl.stop(65535);

    Thread thread = new Thread(this);
    thread.setDaemon(true);
    thread.start();
  }