X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Finterfaces%2Fdistributable%2Fclass_Distributable.php;h=8adbc8d64b822eef96c3b40e86a24a9f7aacf22e;hb=52eda188511e59e5852d2321243e12bafcbe5be7;hp=81a85c3a6cdd3ee63e560bea7ded28fbca40b827;hpb=8f21caa3cca5ee6e4f4a6f786c50851a4d3cc559;p=hub.git diff --git a/application/hub/interfaces/distributable/class_Distributable.php b/application/hub/interfaces/distributable/class_Distributable.php index 81a85c3a6..8adbc8d64 100644 --- a/application/hub/interfaces/distributable/class_Distributable.php +++ b/application/hub/interfaces/distributable/class_Distributable.php @@ -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]