#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.
{
os << "Value: " << entry.value
<< " Kind: " << entry.kind
<< " ID: " << entry.id
<< " Endtime: " << entry.ttlMessage->getArrivalTime()
<< " Responsible: " << entry.responsible
<< " SourceNode: " << entry.sourceNode;
if (entry.siblingVote.size()) {
os << " siblingVote:";
for (SiblingVoteMap::const_iterator it = entry.siblingVote.begin();
it != entry.siblingVote.end(); it++) {
os << " " << it->first << " (" << it->second.size() << ")";
}
}
return os;
}
| 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().
1.7.1