findLocalAgents(); wakeAlarm = new WakeAlarm((new Date()).getTime() + TIMER_INTERVAL);
if (getType(thisAgent) == NODE) { findLocalAgents(); } wakeAlarm = new WakeAlarm(now() + TIMER_INTERVAL);
  public void execute() {    if ((wakeAlarm != null) &&        ((wakeAlarm.hasExpired()))) {      checkExpirations();      sendEvents();      findLocalAgents();      wakeAlarm = new WakeAlarm((new Date()).getTime() + TIMER_INTERVAL);      alarmService.addRealTimeAlarm(wakeAlarm);    }  }