Skip to content

sgns::neoswarm::network::SGJobSubmitter

Dispatches GNUS schema JSON to GeniusSDK in-process. More...

#include <sg_job_submitter.hpp>

Public Functions

Name
SGJobSubmitter() =default
~SGJobSubmitter()
outcome::result< std::string > PublishJob(const std::string & gnusSchemaJson)
Dispatch a GNUS schema JSON job via GeniusSDKProcess.

Detailed Description

class sgns::neoswarm::network::SGJobSubmitter;

Dispatches GNUS schema JSON to GeniusSDK in-process.

Passes the raw GNUS schema JSON directly to GeniusSDKProcess() — the SDK handles auth internally via the eth key from InitWithKey(). No custom wrapper, no external signing layer.

Public Functions Documentation

function SGJobSubmitter

SGJobSubmitter() =default

function ~SGJobSubmitter

~SGJobSubmitter()

function PublishJob

outcome::result< std::string > PublishJob(
    const std::string & gnusSchemaJson
)

Dispatch a GNUS schema JSON job via GeniusSDKProcess.

Parameters:

  • gnusSchemaJson The GNUS_Schema JSON from BuildSchemaJson().

Return: The generated taskId for result tracking.


Updated on 2026-10-09 at 03:59:42 +0000