#include <DHTDataStorage.h>
Public Attributes | |
BinaryValue | value |
uint32_t | kind |
uint32_t | id |
cMessage * | ttlMessage |
bool | is_modifiable |
NodeHandle | sourceNode |
bool | responsible |
SiblingVoteMap | siblingVote |
Friends | |
std::ostream & | operator<< (std::ostream &Stream, const DhtDataEntry entry) |
Definition at line 51 of file DHTDataStorage.h.
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const DhtDataEntry | entry | |||
) | [friend] |
Definition at line 33 of file DHTDataStorage.cc.
00034 { 00035 os << "Value: " << entry.value 00036 << " Kind: " << entry.kind 00037 << " ID: " << entry.id 00038 << " Endtime: " << entry.ttlMessage->getArrivalTime() 00039 << " Responsible: " << entry.responsible 00040 << " SourceNode: " << entry.sourceNode; 00041 00042 if (entry.siblingVote.size()) { 00043 os << " siblingVote:"; 00044 00045 for (SiblingVoteMap::const_iterator it = entry.siblingVote.begin(); 00046 it != entry.siblingVote.end(); it++) { 00047 os << " " << it->first << " (" << it->second.size() << ")"; 00048 } 00049 } 00050 return os; 00051 }
uint32_t DhtDataEntry::id |
Definition at line 55 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), operator<<(), DHT::sendMaintenancePutCall(), and CBRDHT::update().
Definition at line 57 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), DHTDataStorage::isModifiable(), DHT::sendMaintenancePutCall(), and CBRDHT::update().
uint32_t DhtDataEntry::kind |
Definition at line 54 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), operator<<(), DHT::sendMaintenancePutCall(), and CBRDHT::update().
Definition at line 59 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), DHT::handlePutRequest(), operator<<(), DHT::update(), and CBRDHT::update().
Definition at line 61 of file DHTDataStorage.h.
Referenced by DHT::handlePutRequest(), and operator<<().
Definition at line 58 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), DHTDataStorage::getSourceNode(), and operator<<().
cMessage* DhtDataEntry::ttlMessage |
Definition at line 56 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), operator<<(), DHT::sendMaintenancePutCall(), and CBRDHT::update().
Definition at line 53 of file DHTDataStorage.h.
Referenced by DHTDataStorage::addData(), DHT::handlePutRequest(), operator<<(), DHT::sendMaintenancePutCall(), and CBRDHT::update().