X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fdht%2Fclass_;h=5342bec91f6535e007b5bc71aaf4a8d49aef1704;hb=02d2e489ecf43bd4386c2632fead7eea5dba0ad2;hp=8fe8e538c32cd2bfde758be6803bb6b7d9f1c48f;hpb=c5162d1b1e07c7f3e0055dac497185682894cfd6;p=hub.git diff --git a/application/hub/main/dht/class_ b/application/hub/main/dht/class_ index 8fe8e538c..5342bec91 100644 --- a/application/hub/main/dht/class_ +++ b/application/hub/main/dht/class_ @@ -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]