Table of Contents

TTMSMCPServer.OnSessionCreated Event

Occurs when the transport opens a new client session. Raised only by session-aware transports.

API unit family: TMS.MCP.Server Declaring type: TTMSMCPServer Inherited from: TTMSMCPCustomServer

Syntax

OnSessionCreated: TTMSMCPSessionEvent;

Parameters

Name Description
Sender Server that owns the session.
SessionId Identifier of the session that was opened. Session state for it already exists when the handler runs.