IROActiveEventServerList
Overview
The IROActiveEventServerList interface represents the related event server list. This interface contains the main DispatchEvent procedure, which executes the specified event for all items in the list.
The IROActiveEventServerList interface is implemented by the TIROActiveEventServerList class, which is used to register/unregister the listener (IROActiveEventServer object) in the IROActiveEventServerList list.
In most cases, you will not need to use the IROActiveEventServerList interface directly.
Location
- Unit: uROEventRepository.pas
- Ancestry: IROActiveEventServerList
Properties
Next
Represents the next IROActiveEventServerList item in the list. This property is read/write, so you can get or set the next item in the list.
property Next: IROActiveEventServerList read write
Server
Gets the event server that is used to dispatch the specified event, which is represented in the DispatchEvent procedure.
property Server: IROActiveEventServer read
Required Methods
DispatchEvent
Dispatches the specified event for all items in the list. The dispatching of the event should be executed by the related IROActiveEventServer object.
procedure DispatchEvent(anEventDataItem: TROEventData; aSessionReference: TGUID; aSender: TObject)
Parameters:
- anEventDataItem: Represents an event that fires.
- aSessionReference: Unique identifier that represents the session.
- aSender: Indicates the object that receives the event.
- TIROActiveEventServerList