Public Member Functions | Protected Member Functions

dtn::net::IPNDAgent Class Reference

#include <IPNDAgent.h>

Inherits dtn::net::DiscoveryAgent, and ibrcommon::LinkManager::EventCallback.

Collaboration diagram for dtn::net::IPNDAgent:
Collaboration graph
[legend]

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 34 of file IPNDAgent.h.


Constructor & Destructor Documentation

dtn::net::IPNDAgent::IPNDAgent ( int  port,
const ibrcommon::vaddress address 
)
dtn::net::IPNDAgent::~IPNDAgent (  )  [virtual]

Definition at line 57 of file IPNDAgent.cpp.


Member Function Documentation

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

Definition at line 249 of file IPNDAgent.cpp.

References ibrcommon::Thread::interrupt().

Here is the call graph for this function:

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

Definition at line 61 of file IPNDAgent.cpp.

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

Referenced by __daemon_run().

Here is the call graph for this function:

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

Definition at line 194 of file IPNDAgent.cpp.

References ibrcommon::vsocket::setEventCallback(), and ibrcommon::vsocket::shutdown().

Here is the call graph for this function:

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

Definition at line 158 of file IPNDAgent.cpp.

References ibrcommon::vsocket::bind(), ibrcommon::vinterface::empty(), ibrcommon::vaddress::isMulticast(), and ibrcommon::vsocket::setEventCallback().

Here is the call graph for this function:

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

Definition at line 258 of file IPNDAgent.cpp.

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

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