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
otherUpdateWorkerStatus
Properties
Draining
worker wants no new streams; existing streams run to completion
public bool Draining { get; set; }
Property Value
HasStatus
Gets whether the "status" field is set
public bool HasStatus { get; }
Property Value
JobCount
public uint JobCount { get; set; }
Property Value
Load
public float Load { get; set; }
Property Value
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
Status
public WorkerStatus Status { get; set; }
Property Value
Methods
ClearStatus()
Clears the value of the "status" field
public void ClearStatus()