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

procedure Run; virtual; abstract;

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.