TTMSMCPCustomClientConnection.OnResourcesListChanged Event
Occurs when the server reports that its resource catalog changed.
API unit family: TMS.MCP.Client.Connection
Declaring type: TTMSMCPCustomClientConnection
Syntax
OnResourcesListChanged: 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 resource catalog is discarded and requested again. It enters False, so nothing is refetched unless the handler sets it to True. |