P2pnsCache.cc File Reference


Detailed Description

Author:
Ingmar Baumgart

#include <omnetpp.h>
#include "P2pnsCache.h"

Functions

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


Function Documentation

Define_Module ( P2pnsCache   ) 

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

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


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