Inheriting the common behaviour from the Matching Model class, this class implements the specific behaviour for the matching server.

Server Matching Model class

Hierarchy (view full)

Constructors

Properties

Methods

Constructors

Properties

onUpdated: OEvent<((timeOfEarliestChange: Date) => void)> = ...

Event emitted when matching data is updated.

state: StateMachine<"Uninitialised" | "Initialised", "shutdown" | "init">
channelId: "matching" = 'matching'

Methods

    1. initialise application resources (all maps that are used to memorising the data) and load the instance information in memory. Create an access group for all clients of the matching server in order to give access to all of them at once on the channel.

    2. start the channels and add listeners for specific objects

    3. share the channel with the matching clients

    Returns Promise<void>