TTMSMCPTransport.OnSessionCreated Event
Fires when a session-aware channel opens a new session.
API unit family: TMS.MCP.Transport
Declaring type: TTMSMCPTransport
Syntax
OnSessionCreated: TTMSMCPTransportSessionCreatedEvent;
Remarks
Never fires on a channel that does not track sessions. It is raised once the client has completed the initialize handshake, and may be raised from a worker thread.
Parameters
| Name | Description |
|---|---|
SessionId |
Identifier the channel assigned to the new session. The handler stores it as the key of whatever per-session state it creates; it cannot refuse the session by changing the value. |