#include "NodeHandle.h"Go to the source code of this file.
Functions | |
| std::ostream & | operator<< (std::ostream &os, const NodeHandle &n) |
Definition in file NodeHandle.cc.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const NodeHandle & | n | |||
| ) |
| os | the ostream | |
| n | the NodeHandle |
Definition at line 30 of file NodeHandle.cc.
00031 { 00032 if (n.ip.isUnspecified()) { 00033 os << "<addr unspec> "; 00034 } else { 00035 os << n.ip << ":" << n.port << " "; 00036 } 00037 00038 if (n.key.isUnspecified()) { 00039 os << "<key unspec>"; 00040 } else { 00041 os << n.key; 00042 } 00043 00044 return os; 00045 };
1.5.8