Table of Contents

Class ServerInfo

Namespace
Livekit.Agent
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll

ServerInfo is sent by the agent to the CLI when the dev-reload channel opens,

public sealed class ServerInfo : IMessage<ServerInfo>, IEquatable<ServerInfo>, IDeepCloneable<ServerInfo>, IBufferMessage, IMessage
Inheritance
ServerInfo
Implements
IMessage<ServerInfo>
IDeepCloneable<ServerInfo>
IBufferMessage
IMessage
Inherited Members

Constructors

ServerInfo()

public ServerInfo()

ServerInfo(ServerInfo)

public ServerInfo(ServerInfo other)

Parameters

other ServerInfo

Fields

AgentNameFieldNumber

Field number for the "agent_name" field.

public const int AgentNameFieldNumber = 1

Field Value

int

UrlFieldNumber

Field number for the "url" field.

public const int UrlFieldNumber = 2

Field Value

int

Properties

AgentName

public string AgentName { get; set; }

Property Value

string

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<ServerInfo> Parser { get; }

Property Value

MessageParser<ServerInfo>

Url

public string Url { get; set; }

Property Value

string

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

Clone()

Creates a deep clone of this object.

public ServerInfo Clone()

Returns

ServerInfo

A deep clone of this object.

Equals(ServerInfo)

public bool Equals(ServerInfo other)

Parameters

other ServerInfo

Returns

bool

Equals(object)

public override bool Equals(object other)

Parameters

other object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

MergeFrom(ServerInfo)

Merges the given message into this one.

public void MergeFrom(ServerInfo other)

Parameters

other ServerInfo

Remarks

See the user guide for precise merge semantics.

ToString()

public override string ToString()

Returns

string

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.