



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

   public Reproject(VlkbAmqp 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();
      VlkbAmqp.LOGGER.info("Start of " + name);
      response = datasets.mergefiles_reproject(id, prefix, fileName);
      VlkbAmqp.LOGGER.info("End   of " + name);
   }

}

