]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/tags/class_PackageDhtBootstrapTagFilter.php
The package hash needs to be copied to the message array as it needs to be
[hub.git] / application / hub / main / filter / tags / class_PackageDhtBootstrapTagFilter.php
index 0d8c5aab848c7d2e07a08233878a2070e2102740..c40c2c9e86884a3b8ca861fd4d6e8a784b33e638 100644 (file)
@@ -86,6 +86,19 @@ class PackageDhtBootstrapTagFilter extends BaseNodeFilter implements FilterableP
                // Process message generic
                $this->genericProcessMessage('dht_bootstrap', $messageData, $packageInstance);
        }
+
+       /**
+        * Post-processes the stacked message. Do not call popNamed() as then no
+        * other class can process the message.
+        *
+        * @param       $packageInstance        An instance of a Receivable class
+        * @return      void
+        * @throws      UnsupportedOperationException   If this method is called, please use processMessage() instead!
+        */
+       public function postProcessMessage (Receivable $packageInstance) {
+               // Please don't call this method
+               throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
+       }
 }
 
 // [EOF]