public function __construct($msg) { parent::__construct(); $msg_as_array = json_decode($msg, true); $this->id = $msg_as_array['id']; $this->application_id = $msg_as_array['applicationId']; $this->app_version_id = $msg_as_array['appVersionId']; $this->event_id = $msg_as_array['eventId']; $this->arguments = $msg_as_array['arguments']; $this->target = $msg_as_array['target']; $this->timeout = $msg_as_array['timeout']; $this->async = $msg_as_array['async']; $this->decoded_arguments = null; if (GlobalState::$TYPE === 'CLOUD') { $this->relative_path = $msg_as_array['relativePath']; Config::$RELATIVE_PATH = $msg_as_array['relativePath']; Config::$TASK_APPLICATION_ID = $msg_as_array['applicationId']; ClassManager::analyze(); } }
public function __construct($msg) { parent::__construct(); $this->setAppVersionId($msg['appVersionId'])->setMethod($msg['method'])->setServiceVersionId($msg['serviceVersionId'])->setClassName($msg['className'])->setTimeout($msg['timeout'])->setInitAppData($msg['initAppData'])->setInvocationContext($msg['invocationContextDto'])->setRelativePath($msg['relativePath'])->setArguments($msg['arguments'])->setId($msg['id'])->setApplicationId($msg['applicationId'])->setLang($msg['lang'])->setServiceId($msg['serviceId'])->setFileType($msg['fileType'])->setProperties($msg['properties'])->setTimestamp($msg['timestamp']); $this->decoded_arguments = null; }
public function __construct($msg) { parent::__construct(); $this->setId($msg['id'])->setApplicationId($msg['applicationId'])->setAppVersionId($msg['appVersionId'])->setEventId($msg['eventId'])->setArguments($msg['arguments'])->setInitAppData($msg['initAppData'])->setTarget($msg['target'])->setTimeout($msg['timeout'])->setAsync($msg['async'])->setRelativePath($msg['relativePath']); $this->decoded_arguments = null; }
public function __construct($msg) { parent::__construct(); $this->setId($msg['id'])->setApplicationId($msg['applicationId'])->setAppVersionId($msg['appVersionId'])->setArgObject($msg['argObject'])->setTimeout($msg['timeout'])->setTimestamp($msg['timestamp'])->setActionType($msg['actionType'])->setRelativePath($msg['relativePath']); }