]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/dht/class_
Opps, wrong name :(
[hub.git] / application / hub / main / dht / class_
index 8fe8e538c32cd2bfde758be6803bb6b7d9f1c48f..5342bec91f6535e007b5bc71aaf4a8d49aef1704 100644 (file)
@@ -44,6 +44,19 @@ class ???DhtFacade extends BaseDht implements Distributable {
                // Return the prepared instance
                return $dhtInstance;
        }
+
+       /**
+        * Registers/updates an entry in the DHT with given data from $dhtData
+        * array. Different DHT implemtations may handle this differently as they
+        * may enrich the data with more meta data.
+        *
+        * @param       $dhtData        A valid array with DHT-related data (e.g. node/peer data)
+        * @return      void
+        * @todo        0% done
+        */
+       protected function insertDataIntoDht (array $dhtData) {
+               $this->partialStub('Please implement this method.');
+       }
 }
 
 // [EOF]