NeighborCache.cc File Reference


Detailed Description

Author:
Antonio Zea

#include <cassert>
#include <TransportAddress.h>
#include <NodeHandle.h>
#include "NeighborCache.h"

Functions

std::ostream & operator<< (std::ostream &os, const NeighborCache::NeighborCacheEntry &p)
 Define_Module (NeighborCache)


Function Documentation

Define_Module ( NeighborCache   ) 

std::ostream& operator<< ( std::ostream &  os,
const NeighborCache::NeighborCacheEntry p 
)

00034 {
00035     os << p.rtt << " (inserted: " << p.insertTime /*<< ", #contexts: "
00036        << p.pingContexts.size() */<< ", key: "
00037        << (p.nodeRef.isUnspecified() ? "<unspec>" : p.nodeRef.key.toString(16))
00038        << ")";
00039 
00040     return os;
00041 }


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