Workflow Engine .NET

Assembly: OptimaJet.Workflow.RealTimeTrackingPlugin

Class MultiServerNotifier

OptimaJet.Workflow.RealTimeTrackingPlugin.Notifiers.MultiServerNotifier

The class for system notifications in MultiServer mode.

public class MultiServerNotifier : BaseNotifier

Inheritance

Constructors

public MultiServerNotifier(WorkflowRuntime runtime, RealTimeTrackingPluginSettings settings, Func<bool> getDisabledFn) #
Initializes a new instance of the MultiServerNotifier class.

Parameters

Name
Type
Description
runtime
WorkflowRuntime
WorkflowRuntime.
settings
RealTimeTrackingPluginSettings
getDisabledFn
Func<Boolean>
A function that returns a boolean indicating whether the plugin is disabled.

Methods

public override Task OnConnectedAsync(string processId, string connectionId) #
Method to handle client connection to a process for tracking purposes.

Parameters

Name
Type
Description
processId
String
ProcessId of the ProcessInstance.
connectionId
String
The unique identifier of the client's connection.

Returns

Type
Description
Task
A Task representing the asynchronous operation.
public override Task OnDisconnectedAsync(string connectionId) #
Handles the disconnection of a connection.

Parameters

Name
Type
Description
connectionId
String
The unique identifier for the connection.

Returns

Type
Description
Task
A Task representing the asynchronous operation.
public override Task StopAsync() #
Stops the plugin.

Returns

Type
Description
Task
A Task representing the asynchronous operation.