Table of Contents

Class SetPluginProcess

Namespace
DuetControlServer.Commands
Assembly
DuetControlServer.dll

Implementation of the InstallPlugin command

public sealed class SetPluginProcess : SetPluginProcess
Inheritance
SetPluginProcess
Inherited Members

Constructors

SetPluginProcess(CommandFactory, ObjectModel, ILogger<SetPluginProcess>, IOptions<Settings>)

Implementation of the InstallPlugin command

public SetPluginProcess(CommandFactory commandFactory, ObjectModel model, ILogger<SetPluginProcess> logger, IOptions<Settings> settings)

Parameters

commandFactory CommandFactory

Command factory

model ObjectModel

Object model

logger ILogger<SetPluginProcess>

Logger instance

settings IOptions<Settings>

Settings

Fields

PluginStoppedEvent

Event that is set when a plugin has stopped

public static readonly AsyncAutoResetEvent PluginStoppedEvent

Field Value

AsyncAutoResetEvent

Methods

ExecuteAsync(CancellationToken)

Update the pid of a given plugin

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task