|
IBR-DTNSuite 0.6
|
#include <HTTPConvergenceLayer.h>


Public Member Functions | |
| DownloadThread (ibrcommon::iobuffer &buf) | |
| virtual | ~DownloadThread () |
Protected Member Functions | |
| void | run () |
Definition at line 89 of file HTTPConvergenceLayer.h.
| dtn::net::DownloadThread::DownloadThread | ( | ibrcommon::iobuffer & | buf | ) |
DownloadThread constructor, connects the istream _stream variable to the iobuffer and the DownloadThread::run() method is reading and evaluating the stream.
| buf | Is an iobuffer where received data is written. |
Definition at line 225 of file HTTPConvergenceLayer.cpp.
| dtn::net::DownloadThread::~DownloadThread | ( | ) | [virtual] |
DownloadThread destructor, calls the join() method to stop the joinable thread.
Definition at line 234 of file HTTPConvergenceLayer.cpp.
References ibrcommon::JoinableThread::join().

| void dtn::net::DownloadThread::run | ( | void | ) | [protected, virtual] |
Joinable Thread run method, this thread starts when the componentRun() method is running and connected to the tomcat server. This thread is watching permanent on the istream of the ibrcommon::iobuffer. When a valid bundle is detected a BundleReceivedEvent will be raised.
Implements ibrcommon::Thread.
Definition at line 246 of file HTTPConvergenceLayer.cpp.
References IBRCOMMON_LOGGER_DEBUG, IBRCOMMON_LOGGER_ENDL, dtn::net::BundleReceivedEvent::raise(), ibrcommon::Exception::what(), and ibrcommon::Thread::yield().
