Namespace DuetAPI.Connection.InitMessages
Classes
- ClientInitMessage
An instance of this class is sent from the client to the server as a response to the ServerInitMessage. It allows a client to select the connection mode (ConnectionMode).
- CodeStreamInitMessage
Enter code streaming connection mode In this connection mode G/M/T-codes are processed asynchronously (up to BufferSize)
- CommandInitMessage
Enter command-based connection mode In this connection mode nearly all of the commands in the DuetAPI.Commands namespace can be used
- InitMessage
Base class for all messages that are exchanged between client and server during the initialization phase of a connection
- InterceptInitMessage
Enter interception mode Whenever a code is received, the connection must respond with one of
Cancel to cancel the codeIgnore to pass through the code without modificationsResolve to resolve the current code and to return a message In addition the interceptor may issue custom commands once a code has been received
- PluginServiceInitMessage
Enter connection mode for the plugin service. This init message is used for internal IPC and should not be used by third-party plugins!
- ServerInitMessage
An instance of this class is sent by the server to the client in JSON format once a connection has been established.
- SubscribeInitMessage
Enter subscription mode and receive either the full object model or parts of it after every update