Public Member Functions | Protected Member Functions

BundleStream Class Reference

#include <BundleStream.h>

Inherits dtn::api::Client.

Collaboration diagram for BundleStream:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BundleStream (ibrcommon::tcpstream &stream, size_t chunk_size, const std::string &app="stream")
virtual ~BundleStream ()
BundleStreamBufrdbuf ()
dtn::api::Bundlebase ()

Protected Member Functions

virtual void received (const dtn::api::Bundle &b)

Detailed Description

Definition at line 126 of file BundleStream.h.


Constructor & Destructor Documentation

BundleStream::BundleStream ( ibrcommon::tcpstream stream,
size_t  chunk_size,
const std::string &  app = "stream" 
)

Definition at line 287 of file dtnstream.cpp.

BundleStream::~BundleStream (  )  [virtual]

Definition at line 291 of file dtnstream.cpp.


Member Function Documentation

dtn::api::Bundle & BundleStream::base (  ) 

Definition at line 298 of file dtnstream.cpp.

Referenced by main().

BundleStreamBuf & BundleStream::rdbuf (  ) 

Definition at line 293 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.

Parameters:
b The received bundle.

Reimplemented from dtn::api::Client.

Definition at line 303 of file dtnstream.cpp.

References BundleStreamBuf::received().

Here is the call graph for this function:


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