#include "Kademlia.h"
#include "KademliaMessage_m.h"
#include <assert.h>
#include <algorithm>
#include <IPAddressResolver.h>
#include <IPvXAddress.h>
#include <IInterfaceTable.h>
#include <IPv4InterfaceData.h>
#include "TopologyVis.h"
#include <AbstractLookup.h>
#include <LookupListener.h>
#include <RpcMacros.h>
#include <BootstrapList.h>
Go to the source code of this file.
Classes | |
class | KademliaLookupListener |
Defines | |
#define | BUCKET_CONSISTENCY(msg) |
Functions | |
Define_Module (Kademlia) | |
std::ostream & | operator<< (std::ostream &os, const KademliaBucket *n) |
Definition in file Kademlia.cc.
#define BUCKET_CONSISTENCY | ( | msg | ) |
Definition at line 57 of file Kademlia.cc.
Referenced by Kademlia::refillSiblingTable(), Kademlia::routingAdd(), Kademlia::routingInit(), and Kademlia::routingTimeout().
Define_Module | ( | Kademlia | ) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const KademliaBucket * | n | |||
) |
Definition at line 62 of file Kademlia.cc.
{ if (n == NULL) os << "NULL"; else { for (KademliaBucket::const_iterator i=n->begin(); i !=n->end(); i++) { os << *i << endl; } os << "last usage = " << n->getLastUsage(); } return os; };