IBR-DTNSuite 0.6

dtn::net::IPNDAgent Class Reference

#include <IPNDAgent.h>

Inheritance diagram for dtn::net::IPNDAgent:
Collaboration diagram for dtn::net::IPNDAgent:

List of all members.

Public Member Functions

 IPNDAgent (int port, const ibrcommon::vaddress &address)
virtual ~IPNDAgent ()
void bind (const ibrcommon::vinterface &net)
virtual const std::string getName () const
void eventNotify (const ibrcommon::LinkManagerEvent &evt)

Protected Member Functions

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

Detailed Description

Definition at line 35 of file IPNDAgent.h.


Constructor & Destructor Documentation

dtn::net::IPNDAgent::~IPNDAgent ( ) [virtual]

Definition at line 59 of file IPNDAgent.cpp.


Member Function Documentation

bool dtn::net::IPNDAgent::__cancellation ( ) [protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 269 of file IPNDAgent.cpp.

References ibrcommon::vsocket::close().

Here is the call graph for this function:

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

Definition at line 63 of file IPNDAgent.cpp.

References IBRCOMMON_LOGGER, IBRCOMMON_LOGGER_ENDL, and ibrcommon::vinterface::toString().

Referenced by __daemon_run().

Here is the call graph for this function:

void dtn::net::IPNDAgent::componentDown ( ) [protected, virtual]
void dtn::net::IPNDAgent::componentUp ( ) [protected, virtual]
void dtn::net::IPNDAgent::eventNotify ( const ibrcommon::LinkManagerEvent evt) [virtual]
const std::string dtn::net::IPNDAgent::getName ( ) const [virtual]
See also:
Component::getName()

Implements dtn::daemon::Component.

Definition at line 278 of file IPNDAgent.cpp.


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