dtn::DiscoveryTable Class Reference

#include <DiscoveryTable.h>

List of all members.


Detailed Description

Definition at line 31 of file DiscoveryTable.h.


Public Member Functions

virtual ~DiscoveryTable ()
bool add (const std::string &name, const char *addr_family, int argc, const char *argv[], const char **error)
bool del (const std::string &name)
void dump (oasys::StringBuffer *buf)
void shutdown ()

Static Public Member Functions

static void init ()

Protected Member Functions

 DiscoveryTable ()
bool find (const std::string &name, DiscoveryList::iterator *iter)

Protected Attributes

DiscoveryList dlist_

Friends

class DiscoveryCommand
class oasys::Singleton< DiscoveryTable >

Constructor & Destructor Documentation

dtn::DiscoveryTable::~DiscoveryTable (  )  [virtual]

Definition at line 35 of file DiscoveryTable.cc.

dtn::DiscoveryTable::DiscoveryTable (  )  [protected]

Definition at line 30 of file DiscoveryTable.cc.

Referenced by init().


Member Function Documentation

static void dtn::DiscoveryTable::init (  )  [inline, static]

Definition at line 37 of file DiscoveryTable.h.

References DiscoveryTable().

Referenced by dtn::DTNServer::init_components().

bool dtn::DiscoveryTable::add ( const std::string &  name,
const char *  addr_family,
int  argc,
const char *  argv[],
const char **  error 
)

Definition at line 68 of file DiscoveryTable.cc.

References dtn::Discovery::create_discovery(), dlist_, and find().

bool dtn::DiscoveryTable::del ( const std::string &  name  ) 

Definition at line 96 of file DiscoveryTable.cc.

References dlist_, find(), and dtn::Discovery::shutdown().

void dtn::DiscoveryTable::dump ( oasys::StringBuffer *  buf  ) 

Definition at line 118 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::dump().

void dtn::DiscoveryTable::shutdown (  ) 

Definition at line 40 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::shutdown().

bool dtn::DiscoveryTable::find ( const std::string &  name,
DiscoveryList::iterator *  iter 
) [protected]

Definition at line 54 of file DiscoveryTable.cc.

References dlist_, and dtn::Discovery::name().

Referenced by add(), and del().


Friends And Related Function Documentation

friend class DiscoveryCommand [friend]

Definition at line 56 of file DiscoveryTable.h.

friend class oasys::Singleton< DiscoveryTable > [friend]

Definition at line 57 of file DiscoveryTable.h.


Member Data Documentation

Definition at line 63 of file DiscoveryTable.h.

Referenced by add(), del(), dump(), find(), and shutdown().


The documentation for this class was generated from the following files:

Generated on Mon Jul 21 14:12:21 2008 for DTN Reference Implementation by  doxygen 1.5.6