protected function __construct () {
// Call parent constructor
parent::__construct(__CLASS__);
+
+ // Init XML nodes array which contains the required data
+ $this->dataXmlNodes = array(
+ XmlRequestNodeListTemplateEngine::REQUEST_DATA_ACCEPTED_OBJECT_TYPES => '',
+ XmlRequestNodeListTemplateEngine::REQUEST_DATA_SESSION_ID => '',
+ );
}
/**
// Search for the node's session id and external IP/hostname + TCP port
foreach ($this->searchData as $key) {
+ // Debug message
+ //* DEBUG: */ $this->debugOutput('MESSAGE-HANDLER: messageData=' . print_r($messageData,true));
+
// Add criteria
$searchInstance->addCriteria('node_' . str_replace('my-', '', $key), $messageData[$key]);
} // END - foreach
} else {
// Something really horrible happened
// @TODO Throw an exception here instead of dying
- $this->debugInstance(__METHOD__ . ':IDs mismatch! messageData=' . print_r($messageData, true));
+ $this->debugInstance(__METHOD__ . ': ids mismatching! messageData=' . print_r($messageData, true));
}
}