TTMSMCPStdioTransport.Start Method
Opens the standard input stream and marks the channel as running.
API unit family: TMS.MCP.Transport.STDIO
Declaring type: TTMSMCPStdioTransport
Syntax
procedure Start; override;
Remarks
Starting does not read anything by itself. Follow it with TTMSMCPStdioTransport.Run, or call TTMSMCPStdioTransport.ProcessMessages repeatedly from a loop of your own.
Exceptions
| Exception | Description |
|---|---|
Exception |
Raised when no message handler has been assigned, because a channel that cannot answer is useless; assign TTMSMCPTransport.OnProcessMessage first. |