$this->dataXmlNodes = array(
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_EXTERNAL_IP => '',
XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_INTERNAL_IP => '',
- XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATE => '',
+ XmlAnnouncementAnswerTemplateEngine::ANNOUNCEMENT_DATA_NODE_STATUS => '',
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_STATE = 'my-state';
+ const ANNOUNCEMENT_DATA_NODE_STATUS = 'my-status';
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-state',
+ 'my-status',
// Data from other node
'your-external-ip',
'your-internal-ip',
}
/**
- * Starts the my-state
+ * Starts the my-status
*
* @return void
*/
- private function startMyState () {
+ private function startMyStatus () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('announcement_answer', 'my-state');
+ $this->getStackerInstance()->pushNamed('announcement_answer', 'my-status');
}
/**
- * Finishes the my-state
+ * Finishes the my-status
*
* @return void
*/
- private function finishMyState () {
+ private function finishMyStatus () {
// Pop the last entry
$this->getStackerInstance()->popNamed('announcement_answer');
}