Struct TopicSample

Struct Documentation

struct TopicSample

Neutral result for a topic-sample call routed through the transport port.

The existing TopicSampleResult struct in core/data/data_types.hpp belongs to the topic-data-provider plugin surface and has a different shape (per-topic batch errors, endpoint QoS, etc.). The transport-level result here is intentionally narrower: it captures only what the manager facade needs to forward to handlers. A later phase reconciles the two if it makes sense to do so.

Public Members

bool success
std::string status

“data” | “metadata_only” | “error”

std::string topic
std::string type
json data = json::object()
json type_info = json::object()
uint64_t publisher_count = 0
uint64_t subscriber_count = 0
std::string error_message