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


 

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.

GetNext

Gets the next IROActiveEventServerList item in the list.

function GetNext: IROActiveEventServerList

GetServer

Gets the event server that is used to dispatch the specified event, which is represented in the DispatchEvent procedure.

function GetServer: IROActiveEventServer

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

SetNext

Sets the next IROActiveEventServerList item in the list.

procedure SetNext(aData: IROActiveEventServerList)

Parameters:

  • aData: Specified IROActiveEventServerList item

 

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

 

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.

GetNext

Gets the next IROActiveEventServerList item in the list.

function GetNext: IROActiveEventServerList

GetServer

Gets the event server that is used to dispatch the specified event, which is represented in the DispatchEvent procedure.

function GetServer: IROActiveEventServer

SetNext

Sets the next IROActiveEventServerList item in the list.

procedure SetNext(aData: IROActiveEventServerList)

Parameters:

  • aData: Specified IROActiveEventServerList item