Vixen
02b45cc4
csharp
public sealed class ServicePlane

Who is listening, and how the gate says something to them. Doc 27 § The three planes.

Read the guide page for this →

Remarks

This is the second of the client's two connections: one UDP session to its realm, one WSS to here. What travels on it is everything whose recipient may be on another realm, offline, or on another continent — guild and whisper chat, party invites, a catalog that has been published, a shard that is about to drain.

⚠ This socket is allowed to be down, and every message on it is allowed to be lost. Nothing a player is waiting on travels here — that is the data plane — and anything that would be wrong to lose is a request the client makes rather than a push it receives. A push is a hint to go and ask.

Fields and properties (1)

  • public int Count

    How many sockets are open.

Methods (4)

  • public void Join(IGateSubscriber subscriber)

    Starts listening.

  • public void Leave(IGateSubscriber subscriber)

    Stops.

  • public ValueTask TellAsync(Guid account, GateEvent message)

    Says something to one account, on every socket it has open.

  • public ValueTask TellEveryoneAsync(GateEvent message)

    Says something to everybody. What a catalog publication is.

Used by (3)

  • GateEndpointsVixen.Live.Gate
  • GateHostVixen.Live.Gate
  • ServicePlaneTestsVixen.Live.Gate.Tests