Example #1
0
 private function updateMessageQueue($agent, $originalMsgId, $msgId)
 {
     $res = DataObject::updateEvent($agent->agentId, $originalMsgId, $msgId);
     if ($res == 1) {
         $timestamp = Utility::createTimestamp();
         $msgId_u = Utility::createMessageId();
         XmlHelper::buildSuccessMessage($msgId_u, $timestamp, $agent->sourceId, $msgId, 0, $originalMsg = null, $desc = null);
     } else {
         GeneralError::EventACKError($this->xml);
     }
 }