P2pnsCacheEntry Struct Reference

#include <P2pnsCache.h>

List of all members.

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.

00042 {
00043     Stream << "Value: " << entry.value;
00044 
00045     if (entry.ttlMessage != NULL) {
00046         Stream << "Endtime: " << entry.ttlMessage->getArrivalTime();
00047     }
00048 
00049     return Stream;
00050 }


Member Data Documentation

Definition at line 41 of file P2pnsCache.h.

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

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:
Generated on Wed May 26 16:21:18 2010 for OverSim by  doxygen 1.6.3