|
IBR-DTNSuite
0.8
|
#include <Node.h>
Public Member Functions | |
| URI (const Type t, const Protocol proto, const std::string &uri, const size_t timeout=0, const int priority=0) | |
| ~URI () | |
| void | decode (std::string &address, unsigned int &port) const |
| bool | operator< (const URI &other) const |
| bool | operator== (const URI &other) const |
| bool | operator== (const Node::Protocol &p) const |
| bool | operator== (const Node::Type &t) const |
Public Attributes | |
| const Type | type |
| const Protocol | protocol |
| const std::string | value |
| const size_t | expire |
| const int | priority |
Friends | |
| std::ostream & | operator<< (std::ostream &, const Node::URI &) |
| dtn::core::Node::URI::URI | ( | const Type | t, |
| const Protocol | proto, | ||
| const std::string & | uri, | ||
| const size_t | timeout = 0, |
||
| const int | priority = 0 |
||
| ) |
| void dtn::core::Node::URI::decode | ( | std::string & | address, |
| unsigned int & | port | ||
| ) | const |
Definition at line 25 of file Node.cpp.
References dtn::utils::Utils::tokenize().
Referenced by dtn::net::TCPConnection::connect(), dtn::net::LOWPANConvergenceLayer::queue(), and dtn::net::UDPConvergenceLayer::queue().

| bool dtn::core::Node::URI::operator< | ( | const URI & | other | ) | const |
| bool dtn::core::Node::URI::operator== | ( | const URI & | other | ) | const |
| bool dtn::core::Node::URI::operator== | ( | const Node::Protocol & | p | ) | const |
| bool dtn::core::Node::URI::operator== | ( | const Node::Type & | t | ) | const |
| std::ostream& operator<< | ( | std::ostream & | stream, |
| const Node::URI & | u | ||
| ) | [friend] |
| const size_t dtn::core::Node::URI::expire |
Definition at line 65 of file Node.h.
Referenced by dtn::core::Node::expire(), and dtn::core::operator<<().
| const int dtn::core::Node::URI::priority |
Definition at line 66 of file Node.h.
Referenced by dtn::core::compare_uri_priority(), and dtn::core::operator<<().
Definition at line 63 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
Definition at line 62 of file Node.h.
Referenced by operator<(), dtn::core::operator<<(), and operator==().
| const std::string dtn::core::Node::URI::value |
Definition at line 64 of file Node.h.
Referenced by dtn::net::TCPConnection::connect(), operator<(), dtn::core::operator<<(), operator==(), and dtn::net::DatagramConvergenceLayer::queue().