* @return void
*/
public function discoverRecipients (array $packageData) {
+ // This must be available
+ assert($packageData[NetworkPackage::PACKAGE_DATA_RECIPIENT]);
+
// First try out the direct recipient (session id)
try {
// Get instance (should not break)
* @todo The if() does only check for TCP, not UDP, e.g. try to get a $handlerInstance here
*/
public function discoverRawRecipients (array $decodedData) {
+ // This must be available
+ assert($decodedData[NetworkPackage::PACKAGE_DATA_RECIPIENT]);
+
// First clear all recipients
$this->clearRecipients();