Table of Contents

TTMSMCPPendingClientRequest Class

Bookkeeping entry for one request the server sent to a client while it waits for the matching response. The calling thread blocks on the entry's event until the response arrives over the transport or the wait times out.

API unit family: TMS.MCP.Server

Syntax

TTMSMCPPendingClientRequest = class

Remarks

Instances are created and destroyed by the server as part of server-to-client round trips such as sampling, elicitation and roots retrieval; do not construct or free one directly.

Properties

Name Description
Event Manual-reset event signalled once the matching response has been stored in Response. The waiting thread blocks on it for the configured timeout.
Response Response received from the client, or nil while none has arrived. The entry owns the object and frees it when it is destroyed.
SessionId Identifier of the session the request was sent to.