#include <DiscoveryTable.h>
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 > |
dtn::DiscoveryTable::~DiscoveryTable | ( | ) | [virtual] |
Definition at line 35 of file DiscoveryTable.cc.
dtn::DiscoveryTable::DiscoveryTable | ( | ) | [protected] |
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 | ) |
void dtn::DiscoveryTable::shutdown | ( | ) |
bool dtn::DiscoveryTable::find | ( | const std::string & | name, | |
DiscoveryList::iterator * | iter | |||
) | [protected] |
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.
DiscoveryList dtn::DiscoveryTable::dlist_ [protected] |
Definition at line 63 of file DiscoveryTable.h.
Referenced by add(), del(), dump(), find(), and shutdown().