Table of Contents

TTMSMCPClientTransport.Stop Method

Takes the transport out of the running state and releases the channel it holds.

API unit family: TMS.MCP.Client.Transport Declaring type: TTMSMCPClientTransport

Syntax

procedure Stop; virtual; abstract;

Remarks

Stops the workers that read from the channel and closes the session, which may include ending a launched server process or telling the server that the session is over. Calling it while the transport is not running has no effect, and a destructor calls it before releasing the instance.