Class ServerMessage
- Namespace
- Livekit.Server.Sdk.Dotnet
- Assembly
- LivekitApi.dll
from Server to Worker
public sealed class ServerMessage : IMessage<ServerMessage>, IEquatable<ServerMessage>, IDeepCloneable<ServerMessage>, IBufferMessage, IMessage
- Inheritance
-
ServerMessage
- Implements
-
IBufferMessage
- Inherited Members
Constructors
ServerMessage()
public ServerMessage()
ServerMessage(ServerMessage)
public ServerMessage(ServerMessage other)
Parameters
otherServerMessage
Properties
Assignment
public JobAssignment Assignment { get; set; }
Property Value
Availability
server asks worker to confirm availability for a job
public AvailabilityRequest Availability { get; set; }
Property Value
GoAway
the server is draining this control connection: re-register elsewhere, in-flight agent HTTP streams run to completion
public AgentHttp.Types.GoAway GoAway { get; set; }
Property Value
MessageCase
public ServerMessage.MessageOneofCase MessageCase { get; }
Property Value
Pong
public WorkerPong Pong { get; set; }
Property Value
Register
server confirms the registration, from this moment on, the worker is considered active
public RegisterWorkerResponse Register { get; set; }
Property Value
Termination
public JobTermination Termination { get; set; }
Property Value
Methods
ClearMessage()
public void ClearMessage()