IBR-DTNSuite  0.8
dtn::daemon::DTNTPWorker Class Reference

#include <DTNTPWorker.h>

Inheritance diagram for dtn::daemon::DTNTPWorker:
Collaboration diagram for dtn::daemon::DTNTPWorker:

List of all members.

Classes

class  TimeSyncMessage

Public Member Functions

 DTNTPWorker ()
virtual ~DTNTPWorker ()
void callbackBundleReceived (const Bundle &b)
void raiseEvent (const dtn::core::Event *evt)
void update (const ibrcommon::vinterface &iface, std::string &name, std::string &data) throw (NoServiceHereException)

Detailed Description

Definition at line 20 of file DTNTPWorker.h.


Constructor & Destructor Documentation

Definition at line 61 of file DTNTPWorker.cpp.

References dtn::core::TimeEvent::className, dtn::core::NodeEvent::className, and dtn::core::EventReceiver::unbindEvent().

Here is the call graph for this function:


Member Function Documentation

void dtn::daemon::DTNTPWorker::update ( const ibrcommon::vinterface iface,
std::string &  name,
std::string &  data 
) throw (NoServiceHereException) [virtual]

Updates an discovery service block with current values

Parameters:
name
data

Implements dtn::net::DiscoveryServiceProvider.

Definition at line 287 of file DTNTPWorker.cpp.

References dtn::utils::Clock::getTime(), dtn::utils::Clock::quality, and dtn::daemon::Configuration::TimeSync::sendDiscoveryAnnouncements().

Here is the call graph for this function:


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