#include <TcaEndpointID.h>
Public Member Functions | |
TcaEndpointID () | |
TcaEndpointID (const EndpointID &eid) | |
TcaEndpointID (const std::string &str) | |
TcaEndpointID (const std::string &host, const std::string &app) | |
TcaEndpointID (const TcaEndpointID &eid) | |
const std::string & | host () const |
const std::string & | app () const |
void | set_host (const std::string &host) |
void | set_app (const std::string &app) |
const std::string | get_hostid () const |
Static Public Member Functions | |
static std::string | build (const std::string &host, const std::string &app) |
Protected Member Functions | |
void | parse () |
Protected Attributes | |
std::string | host_ |
std::string | app_ |
Definition at line 36 of file servlib/routing/TcaEndpointID.h.
dtn::TcaEndpointID::TcaEndpointID | ( | ) | [inline] |
Definition at line 39 of file servlib/routing/TcaEndpointID.h.
TcaEndpointID::TcaEndpointID | ( | const EndpointID & | eid | ) |
TcaEndpointID::TcaEndpointID | ( | const std::string & | str | ) |
TcaEndpointID::TcaEndpointID | ( | const std::string & | host, | |
const std::string & | app | |||
) |
Definition at line 39 of file servlib/routing/TcaEndpointID.cc.
References dtn::EndpointID::assign(), and build().
TcaEndpointID::TcaEndpointID | ( | const TcaEndpointID & | eid | ) |
Definition at line 53 of file servlib/routing/TcaEndpointID.cc.
const std::string& dtn::TcaEndpointID::app | ( | ) | const [inline] |
Definition at line 46 of file servlib/routing/TcaEndpointID.h.
References app_.
Referenced by dtn::TcaRouter::handle_bundle_received(), and dtn::TcaRouter::handle_bundle_transmitted().
static std::string dtn::TcaEndpointID::build | ( | const std::string & | host, | |
const std::string & | app | |||
) | [inline, static] |
Definition at line 55 of file servlib/routing/TcaEndpointID.h.
Referenced by set_app(), set_host(), and TcaEndpointID().
const std::string dtn::TcaEndpointID::get_hostid | ( | ) | const [inline] |
Definition at line 51 of file servlib/routing/TcaEndpointID.h.
References host_.
Referenced by dtn::TcaRouter::is_local_source().
const std::string& dtn::TcaEndpointID::host | ( | ) | const [inline] |
Definition at line 45 of file servlib/routing/TcaEndpointID.h.
References host_.
Referenced by dtn::TcaRouter::get_forwarding_rule(), and dtn::TcaRouter::handle_bundle_received().
void TcaEndpointID::parse | ( | ) | [protected] |
Definition at line 60 of file servlib/routing/TcaEndpointID.cc.
References app_, host_, dtn::EndpointID::length(), dtn::EndpointID::scheme_str(), dtn::EndpointID::ssp(), and dtn::EndpointID::valid_.
Referenced by TcaEndpointID().
void TcaEndpointID::set_app | ( | const std::string & | app | ) |
Definition at line 101 of file servlib/routing/TcaEndpointID.cc.
References app_, dtn::EndpointID::assign(), build(), and host_.
Referenced by dtn::TcaRouter::TcaRouter().
void TcaEndpointID::set_host | ( | const std::string & | host | ) |
Definition at line 93 of file servlib/routing/TcaEndpointID.cc.
References app_, dtn::EndpointID::assign(), build(), and host_.
std::string dtn::TcaEndpointID::app_ [protected] |
Definition at line 62 of file servlib/routing/TcaEndpointID.h.
Referenced by app(), parse(), set_app(), and set_host().
std::string dtn::TcaEndpointID::host_ [protected] |
Definition at line 61 of file servlib/routing/TcaEndpointID.h.
Referenced by get_hostid(), host(), parse(), set_app(), and set_host().