#include <BLOB.h>
Public Member Functions | |
| virtual | ~TmpFileBLOB () |
| virtual void | clear () |
Static Public Member Functions | |
| static BLOB::Reference | create () |
A TmpFileBLOB creates a temporary file on instantiation to hold a large amount of data. It is based on fstream objects and limited by the system architecture (max. 2GB on 32-bit systems).
Definition at line 149 of file BLOB.h.
| ibrcommon::TmpFileBLOB::~TmpFileBLOB | ( | ) | [virtual] |
Definition at line 226 of file BLOB.cpp.
References ibrcommon::File::remove().
| void ibrcommon::TmpFileBLOB::clear | ( | ) | [virtual] |
This method deletes the content of the payload. The size will be zero after calling.
Implements ibrcommon::BLOB.
Definition at line 182 of file BLOB.cpp.
References ibrcommon::Mutex::enter(), ibrcommon::File::getPath(), ibrcommon::Mutex::leave(), and ibrcommon::File::remove().
| BLOB::Reference ibrcommon::TmpFileBLOB::create | ( | ) | [static] |
Definition at line 172 of file BLOB.cpp.
Referenced by dtn::net::HTTPConvergenceLayer::componentRun(), dtn::data::BundleMerger::getContainer(), main(), and dtn::net::HTTPConvergenceLayer::queue().
1.6.3