Skip to main content
Table of Contents

TTMSMCPTransport.Run Method

Starts the channel if needed and keeps serving until it stops.

API unit family: TMS.MCP.Transport Declaring type: TTMSMCPTransport

Syntax

TMS.MCP.Transport.hppPascalC++
procedure Run; virtual; abstract;
virtual void __fastcall Run() = 0;

Remarks

Implemented by the descendant. This call blocks for as long as the channel runs, so it suits a console host whose main thread has nothing else to do. Call it from a worker thread, or use TTMSMCPTransport.Start instead, in an application that has a message loop of its own.