



class Reproject implements Runnable
{
   String id;
   String prefix;
   String fileName;
   String[] response;
   DatasetsAmqp datasets;

   public Reproject(DatasetsAmqp datasets, String id, String prefix, String fileName)
   {
      this.datasets  = datasets;
      this.id        = id;
      this.prefix    = prefix;
      this.fileName  = fileName;
   }


   @Override
   public void run()
   {
      String name = Thread.currentThread().getName();
      DatasetsAmqp.LOGGER.info("Start of " + name);
      response = datasets.mergefiles_reproject(id, prefix, fileName);
      DatasetsAmqp.LOGGER.info("End   of " + name);
   }

}

