#include <omnetpp.h>
#include "P2pnsCache.h"
Go to the source code of this file.
Functions | |
Define_Module (P2pnsCache) | |
std::ostream & | operator<< (std::ostream &os, const P2pnsIdCacheEntry entry) |
std::ostream & | operator<< (std::ostream &Stream, const P2pnsCacheEntry entry) |
Definition in file P2pnsCache.cc.
Define_Module | ( | P2pnsCache | ) |
std::ostream& operator<< | ( | std::ostream & | Stream, | |
const P2pnsCacheEntry | entry | |||
) |
Definition at line 41 of file P2pnsCache.cc.
{ Stream << "Value: " << entry.value; if (entry.ttlMessage != NULL) { Stream << "Endtime: " << entry.ttlMessage->getArrivalTime(); } return Stream; }
std::ostream& operator<< | ( | std::ostream & | os, | |
const P2pnsIdCacheEntry | entry | |||
) |
Definition at line 32 of file P2pnsCache.cc.
{ os << "key: " << entry.key << " addr: " << entry.addr << " state: " << entry.state << " lastUsage: " << entry.lastUsage << " queueSize: " << entry.payloadQueue.size(); return os; }