IROSessionsChangesNotifier
Overview
The IROSessionsChangesNotifier interface, in conjunction with the IROSessionsChangesListener interface, implements the |publish/subscribe paradigm for Session Management.
The TROCustomSessionManager class implements the IROSessionsChangesNotifier interface to conduct notifications with the TROCustomSessionManager.
The TROInMemoryEventRepository class uses the IROSessionsChangesNotifier
interface (if the implementation supports
it) to act as a listener
itself.
Location
- Unit: uROSessions.pas
- Ancestry: IROSessionsChangesNotifier
Required Methods
RegisterSessionsChangesListener
Attaches a new IROSessionsChangesListener listener.
procedure RegisterSessionsChangesListener(aListener: IROSessionsChangesListener)
Parameters:
- aListener: New listener
UnRegisterSessionsChangesListener
Detaches a previously attached aListener
.
procedure UnRegisterSessionsChangesListener(aListener: IROSessionsChangesListener)
Parameters:
- aListener: Known listener