]> git.mxchange.org Git - hub.git/commitdiff
Added missing 'package tags'
authorRoland Häder <roland@mxchange.org>
Thu, 14 Feb 2013 22:23:40 +0000 (22:23 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 14 Feb 2013 22:23:40 +0000 (22:23 +0000)
application/hub/main/helper/dht/class_DhtBootstrapHelper.php
application/hub/main/package/class_NetworkPackage.php

index 110bf25ead38e232df007a7613563790270ce12e..d3177450be4647713be1137c8a97a048f229477e 100644 (file)
@@ -34,6 +34,9 @@ class DhtBootstrapHelper extends BaseHubSystemHelper implements HelpableDht {
 
                // Set recipient type
                $this->setRecipientType(NetworkPackage::NETWORK_TARGET_DHT);
+
+               // Set package tags
+               $this->setPackageTags(array('dht_bootstrap'));
        }
 
        /**
index 09ca858bfc79bf88f11b51bc29fc35b070412fe7..9aca332c010b0f11d1e0548f462bb07694a8c823 100644 (file)
@@ -145,6 +145,11 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
         */
        const NETWORK_TARGET_SELF = 'self';
 
+       /**
+        * Network target (alias): 'dht'
+        */
+       const NETWORK_TARGET_DHT = 'dht';
+
        /**
         * TCP package size in bytes
         */