P2pnsCacheEntry Struct Reference

#include <P2pnsCache.h>

List of all members.


Detailed Description

P2PNS name cache module.

This modul contains the name cache of the P2PNS implementation.

Author:
Ingmar Baumgart
See also:
P2pns.cc

Public Attributes

BinaryValue value
cMessage * ttlMessage

Friends

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

Friends And Related Function Documentation

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

00033 {
00034     Stream << "Value: " << entry.value;
00035 
00036     if (entry.ttlMessage != NULL) {
00037         Stream << "Endtime: " << entry.ttlMessage->arrivalTime();
00038     }
00039 
00040     return Stream;
00041 }


Member Data Documentation

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

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


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

Generated on Fri Sep 19 13:05:07 2008 for ITM OverSim by  doxygen 1.5.5