P2pnsCache.cc File Reference


Detailed Description

Author:
Ingmar Baumgart

Definition in file P2pnsCache.cc.

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

Go to the source code of this file.

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 
)

Definition at line 32 of file P2pnsCache.cc.

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


Generated on Wed Mar 25 16:32:50 2009 for OverSim by  doxygen 1.5.5