Class ProcessInternally
- Namespace
- DuetControlServer.Codes.Pipelines
- Assembly
- DuetControlServer.dll
Code stage where codes are processed internally (if possible)
public sealed class ProcessInternally : PipelineBase
- Inheritance
-
ProcessInternally
- Inherited Members
Constructors
ProcessInternally(ChannelProcessor, CodeProcessor, IOptions<Settings>, IHostApplicationLifetime)
Code stage where codes are processed internally (if possible)
public ProcessInternally(ChannelProcessor channelProcessor, CodeProcessor codeProcessor, IOptions<Settings> settings, IHostApplicationLifetime lifetime)
Parameters
channelProcessorChannelProcessorChannel processor
codeProcessorCodeProcessorCode processor
settingsIOptions<Settings>Application settings
lifetimeIHostApplicationLifetimeApplication lifetime
Methods
ProcessCodeAsync(Code)
Try to process an incoming code
public override Task ProcessCodeAsync(Code code)
Parameters
codeCodeCode to process
Returns
- Task
Asynchronous task