Class Command
Command interpreter for client requests
Inherited Members
Namespace: DuetControlServer.IPC.Processors
Assembly: DuetControlServer.dll
Syntax
public sealed class Command : Base
Constructors
Command(Connection)
Constructor of the command interpreter
Declaration
public Command(Connection conn)
Parameters
| Type | Name | Description |
|---|---|---|
| Connection | conn | Connection instance |
Fields
SupportedCommands
List of supported commands in this mode
Declaration
public static readonly Type[] SupportedCommands
Field Value
| Type | Description |
|---|---|
| Type[] |
Methods
Process()
Reads incoming command requests and processes them. See DuetAPI.Commands namespace for a list of supported commands. The actual implementations can be found in DuetControlServer.Commands.
Declaration
public override Task Process()
Returns
| Type | Description |
|---|---|
| Task | Asynchronous task |