TIROActiveEventServerList

Overview

The TIROActiveEventServerList class implements the IROActiveEventServerList interface in Remoting SDK implementations of event repositories. This class is not designed to be used outside of the Remoting SDK.

Location


Class Methods


AddListener

If aItem is not present yet, it will be added to aList.
The new aItem is inserted at the head of aList, which is returned.

class function AddListener(aList: IROActiveEventServerList; aItem: IROActiveEventServer): IROActiveEventServerList

Parameters:

  • aList: List of servers
  • aItem: Server to be added to the list

RemoveListener

Removes aItem from aList and returns the head of aList.

class function RemoveListener(aList: IROActiveEventServerList; aItem: IROActiveEventServer): IROActiveEventServerList

Parameters:

  • aList: List of servers
  • aItem: Server to be removed from the list

Instance Methods


constructor Create

Initializes the instance as the head element of the aNext list.

constructor Create(aNext: IROActiveEventServerList; aItem: IROActiveEventServer)

Parameters:

  • aNext: Tail of the list
  • aItem: Becomes the Server