Class Manager
Class used to manage access to channel processors
Inherited Members
Namespace: DuetControlServer.SPI.Channel
Assembly: DuetControlServer.dll
Syntax
public class Manager : IEnumerable<Processor>, IEnumerable
Constructors
Manager()
Constructor of the channel store
Declaration
public Manager()
Properties
this[CodeChannel]
Index operator for easy access via a CodeChannel value
Declaration
public Processor this[CodeChannel channel] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
CodeChannel | channel | Channel to retrieve information about |
Property Value
Type | Description |
---|---|
Processor | Information about the code channel |
Methods
Diagnostics(StringBuilder)
Print diagnostics of this class
Declaration
public Task Diagnostics(StringBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
StringBuilder | builder | String builder |
Returns
Type | Description |
---|---|
Task | Asynchronous task |
HandleReply(MessageTypeFlags, string)
Try to process a code reply
Declaration
public bool HandleReply(MessageTypeFlags flags, string reply)
Parameters
Type | Name | Description |
---|---|---|
MessageTypeFlags | flags | Message type flags |
string | reply | Message content |
Returns
Type | Description |
---|---|
bool | Whether the reply could be handled |
Run()
Process requests in the G-code channel processors
Declaration
public void Run()