Table of Contents

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

model ObjectModel
periodicUpdater PeriodicUpdateService

Methods

ExecuteAsync(CancellationToken)

Set an atomic property in the object model

public override Task ExecuteAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Optional cancellation token

Returns

Task

Asynchronous task