Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

ShareTransportDefinition

Declares a plugin-provided transport for DARTWIC Share frames.

DARTWICShare continues to own channel/event synchronization and routing; the factory only creates the network link used by a configured connection.

Declaration

struct ShareTransportDefinition {
        std::string id;
        std::string name;
        nlohmann::json default_config = nlohmann::json::object();
        std::function<ShareTransportPtr(const nlohmann::json& config)> create;
    };