Skip to main content
Table of Contents

TTMSMCPStdioTransport.Stop Method

Marks the channel as stopped and closes the standard input stream.

API unit family: TMS.MCP.Transport.STDIO Declaring type: TTMSMCPStdioTransport

Syntax

TMS.MCP.Transport.STDIO.hppPascalC++
procedure Stop; override;
virtual void __fastcall Stop();

Remarks

This also ends a TTMSMCPStdioTransport.Run loop, so it is the way to shut the channel down from a handler or another thread. Safe to call on a channel that is not running.