Skip to main content
Table of Contents

TTMSMCPTransport.SendNotificationToSession Method

Pushes a server-initiated notification to one session.

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

Syntax

TMS.MCP.Transport.hppPascalC++
procedure SendNotificationToSession(const ASessionId, ANotification: string); virtual;
virtual void __fastcall SendNotificationToSession(const System::UnicodeString ASessionId, const System::UnicodeString ANotification);

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.