public SendEventScheduler(){
  ScheduledExecutorService service=Executors.newScheduledThreadPool(1);
  service.scheduleAtFixedRate(this,CallHomeConstants.SERVICE_START_LAG,CallHomeConstants.LAG_BETWEEN_RUNS,TimeUnit.SECONDS);
}

public SendEventScheduler ( ) { ScheduledExecutorService service = Executors . newScheduledThreadPool ( 1 ) ; service . scheduleAtFixedRate ( this , CallHomeConstants . SERVICE_START_LAG , CallHomeConstants . LAG_BETWEEN_RUNS , TimeUnit . SECONDS ) ; }
sets up the scheduler .
