#include <BLOB.h>
Inherits ibrcommon::Mutex.

Public Member Functions | |
| Reference (BLOB *blob) | |
| Reference (const Reference &ref) | |
| virtual | ~Reference () |
| std::iostream & | operator* () __attribute__((deprecated)) |
| BLOB::iostream | iostream () |
| virtual void | enter () throw (ibrcommon::MutexException) |
| virtual void | leave () throw (ibrcommon::MutexException) |
| virtual void | trylock () throw (ibrcommon::MutexException) |
| void | clear () __attribute__((deprecated)) |
| size_t | getSize () const __attribute__((deprecated)) |
Definition at line 98 of file BLOB.h.
| ibrcommon::BLOB::Reference::Reference | ( | BLOB * | blob | ) |
Definition at line 135 of file BLOB.cpp.
References ibrcommon::BLOB::_refcount, and ibrcommon::BLOB::_reflock.
| ibrcommon::BLOB::Reference::Reference | ( | const Reference & | ref | ) |
Definition at line 104 of file BLOB.cpp.
References ibrcommon::BLOB::_refcount, and ibrcommon::BLOB::_reflock.
| ibrcommon::BLOB::Reference::~Reference | ( | ) | [virtual] |
Definition at line 111 of file BLOB.cpp.
References ibrcommon::BLOB::_refcount, and ibrcommon::BLOB::_reflock.
| void ibrcommon::BLOB::Reference::clear | ( | ) |
This method deletes the content of the payload. The size will be zero after calling.
Definition at line 181 of file BLOB.cpp.
References ibrcommon::BLOB::clear().

| void ibrcommon::BLOB::Reference::enter | ( | ) | throw (ibrcommon::MutexException) [virtual] |
Enter into a thread-safe state for this BLOB. This time it is locked and the pointers are initialized to zero.
Reimplemented from ibrcommon::Mutex.
Definition at line 142 of file BLOB.cpp.
References ibrcommon::Mutex::enter(), and ibrcommon::BLOB::open().

| size_t ibrcommon::BLOB::Reference::getSize | ( | ) | const |
Returns the size of the content in this BLOB.
Definition at line 173 of file BLOB.cpp.
References ibrcommon::BLOB::__get_size().

| BLOB::iostream ibrcommon::BLOB::Reference::iostream | ( | ) |
Definition at line 122 of file BLOB.cpp.
Referenced by dtn::api::StringBundle::append(), dtn::net::HTTPConvergenceLayer::componentRun(), dtn::security::PayloadConfidentialBlock::decryptPayload(), dtn::data::PayloadBlock::deserialize(), dtn::data::ExtensionBlock::deserialize(), dtn::security::PayloadConfidentialBlock::encrypt(), dtn::data::PayloadBlock::getLength(), dtn::data::ExtensionBlock::getLength(), main(), dtn::data::operator<<(), dtn::data::DefaultDeserializer::operator>>(), dtn::net::HTTPConvergenceLayer::queue(), dtn::data::SeparateDeserializer::readBlock(), dtn::data::PayloadBlock::serialize(), dtn::data::ExtensionBlock::serialize(), and dtn::security::PayloadIntegrityBlock::sign().
| void ibrcommon::BLOB::Reference::leave | ( | ) | throw (ibrcommon::MutexException) [virtual] |
Leave the thread-safe state.
Reimplemented from ibrcommon::Mutex.
Definition at line 152 of file BLOB.cpp.
References ibrcommon::BLOB::close(), and ibrcommon::Mutex::leave().

| std::iostream & ibrcommon::BLOB::Reference::operator* | ( | ) |
Get a direct access reference to the internal stream object.
Definition at line 127 of file BLOB.cpp.
References ibrcommon::BLOB::__get_stream().

| void ibrcommon::BLOB::Reference::trylock | ( | ) | throw (ibrcommon::MutexException) [virtual] |
Try to enter into the thread-safe state for this BLOB.
Reimplemented from ibrcommon::Mutex.
Definition at line 163 of file BLOB.cpp.
References ibrcommon::BLOB::open(), and ibrcommon::Mutex::trylock().

1.7.1