dtn::TcaEndpointID Class Reference

#include <TcaEndpointID.h>

Inheritance diagram for dtn::TcaEndpointID:
dtn::EndpointID

List of all members.

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_

Detailed Description

Definition at line 36 of file servlib/routing/TcaEndpointID.h.


Constructor & Destructor Documentation

dtn::TcaEndpointID::TcaEndpointID (  )  [inline]

Definition at line 39 of file servlib/routing/TcaEndpointID.h.

TcaEndpointID::TcaEndpointID ( const EndpointID eid  ) 

Definition at line 43 of file servlib/routing/TcaEndpointID.cc.

TcaEndpointID::TcaEndpointID ( const std::string &  str  ) 

Definition at line 29 of file servlib/routing/TcaEndpointID.cc.

References parse().

TcaEndpointID::TcaEndpointID ( const std::string &  host,
const std::string &  app 
)

Definition at line 36 of file servlib/routing/TcaEndpointID.cc.

TcaEndpointID::TcaEndpointID ( const TcaEndpointID eid  ) 

Definition at line 50 of file servlib/routing/TcaEndpointID.cc.


Member Function Documentation

const std::string& dtn::TcaEndpointID::app (  )  const [inline]
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(), and set_host().

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]
void TcaEndpointID::parse (  )  [protected]
void TcaEndpointID::set_app ( const std::string &  app  ) 

Definition at line 98 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 90 of file servlib/routing/TcaEndpointID.cc.

References app_, dtn::EndpointID::assign(), build(), and host_.


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Sun Nov 21 13:21:25 2010 for DTN Reference Implementation by  doxygen 1.6.3