Exemple #1
0
 void RoutingTable::TouchKBucket(const KadID &node_id) {
     int index = KBucketIndex(node_id);
     if (index < 0)
         return;
     TTimer timer;
     k_buckets_[index]->set_last_accessed(static_cast<unsigned int>(timer.current()));
 }