OverSim
P2pnsCacheEntry Struct Reference

#include <P2pnsCache.h>

Public Attributes

BinaryValue value
cMessage * ttlMessage

Friends

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

Detailed Description

Definition at line 38 of file P2pnsCache.h.

Friends And Related Function Documentation

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

Definition at line 41 of file P2pnsCache.cc.

{
Stream << "Value: " << entry.value;
if (entry.ttlMessage != NULL) {
Stream << "Endtime: " << entry.ttlMessage->getArrivalTime();
}
return Stream;
}

Member Data Documentation

cMessage* P2pnsCacheEntry::ttlMessage

Definition at line 41 of file P2pnsCache.h.

Referenced by P2pnsCache::addData(), and operator<<().

BinaryValue P2pnsCacheEntry::value

Definition at line 40 of file P2pnsCache.h.

Referenced by P2pnsCache::addData(), and operator<<().


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