Table of Contents

TTMSMCPTransport.SendNotificationToSession Method

Pushes a server-initiated notification to one session.

API unit family: TMS.MCP.Transport Declaring type: TTMSMCPTransport

Syntax

procedure SendNotificationToSession(const ASessionId, ANotification: string); virtual;

Remarks

Does nothing on a channel that does not track sessions, which is the behavior inherited from this class. A notification expects no reply, so there is no result to report delivery.

Parameters

Name Description
ASessionId Session to deliver the notification to.
ANotification Notification text to send, normally a JSON-RPC notification.