#include <omnetpp.h>
#include "P2pnsCache.h"
Functions | |
Define_Module (P2pnsCache) | |
std::ostream & | operator<< (std::ostream &Stream, const P2pnsCacheEntry entry) |
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 }