/**
* Some XML nodes must be available for later data extraction
*/
- const BOOTSTRAP_DATA_SESSION_ID = 'session-id';
- const BOOTSTRAP_DATA_NODE_STATUS = 'node-status';
- const BOOTSTRAP_DATA_NODE_MODE = 'node-mode';
- const BOOTSTRAP_DATA_EXTERNAL_IP = 'external-ip';
- const BOOTSTRAP_DATA_INTERNAL_IP = 'internal-ip';
- const BOOTSTRAP_DATA_LISTEN_PORT = 'listen-port';
+ const DHT_BOOTSTRAP_DATA_SESSION_ID = 'session-id';
+ const DHT_BOOTSTRAP_DATA_NODE_STATUS = 'node-status';
+ const DHT_BOOTSTRAP_DATA_NODE_MODE = 'node-mode';
+ const DHT_BOOTSTRAP_DATA_EXTERNAL_IP = 'external-ip';
+ const DHT_BOOTSTRAP_DATA_INTERNAL_IP = 'internal-ip';
+ const DHT_BOOTSTRAP_DATA_LISTEN_PORT = 'listen-port';
/**
* Protected constructor
$this->subNodes = array(
'bootstrap-data',
'listener',
- self::BOOTSTRAP_DATA_NODE_STATUS,
- self::BOOTSTRAP_DATA_NODE_MODE,
- self::BOOTSTRAP_DATA_LISTEN_PORT,
- self::BOOTSTRAP_DATA_SESSION_ID,
- self::BOOTSTRAP_DATA_EXTERNAL_IP,
- self::BOOTSTRAP_DATA_INTERNAL_IP,
+ self::DHT_BOOTSTRAP_DATA_NODE_STATUS,
+ self::DHT_BOOTSTRAP_DATA_NODE_MODE,
+ self::DHT_BOOTSTRAP_DATA_LISTEN_PORT,
+ self::DHT_BOOTSTRAP_DATA_SESSION_ID,
+ self::DHT_BOOTSTRAP_DATA_EXTERNAL_IP,
+ self::DHT_BOOTSTRAP_DATA_INTERNAL_IP,
'object-type-list',
);
}
*/
protected function startNodeStatus () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_NODE_STATUS);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_NODE_STATUS);
}
/**
*/
protected function startNodeMode () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_NODE_MODE);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_NODE_MODE);
}
/**
*/
protected function startListenPort () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_LISTEN_PORT);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_LISTEN_PORT);
}
/**
*/
protected function startSessionId () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_SESSION_ID);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_SESSION_ID);
}
/**
*/
protected function startExternalIp () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_EXTERNAL_IP);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_EXTERNAL_IP);
}
/**
*/
protected function startInternalIp () {
// Push the node name on the stacker
- $this->getStackerInstance()->pushNamed('dht_bootstrap', self::BOOTSTRAP_DATA_INTERNAL_IP);
+ $this->getStackerInstance()->pushNamed('dht_bootstrap', self::DHT_BOOTSTRAP_DATA_INTERNAL_IP);
}
/**