22 #ifndef IBRDTN_DAEMON_NODE_H_
23 #define IBRDTN_DAEMON_NODE_H_
93 void decode(std::string &address,
unsigned int &port)
const;
119 bool operator==(
const std::string &name)
const;
147 bool has(
const std::string &name)
const;
160 void remove(
const URI &u);
197 std::list<
Attribute>
get(const std::
string &name) const;
203 const dtn::data::
EID&
getEID() const throw ();
216 bool operator==(const
Node &other) const;
217 bool operator<(const
Node &other) const;
219 bool operator==(const dtn::data::
EID &other) const;
221 const
Node& operator+=(const
Node &other);
222 const
Node& operator-=(const
Node &other);
244 friend std::ostream& operator<<(std::ostream&, const
Node&);
249 bool _connect_immediately;
252 std::set<
URI> _uri_list;
255 bool _announced_mark;
void decode(std::string &address, unsigned int &port) const
dtn::data::Timestamp expire
friend std::ostream & operator<<(std::ostream &, const Node::Attribute &)
dtn::data::Size size() const
bool operator==(const Attribute &other) const
Attribute(const Type t, const std::string &name, const std::string &value, const dtn::data::Number &timeout=0, const int priority=0)
void setAnnounced(bool val)
dtn::data::Timestamp expire
static Node::Protocol fromProtocolString(const std::string &protocol)
bool has(Node::Protocol proto) const
friend std::ostream & operator<<(std::ostream &, const Node::URI &)
URI(const Type t, const Protocol proto, const std::string &uri, const dtn::data::Number &timeout=0, const int priority=0)
bool doConnectImmediately() const
bool operator==(const URI &other) const
std::list< URI > get(Node::Protocol proto) const
std::string toString() const
bool operator<(const URI &other) const
const dtn::data::EID & getEID() const
void setConnectImmediately(bool val)
std::list< Node::URI > getAll() const
bool operator<(const Attribute &other) const
std::set< Node::Type > getTypes() const