Table of Contents

Class UpdateWorkerStatus

Namespace
Livekit.Server.Sdk.Dotnet
Assembly
LivekitApi.dll
public sealed class UpdateWorkerStatus : IMessage<UpdateWorkerStatus>, IEquatable<UpdateWorkerStatus>, IDeepCloneable<UpdateWorkerStatus>, IBufferMessage, IMessage
Inheritance
UpdateWorkerStatus
Implements
IBufferMessage
Inherited Members

Constructors

UpdateWorkerStatus()

public UpdateWorkerStatus()

UpdateWorkerStatus(UpdateWorkerStatus)

public UpdateWorkerStatus(UpdateWorkerStatus other)

Parameters

other UpdateWorkerStatus

Properties

Draining

worker wants no new streams; existing streams run to completion

public bool Draining { get; set; }

Property Value

bool

HasStatus

Gets whether the "status" field is set

public bool HasStatus { get; }

Property Value

bool

JobCount

public uint JobCount { get; set; }

Property Value

uint

Load

public float Load { get; set; }

Property Value

float

Seq

monotonic per registration; status updates may interleave across connections and a stale report must not regress newer state

public ulong Seq { get; set; }

Property Value

ulong

Status

public WorkerStatus Status { get; set; }

Property Value

WorkerStatus

Methods

ClearStatus()

Clears the value of the "status" field

public void ClearStatus()