Control plane
GatewayInfo
Describes a gateway registered with the control plane.
generated from the sources
Class in namespace
Nebula · Packages/com.1by3.nebula/Runtime/ControlPlane/IControlPlane.cspublic sealed class GatewayInfoDescribes a gateway registered with the control plane.
Fields
GatewayId
public string GatewayId;Incarnation
public uint Incarnation;Changes on every start of the gateway process (HelloMsg.Incarnation); 0 for a row written by an older gateway.
Address
public string Address;Port
public ushort Port;LastHeartbeat
public DateTime LastHeartbeat;Stats
public GatewayStats Stats;What the gateway last reported about itself.
DrainRequested
public bool DrainRequested;Somebody asked this gateway to drain (IControlPlane.SetGatewayDraining). The gateway sees the flag on its own row and stops accepting clients; GatewayStats.Draining is its acknowledgement.
Properties
PendingJoins
public uint PendingJoins { get; set; }Shorthand for GatewayStats.PendingJoins.