Class SetNetworkProtocol
- Namespace
- DuetControlServer.Commands
- Assembly
- DuetControlServer.dll
Implementation of the SetNetworkProtocol command
public sealed class SetNetworkProtocol : SetNetworkProtocol
- Inheritance
-
SetNetworkProtocol
- Inherited Members
Constructors
SetNetworkProtocol(ObjectModel, PeriodicUpdateService)
Implementation of the SetNetworkProtocol command
public SetNetworkProtocol(ObjectModel model, PeriodicUpdateService periodicUpdater)
Parameters
modelObjectModelperiodicUpdaterPeriodicUpdateService
Methods
ExecuteAsync(CancellationToken)
Set an atomic property in the object model
public override Task ExecuteAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenOptional cancellation token
Returns
- Task
Asynchronous task