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

#include <FileMonitor.h>

Inheritance diagram for dtn::net::FileMonitor:
Collaboration diagram for dtn::net::FileMonitor:

List of all members.

Public Member Functions

 FileMonitor ()
virtual ~FileMonitor ()
void watch (const ibrcommon::File &watch)
const std::string getName () const

Protected Member Functions

void componentUp ()
void componentRun ()
void componentDown ()
void __cancellation ()

Detailed Description

Definition at line 21 of file FileMonitor.h.


Constructor & Destructor Documentation

Definition at line 23 of file FileMonitor.cpp.

Definition at line 31 of file FileMonitor.cpp.

References ibrcommon::JoinableThread::join().

Here is the call graph for this function:


Member Function Documentation

void dtn::net::FileMonitor::__cancellation ( ) [protected, virtual]

Implements dtn::daemon::IndependentComponent.

Definition at line 97 of file FileMonitor.cpp.

References ibrcommon::vsocket::close().

Here is the call graph for this function:

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

Implements dtn::daemon::IndependentComponent.

Definition at line 85 of file FileMonitor.cpp.

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

Implements dtn::daemon::IndependentComponent.

Definition at line 56 of file FileMonitor.cpp.

References ibrcommon::vsocket::select(), and ibrcommon::Thread::sleep().

Here is the call graph for this function:

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

Implements dtn::daemon::IndependentComponent.

Definition at line 49 of file FileMonitor.cpp.

References ibrcommon::vsocket::add().

Here is the call graph for this function:

const std::string dtn::net::FileMonitor::getName ( ) const [virtual]

Return an identifier for this component

Returns:

Implements dtn::daemon::Component.

Definition at line 189 of file FileMonitor.cpp.

Definition at line 36 of file FileMonitor.cpp.

References ibrcommon::File::getPath(), IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, and ibrcommon::File::isDirectory().

Referenced by createConvergenceLayers().

Here is the call graph for this function:


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