Table of Contents

TTMSMCPClientTransportHTTP.IsRunning Method

Reports whether the transport accepts messages.

API unit family: TMS.MCP.Client.Transport.HTTP Declaring type: TTMSMCPClientTransportHTTP

Syntax

function IsRunning: Boolean; override;

Remarks

This tracks the requested state rather than the reachability of the server, since no connection is held between messages. It turns False on its own when a request failed at the connection level or when an authorization attempt was rejected, because the transport stops itself in those cases.

Returns

True between Start and Stop, otherwise False.