Public Member Functions | Protected Member Functions

dtn::net::IPNDAgent Class Reference

#include <IPNDAgent.h>

Inherits dtn::net::DiscoveryAgent.

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

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 54 of file IPNDAgent.cpp.


Member Function Documentation

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

Definition at line 223 of file IPNDAgent.cpp.

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

Definition at line 59 of file IPNDAgent.cpp.

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

Referenced by main().

Here is the call graph for this function:

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

Reimplemented from dtn::net::DiscoveryAgent.

Definition at line 180 of file IPNDAgent.cpp.

References ibrcommon::udpsocket::shutdown().

Here is the call graph for this function:

void dtn::net::IPNDAgent::componentRun (  )  [protected, virtual]
void dtn::net::IPNDAgent::componentUp (  )  [protected, virtual]
const std::string dtn::net::IPNDAgent::getName (  )  const [virtual]
See also:
Component::getName()

Definition at line 229 of file IPNDAgent.cpp.

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: