code: public void simulate(LocationSource locationSource, long period, boolean isDaemon) throws IOException
      {
          this.locationSource = locationSource;
          dis = new DataInputStream(new BufferedInputStream(url.openStream()));
          if (timer == null)
          {
              timer = new Timer("AnchorageSimulator", isDaemon);
          }
          timer.scheduleAtFixedRate(this, 0, period);
      }
docs: Starts simulating anchorige.
  @param locationSource
  @param period Update rate in millis.
  @param isDaemon Sets timer thread. In single thread this should be false.
  This parament is used only if external Timer was not provided!
  @throws IOException