*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
$listInstance = RecipientListFactory::createRecipientListInstance();
// We do some rudimentary checks but this might be a bit ugly
- switch ($packageData['recipient']) {
+ switch ($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]) {
// All upper hubs, these are currently the bootstrap nodes and later on prepended list-nodes
case NetworkPackage::NETWORK_TARGET_UPPER_HUBS:
// Get all bootstrap nodes
// This may be a direct recipient (hub's session id)
default:
- $this->partialStub('Please add code handling recipients ' . $packageData['recipient']);
+ $this->partialStub('Please add code handling recipients ' . $packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]);
break;
} // END - switch
}