IBR-DTNSuite  0.8
dtn::net::DiscoveryAgent Class Reference

#include <DiscoveryAgent.h>

Inheritance diagram for dtn::net::DiscoveryAgent:
Collaboration diagram for dtn::net::DiscoveryAgent:

List of all members.

Public Member Functions

 DiscoveryAgent (const dtn::daemon::Configuration::Discovery &config)
virtual ~DiscoveryAgent ()=0
void received (const dtn::net::DiscoveryAnnouncement &announcement, size_t timeout=0)
void addService (string name, string parameters)
void addService (dtn::net::DiscoveryServiceProvider *provider)

Protected Member Functions

virtual void sendAnnoucement (const u_int16_t &sn, std::list< dtn::net::DiscoveryService > &services)=0
void timeout ()

Protected Attributes

const
dtn::daemon::Configuration::Discovery
_config

Detailed Description

Definition at line 23 of file DiscoveryAgent.h.


Constructor & Destructor Documentation

Definition at line 29 of file DiscoveryAgent.cpp.


Member Function Documentation

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

Implemented in dtn::net::LOWPANConvergenceLayer.

Referenced by received(), and timeout().


Member Data Documentation


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