dtn::net::IPNDAgent Class Reference

#include <IPNDAgent.h>

Inheritance diagram for dtn::net::IPNDAgent:
dtn::net::DiscoveryAgent dtn::daemon::IndependentComponent dtn::core::EventReceiver dtn::daemon::Component ibrcommon::JoinableThread ibrcommon::Thread

List of all members.

Public Member Functions

 IPNDAgent (int port, std::string address)
virtual ~IPNDAgent ()
void bind (const ibrcommon::NetInterface &net)

Protected Member Functions

void sendAnnoucement (const u_int16_t &sn, const std::list< DiscoveryService > &services)
virtual void componentRun ()
virtual void componentUp ()
virtual void componentDown ()

Detailed Description

Definition at line 32 of file IPNDAgent.h.


Constructor & Destructor Documentation

dtn::net::IPNDAgent::IPNDAgent ( int  port,
std::string  address 
)
dtn::net::IPNDAgent::~IPNDAgent (  )  [virtual]

Definition at line 37 of file IPNDAgent.cpp.


Member Function Documentation

void dtn::net::IPNDAgent::bind ( const ibrcommon::NetInterface net  ) 

Definition at line 42 of file IPNDAgent.cpp.

References ibrcommon::NetInterface::getInterface(), IBRCOMMON_LOGGER, and IBRCOMMON_LOGGER_ENDL.

Referenced by main().

void dtn::net::IPNDAgent::componentDown (  )  [protected, virtual]

Reimplemented from dtn::net::DiscoveryAgent.

Definition at line 157 of file IPNDAgent.cpp.

References ibrcommon::udpsocket::shutdown().

void dtn::net::IPNDAgent::componentRun ( void   )  [protected, virtual]
void dtn::net::IPNDAgent::componentUp (  )  [protected, virtual]
void dtn::net::IPNDAgent::sendAnnoucement ( const u_int16_t &  sn,
const std::list< DiscoveryService > &  services 
) [protected, virtual]

The documentation for this class was generated from the following files:
Generated on Mon Aug 23 08:13:00 2010 for IBR-DTNSuite by  doxygen 1.6.3