Table of Contents

Class DataProcessorClient

Namespace
SmarterLink.Clients
Assembly
SmarterLink.Clients.dll

Client for Data Processor participants. Data Processors consume data from producers, perform analysis, and publish results.

public sealed class DataProcessorClient : RoleClientBase
Inheritance
DataProcessorClient
Inherited Members

Properties

The canonical SmarterLink role for this client type.

public static Role Role { get; }

Property Value

Role

Methods

Publishes a data processor event on behalf of the specified processor participant.

public Task NotifyDataProcessorEvent<TEvent>(ParticipantId sourceParticipantId, TEvent payload, string? userData = null) where TEvent : DataProcessorEvents

Parameters

sourceParticipantId ParticipantId
payload TEvent
userData string

Returns

Task

Type Parameters

TEvent

Publishes a job event at the configured station.

public Task NotifyJobEvent<TEvent>(ParticipantId sourceParticipantId, TEvent payload, string? userData = null) where TEvent : JobEvents

Parameters

sourceParticipantId ParticipantId
payload TEvent
userData string

Returns

Task

Type Parameters

TEvent