TROSessionReference
Overview
The TROSessionReference class is used for storing active events on the server side.
The TROInMemoryEventRepository and TROOlympiaEventRepository classes use the TROSessionReference class internally.
You will not use this class directly.
Location
- Unit: uROEventRepository.pas
- Ancestry: TROSessionReference
constructor Create
Creates a new instance.
constructor Create(aSessionID: TGUID)
Parameters:
- aSessionID: Session ID
ActiveEventReference
Active event reference.
property ActiveEventReference: IROActiveEventServerList read write
AddEventSink
Adds a new event
procedure AddEventSink(const aEventSinkId: string)
Parameters:
- aEventSinkId:
HandlesAll
property HandlesAll: Boolean read
HandlesEventSink
function HandlesEventSink(const aEventSinkId: string): Boolean
Parameters:
- aEventSinkId:
Head
Specifies the first object.
property Head: TROSessionRefToEventDataLink read write
IsValidHandler
function IsValidHandler: Boolean
RemoveEventSink
procedure RemoveEventSink(const aEventSinkId: string)
Parameters:
- aEventSinkId:
SessionID
Session ID
property SessionID: TGUID read
Tail
Specifies the last object.
property Tail: TROSessionRefToEventDataLink read write
ActiveEventReference
Active event reference.
property ActiveEventReference: IROActiveEventServerList read write
HandlesAll
property HandlesAll: Boolean read
Head
Specifies the first object.
property Head: TROSessionRefToEventDataLink read write
SessionID
Session ID
property SessionID: TGUID read
Tail
Specifies the last object.
property Tail: TROSessionRefToEventDataLink read write
constructor Create
Creates a new instance.
constructor Create(aSessionID: TGUID)
Parameters:
- aSessionID: Session ID
AddEventSink
Adds a new event
procedure AddEventSink(const aEventSinkId: string)
Parameters:
- aEventSinkId:
HandlesEventSink
function HandlesEventSink(const aEventSinkId: string): Boolean
Parameters:
- aEventSinkId:
IsValidHandler
function IsValidHandler: Boolean
RemoveEventSink
procedure RemoveEventSink(const aEventSinkId: string)
Parameters:
- aEventSinkId: