Skip to content

Latest commit

 

History

History
55 lines (32 loc) · 2.09 KB

File metadata and controls

55 lines (32 loc) · 2.09 KB

@epicgames-ps/lib-pixelstreamingsignalling-ue5.5 / MatchmakerConnection / MatchmakerConnection

Class: MatchmakerConnection

MatchmakerConnection.MatchmakerConnection

This class handles connecting and reconnecting to a matchmaker service and will notify the matchmaker of streamer and player added/removed events that are emitted from the respective registries.

Table of contents

Constructors

Properties

Constructors

constructor

new MatchmakerConnection(config, streamerRegistry, playerRegistry): MatchmakerConnection

Initializes the matchmaker connection and attempts a connection to the given address and port immediately. Will automatically try to reconnect on connection loss.

Parameters

Name Type Description
config IMatchmakerConfig The matchmaker configuration.
streamerRegistry StreamerRegistry The signalling server streamer registry. This is used to notify the matchmaker of streamers being added/removed.
playerRegistry PlayerRegistry The signalling server player registry. This is used to notify the matchmaker of players being added/removed.

Returns

MatchmakerConnection

Defined in

MatchmakerConnection.ts:49

Properties

config

config: IMatchmakerConfig

Defined in

MatchmakerConnection.ts:36