DhtDataEntry Struct Reference

DHT data storage module. More...

#include <DHTDataStorage.h>

List of all members.

Public Attributes

BinaryValue value
uint32_t kind
uint32_t id
cMessage * ttlMessage
bool is_modifiable
NodeHandle sourceNode
bool responsible

Friends

std::ostream & operator<< (std::ostream &Stream, const DhtDataEntry entry)


Detailed Description

DHT data storage module.

This modul contains the data storage of the DHT implementation.

Author:
Ingmar Baumgart
See also:
DHT

Definition at line 50 of file DHTDataStorage.h.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  Stream,
const DhtDataEntry  entry 
) [friend]

Definition at line 33 of file DHTDataStorage.cc.

00034 {
00035     return Stream << "Value: " << entry.value
00036                   << " Kind: " << entry.kind
00037                   << " ID: " << entry.id
00038                   << " Endtime: " << entry.ttlMessage->getArrivalTime()
00039                   << " Modifiable: " << entry.is_modifiable
00040                   << " SourceNode: " << entry.sourceNode;
00041 }


Member Data Documentation

uint32_t DhtDataEntry::id

Definition at line 54 of file DHTDataStorage.h.

Referenced by DHTDataStorage::addData(), operator<<(), DHT::update(), and CBRDHT::update().

Definition at line 53 of file DHTDataStorage.h.

Referenced by DHTDataStorage::addData(), operator<<(), DHT::update(), and CBRDHT::update().

Definition at line 58 of file DHTDataStorage.h.

Referenced by DHTDataStorage::addData(), DHT::update(), and CBRDHT::update().

Definition at line 55 of file DHTDataStorage.h.

Referenced by DHTDataStorage::addData(), operator<<(), DHT::update(), and CBRDHT::update().

Definition at line 52 of file DHTDataStorage.h.

Referenced by DHTDataStorage::addData(), operator<<(), DHT::update(), and CBRDHT::update().


The documentation for this struct was generated from the following file:

Generated on Tue Sep 8 17:26:58 2009 for OverSim by  doxygen 1.5.8