OverSim
BrooseHandle.cc File Reference
#include <omnetpp.h>
#include <IPAddress.h>
#include "BrooseHandle.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const BrooseHandle &n)

Detailed Description

Author
Jochen Schenk

Definition in file BrooseHandle.cc.

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const BrooseHandle n 
)

Definition at line 30 of file BrooseHandle.cc.

{
if (n.isUnspecified()) {
os << "<unspec>";
} else {
os << n.getIp() << ":" << n.getPort() << " " << n.getKey() << " last-seen: " << n.lastSeen
<< " failedResponses: " << n.failedResponses << " rtt: " << n.rtt;
}
return os;
};