Table of Contents

TTMSMCPCustomClientConnection.OnInitialized Event

Occurs when the handshake has completed and the server identity and capabilities are known.

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

Syntax

property OnInitialized: TNotifyEvent;

Remarks

Raised on the main thread, before the tool, resource and prompt catalogs are requested, so they are still empty in the handler. It does not fire when the server answers the handshake with a protocol version this connection cannot speak; the connection stops instead.