]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/wrapper/class_NodeDhtWrapper.php
Continued with DHT stuff:
[hub.git] / application / hub / interfaces / wrapper / class_NodeDhtWrapper.php
index 938a3189ff2897cdb2647ed5d4750fe7f7d44ba9..b962cc9de0558d928e17342495820221878414da 100644 (file)
@@ -148,6 +148,16 @@ interface NodeDhtWrapper extends DatabaseWrapper {
         * @return      $recipients             An indexed array with DHT recipients
         */
        function getResultFromExcludedSender (array $packageData);
+
+       /**
+        * Find recopients by given key/value pair. First look for the key and if it
+        * matches, compare the value.
+        *
+        * @param       $key                    Key to look for
+        * @param       $value                  Value to compare if key matches
+        * @return      $recipients             An indexed array with DHT recipients
+        */
+       function getResultFromKeyValue ($key, $value);
 }
 
 // [EOF]