Skip to main content
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

TMS.MCP.Server.hppPascalC++
OnSessionCreated: TTMSMCPSessionEvent;
__property TTMSMCPSessionEvent OnSessionCreated = {read=FOnSessionCreated, write=SetOnSessionCreated};

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.