Table of Contents

Class Ping

Namespace
LiveKit.Proto
Assembly
LiveKit.AspNetCore.ServerSdk.Abstractions.dll
public sealed class Ping : IMessage<Ping>, IEquatable<Ping>, IDeepCloneable<Ping>, IBufferMessage, IMessage
Inheritance
Ping
Implements
IMessage<Ping>
IDeepCloneable<Ping>
IBufferMessage
IMessage
Inherited Members

Constructors

Ping()

public Ping()

Ping(Ping)

public Ping(Ping other)

Parameters

other Ping

Fields

RttFieldNumber

Field number for the "rtt" field.

public const int RttFieldNumber = 2

Field Value

int

TimestampFieldNumber

Field number for the "timestamp" field.

public const int TimestampFieldNumber = 1

Field Value

int

Properties

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

Parser

public static MessageParser<Ping> Parser { get; }

Property Value

MessageParser<Ping>

Rtt

rtt in milliseconds calculated by client

public long Rtt { get; set; }

Property Value

long

Timestamp

public long Timestamp { get; set; }

Property Value

long

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 Ping Clone()

Returns

Ping

A deep clone of this object.

Equals(Ping)

public bool Equals(Ping other)

Parameters

other Ping

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(Ping)

Merges the given message into this one.

public void MergeFrom(Ping other)

Parameters

other Ping

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.