BeeeOn Gateway  v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Public Member Functions
BeeeOn::Exporter Class Referenceabstract

#include <Exporter.h>

Inheritance diagram for BeeeOn::Exporter:
BeeeOn::GWServerConnector BeeeOn::GWSOptimisticExporter BeeeOn::MqttExporter BeeeOn::NamedPipeExporter BeeeOn::QueuingExporter BeeeOn::GWSQueuingExporter

Public Member Functions

virtual bool ship (const SensorData &data)=0
 

Detailed Description

Interface for Exporter Exports data in best effort (or better)

Member Function Documentation

virtual bool BeeeOn::Exporter::ship ( const SensorData data)
pure virtual

Ensures export data in best effort to target destination

Returns
true when successfully shipped (this is kind of a guarantee that the caller doesn't have to care about the data anymore).
false when the Exporter cannot ship data temporarily (e.g. full output buffers).
Exceptions
Poco::IOExceptionwhen a serious issue caused the Exporter to deny its service.

Implemented in BeeeOn::GWServerConnector, BeeeOn::QueuingExporter, BeeeOn::GWSOptimisticExporter, BeeeOn::MqttExporter, and BeeeOn::NamedPipeExporter.


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