jobsManager = new IHMJobsManagerClass(); } /* * @brief translate input data from IHM client to AMDA_Integration module for a tt process request */ public function getInputData($input, $function, $requestId="") { if (isset($this->processDatas)) unset($this->processDatas); if (!$res['success']) throw new Exception($res['message']); foreach($input->list as $tt) { //create a list of data to treat $processData = new TTRequestDataClass(); $processData->setInputTimeTable($tt); $processData->setInputFormat($input); $processData->setOutputDir(); $processData->setOutputTimeTable($tt); $processData->setOutputFormat(); $processData->setCompression(); $this->processDatas[] = $processData; } return $this->processDatas; } /* * @brief translate output data from AMDA_Integration module to IHM client request */ public function getOutput($data) { $result = array(); foreach ($data as $d) { if (!$d->getSuccess()) continue; } return $result; } } } ?>