TTMSMCPCustomClientConnection.OnResourcesUpdated Event
Occurs when the server reports that the content of a subscribed resource changed.
API unit family: TMS.MCP.Client.Connection
Declaring type: TTMSMCPCustomClientConnection
Syntax
OnResourcesUpdated: TTMSMCPClientServerResourceChangeEvent;
Remarks
Raised on the main thread. The resource is only read again when the handler asks for a refresh, and the result of that read arrives through OnResourcesRead.
Parameters
| Name | Description |
|---|---|
Sender |
Connection that received the notification. |
AURI |
Identifier of the resource that changed, empty when the server did not name one. |
ARefresh |
Whether the resource is read again. It enters False, so nothing is read unless the handler sets it to True. |