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
commandFactoryCommandFactoryCommand factory
modelObjectModelObject model
loggerILogger<SetPluginProcess>Logger instance
settingsIOptions<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
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task