- * Setter for node id
- *
- * @param $nodeId Our new node id
- * @return void
- */
- private final function setNodeId ($nodeId) {
- // Set it config now
- $this->getConfigInstance()->setConfigEntry('node_id', (string) $nodeId);
- }
-
- /**
- * Getter for node id
- *
- * @return $nodeId Current node id
- */
- private final function getNodeId () {
- // Get it from config
- return $this->getConfigInstance()->getConfigEntry('node_id');
- }
-
- /**
- * Setter for listener pool instance
- *
- * @param $listenerPoolInstance Our new listener pool instance
- * @return void
- */
- private final function setListenerPoolInstance (PoolableListener $listenerPoolInstance) {
- $this->listenerPoolInstance = $listenerPoolInstance;
- }
-
- /**
- * Getter for listener pool instance
- *
- * @return $listenerPoolInstance Our current listener pool instance
- */
- public final function getListenerPoolInstance () {
- return $this->listenerPoolInstance;
- }
-
- /**
- * Setter for node state instance
- *
- * @param $nodeStateInstance Node's current state instance
- * @return void
- */
- public final function setNodeStateInstance (NodeStateable $nodeStateInstance) {
- $this->nodeStateInstance = $nodeStateInstance;
- }
-
- /**
- * Getter for node state instance
- *
- * @return $nodeStateInstance Node's current state instance
- */
- public final function getNodeStateInstance () {
- return $this->nodeStateInstance;
- }
-
- /**
- * Setter for session id