#include <OverlayKey.h>
#include "GiaNode.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const GiaNode &node) |
Definition in file GiaNode.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const GiaNode & | node | |||
) |
Definition at line 67 of file GiaNode.cc.
{ if(node.ip.isUnspecified() == true && node.key.isUnspecified() && node.port == -1) { os << "<unspec>"; } else { os << node.ip << ":" << node.port << " " << node.key.toString() << " with capacity: " << node.capacity //<< " , degree: " << node.connectionDegree //<< " , sentTokens: " << node.sentTokens << " , receivedTokens: " << node.receivedTokens; ; } return os; }