Skip to main content
Table of Contents

TTMSMCPNamedPipeTransport.Run Method

Starts the channel if needed and parks the calling thread until it stops.

API unit family: TMS.MCP.Transport.NamedPipe Declaring type: TTMSMCPNamedPipeTransport

Syntax

TMS.MCP.Transport.NamedPipe.hppPascalC++
procedure Run; override;
virtual void __fastcall Run();

Remarks

This call blocks. It does no work of its own - inbound messages are handled on the pipe server's own threads - so it exists only to keep a console host alive. Ending it requires TTMSMCPNamedPipeTransport.Stop from a handler or another thread.