*/
private $infoInstance = NULL;
- /**
- * Name of used protocol
- */
- private $protocolName = 'invalid';
-
/**
* Protected constructor
*
return $this->getConfigInstance()->getConfigEntry('session_id');
}
- /**
- * Getter for protocol name
- *
- * @return $protocolName Name of used protocol
- */
- public final function getProtocolName () {
- return $this->protocolName;
- }
-
- /**
- * Setter for protocol name
- *
- * @param $protocolName Name of used protocol
- * @return void
- */
- protected final function setProtocolName ($protocolName) {
- $this->protocolName = $protocolName;
- }
-
/**
* Constructs a callable method name from given socket error code. If the
* method is not found, a generic one is used.
$this->handleSocketError(__METHOD__, __LINE__, $newSocket, array('0.0.0.0', '0'));
} // END - if
+ // Get node instance
+ $nodeInstance = Registry::getRegistry()->getInstance('node');
+
// Create a faked package data array
$packageData = array(
NetworkPackage::PACKAGE_DATA_SENDER => $peerName . ':0',
- NetworkPackage::PACKAGE_DATA_RECIPIENT => $this->getSessionId(),
+ NetworkPackage::PACKAGE_DATA_RECIPIENT => $nodeInstance->getSessionId(),
NetworkPackage::PACKAGE_DATA_STATUS => NetworkPackage::PACKAGE_STATUS_FAKED
);