|
IBR-DTNSuite
0.8
|
#include <BundleStream.h>


Public Member Functions | |
| BundleStream (ibrcommon::tcpstream &stream, size_t chunk_size, const std::string &app="stream", const dtn::data::EID &group=dtn::data::EID(), bool wait_seq_zero=false) | |
| virtual | ~BundleStream () |
| BundleStreamBuf & | rdbuf () |
| dtn::api::Bundle & | base () |
Protected Member Functions | |
| virtual void | received (const dtn::api::Bundle &b) |
Definition at line 96 of file BundleStream.h.
| BundleStream::BundleStream | ( | ibrcommon::tcpstream & | stream, |
| size_t | chunk_size, | ||
| const std::string & | app = "stream", |
||
| const dtn::data::EID & | group = dtn::data::EID(), |
||
| bool | wait_seq_zero = false |
||
| ) |
Definition at line 258 of file dtnstream.cpp.
| BundleStream::~BundleStream | ( | ) | [virtual] |
Definition at line 262 of file dtnstream.cpp.
Definition at line 269 of file dtnstream.cpp.
Referenced by main().
Definition at line 264 of file dtnstream.cpp.
Referenced by main().
| void BundleStream::received | ( | const dtn::api::Bundle & | b | ) | [protected, virtual] |
This method is called on the receipt of a new bundle. If you like to use asynchronous API mode you should overload this method to receive bundles.
| b | The received bundle. |
Reimplemented from dtn::api::Client.
Definition at line 274 of file dtnstream.cpp.
References BundleStreamBuf::received().
