Table of Contents

TTMSMCPCustomClientConnection.OnToolsListChanged Event

Occurs when the server reports that its tool catalog changed.

API unit family: TMS.MCP.Client.Connection Declaring type: TTMSMCPCustomClientConnection

Syntax

OnToolsListChanged: TTMSMCPClientServerChangeEvent;

Remarks

Raised on the main thread. The cached catalog is only discarded and requested again when the handler asks for a refresh, so without a handler the connection keeps serving the catalog it already has.

Parameters

Name Description
Sender Connection that received the notification.
ARefresh Whether the cached tool catalog is discarded and requested again. It enters False, so nothing is refetched unless the handler sets it to True.