Gateway
InterestLinkReason
Why a gateway holds a link to a worker.
generated from the sources
Enum in namespace
Nebula · Packages/com.1by3.nebula/Runtime/Gateway/GatewayInterest.cs[Flags]
public enum InterestLinkReason : byteWhy a gateway holds a link to a worker. A link with no reason left is dropped after InterestSettings.LinkLingerSeconds; the reasons are reported in GatewayStats.WorkerLinkReasons because "why am I talking to 40 workers" is the first question anyone asks of a mesh that is not scoping.
Members
| Name | Value | Description |
|---|---|---|
None | 0 | |
Region | 1 | It owns a container overlapping a region some client needs. |
Foci | 2 | It owns a container within InterestSettings.MaxRadius of a focus, so its wide entities could reach us. |
Global | 4 | Its heartbeat says it holds always-relevant entities. |
Explicit | 8 | A policy asked for an entity by id and we do not know yet who owns it. |
Spawn | 16 | A client of ours is waiting for a pawn and this worker owns somewhere to put it. |
Owned | 32 | It is authoritative for an entity one of our clients owns. |
Far | 64 | Its heartbeat says it holds far-relevant entities, which it matches against our foci (NEB-388). |