IROSessionsChangesListener

Overview

The IROSessionsChangesListener interface, in conjunction with the IROSessionsChangesNotifier interface, implements the |publish/subscribe paradigm for Session Management.

The TROBaseSuperTCPServer, TROBaseAsyncSuperTcpServer and TROBaseSuperHTTPServer classes use the IROSessionsChangesListener interface (if implemented by the employed TROEventRepository) for notification.

The TROInMemoryEventRepository class implements the IROSessionsChangesListener interface to keep session lists in synch.

The TROCustomSessionManager propagates notifications with help of the IROSessionsChangesListener interface.

Location


Required Methods


SessionsChangedNotification

A |callback that informs about events (TROSessionsActions) related to the aSessionID.

procedure SessionsChangedNotification(const aSessionID: TGUID; aSessionAction: TROSessionsActions; Sender: TObject)

Parameters: