Class PluginService
IPC processor for plugin services
Inherited Members
Namespace: DuetControlServer.IPC.Processors
Assembly: DuetControlServer.dll
Syntax
public sealed class PluginService : Base
Constructors
PluginService(Connection)
Constructor of the plugin runner proxy processor
Declaration
public PluginService(Connection conn)
Parameters
Type | Name | Description |
---|---|---|
Connection | conn | Connection instance |
Methods
PerformCommand(object, bool)
Perform a command via the plugin service
Declaration
public static Task PerformCommand(object command, bool asRoot)
Parameters
Type | Name | Description |
---|---|---|
object | command | Command to perform |
bool | asRoot | Send it to the service running as root |
Returns
Type | Description |
---|---|
Task | Asynchronous task |
Process()
Handles the remote connection
Declaration
public override Task Process()
Returns
Type | Description |
---|---|
Task | Asynchronous task |