$this->dataXmlNodes = array(
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_EXTERNAL_IP => '',
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_IP => '',
- XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS => '',
+ XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATE => '',
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_SESSION_ID => '',
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_TCP_PORT => 9060,
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_UDP_PORT => 9060
* Some XML nodes must be available for later data extraction
*/
const ANNOUNCEMENT_DATA_SESSION_ID = 'my-session-id';
- const ANNOUNCEMENT_DATA_NODE_STATUS = 'my-status';
+ const ANNOUNCEMENT_DATA_NODE_STATE = 'my-state';
const ANNOUNCEMENT_DATA_EXTERNAL_IP = 'my-external-ip';
const ANNOUNCEMENT_DATA_INTERNAL_IP = 'my-internal-ip';
const ANNOUNCEMENT_DATA_TCP_PORT = 'my-tcp-port';
'my-tcp-port',
'my-udp-port',
'my-session-id',
- 'my-status',
+ 'my-state',
// Data from other node
'your-external-ip',
'your-internal-ip',
}
/**
- * Starts the my-status
+ * Starts the my-state
*
* @return void
*/
- private function startMyStatus () {
+ private function startMyState () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('announcement_answer', 'my-status');
+ $this->getStackerInstance()->pushNamed('announcement_answer', 'my-state');
}
/**
- * Finishes the my-status
+ * Finishes the my-state
*
* @return void
*/
- private function finishMyStatus () {
+ private function finishMyState () {
// Pop the last entry
$this->getStackerInstance()->popNamed('announcement_answer');
}