*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2015 Hub Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
parent::__construct(__CLASS__);
// Set handler name
- $this->setHandlerName('message_type_===');
+ $this->setHandlerName('message_===');
// Init message data array
$this->messageDataElements = array(
- Xml???TemplateEngine::!!!_DATA_EXTERNAL_IP,
+ Xml???TemplateEngine::!!!_DATA_EXTERNAL_ADDRESS,
Xml???TemplateEngine::!!!_DATA_NODE_STATUS,
Xml???TemplateEngine::!!!_DATA_SESSION_ID,
- Xml???TemplateEngine::!!!_DATA_TCP_PORT,
- Xml???TemplateEngine::!!!_DATA_UDP_PORT
+ Xml???TemplateEngine::!!!_DATA_LISTEN_PORT,
);
}
assert(isset($messageData[$key]));
// Add it
- $dataSetInstance->addCriteria('node_' . $key, $messageData[$key]);
+ $dataSetInstance->addCriteria($key, $messageData[$key]);
} // END - foreach
}
+
+ /**
+ * Initializes configuration data from given message data array
+ *
+ * @param $messageData An array with all message data
+ * @return void
+ */
+ protected function initMessageConfigurationData (array $messageData) {
+ $this->partialStub('Please implement this method.');
+ }
+
+ /**
+ * Removes configuration data with given message data array from global
+ * configuration
+ *
+ * @param $messageData An array with all message data
+ * @return void
+ */
+ protected function removeMessageConfigurationData (array $messageData) {
+ $this->partialStub('Please implement this method.');
+ }
}
// [EOF]