Plugins
Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0
Message
Operations, replies and telemetry share this in-memory envelope.
API
Operations, replies and telemetry share this in-memory envelope. A transport chooses its encoding. The deadline is local monotonic time and must not be transmitted as a remote clock value.
Namespace: TEMPEST.
#include <tempest/Transport.h>Declaration
struct Message {
enum class Kind { Request, Response, Telemetry };
Kind kind = Kind::Request;
std::string request_id;
std::string name;
Value::Object payload;
bool error = false;
std::string error_code;
std::chrono::steady_clock::time_point deadline =
std::chrono::steady_clock::time_point::max();
};