Nebula
Gateway

InterestLinkReason

Why a gateway holds a link to a worker.

generated from the sources
[Flags]
public enum InterestLinkReason : byte

Why 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

NameValueDescription
None0
Region1It owns a container overlapping a region some client needs.
Foci2It owns a container within InterestSettings.MaxRadius of a focus, so its wide entities could reach us.
Global4Its heartbeat says it holds always-relevant entities.
Explicit8A policy asked for an entity by id and we do not know yet who owns it.
Spawn16A client of ours is waiting for a pawn and this worker owns somewhere to put it.
Owned32It is authoritative for an entity one of our clients owns.
Far64Its heartbeat says it holds far-relevant entities, which it matches against our foci (NEB-388).

On this page