]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/distributable/class_Distributable.php
Introduced ifDhtIsBooting(), updated TODOs.txt
[hub.git] / application / hub / interfaces / distributable / class_Distributable.php
index 81a85c3a6cdd3ee63e560bea7ded28fbca40b827..8adbc8d64b822eef96c3b40e86a24a9f7aacf22e 100644 (file)
@@ -83,6 +83,20 @@ interface Distributable extends FrameworkInterface {
         * @return      $recipients             An indexed array with DHT recipients
         */
        function findRecipientsByPackageData (array $packageData);
+
+       /**
+        * Whether the DHT has fully bootstrapped (after state 'booting')
+        *
+        * @return      $isFullyBooted  Whether the DHT is fully booted
+        */
+       function hasFullyBootstrapped ();
+
+       /**
+        * Whether this DHT's state is 'booting'
+        *
+        * @return      $isBooting      Whether this DHT is currently booting
+        */
+       function ifDhtIsBooting ();
 }
 
 // [EOF]