Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

SerializedTelemetryTransport

Optional adapter optimization for complete, replaceable telemetry snapshots.

API

Optional adapter optimization for complete, replaceable telemetry snapshots. The caller supplies a validated payload in the named encoding. Unsupported adapters return false so the caller can use the ordinary typed send path. This separate interface leaves custom Transport implementations unchanged.

Namespace: TEMPEST.

#include <tempest/Transport.h>

Declaration

class SerializedTelemetryTransport {
public:
    virtual ~SerializedTelemetryTransport() = default;
    virtual bool
      sendSerializedTelemetry(std::string topic, std::string encoding,
                              std::shared_ptr<const std::string> payload) = 0;
};