Public Attributes | Friends

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.

{
    Stream << "Value: " << entry.value;

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

    return Stream;
}


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: