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 
)

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


Generated on Thu Apr 17 13:19:27 2008 for ITM OverSim by  doxygen 1.5.3