Table of Contents

Class TunnelRow

Namespace
McServerLauncher.Services
Assembly
McServerLauncher.dll

One tunnel of the account, with what is known about it. Owners are the servers that listen where it points; SuggestedName is the name it would carry if named after its server, null when nothing sensible exists (no owner, or several).

public sealed record TunnelRow : IEquatable<TunnelRow>
Inheritance
TunnelRow
Implements
Inherited Members

Constructors

TunnelRow(PlayitTunnel, TunnelHealth, IReadOnlyList<ServerPorts>, string?)

One tunnel of the account, with what is known about it. Owners are the servers that listen where it points; SuggestedName is the name it would carry if named after its server, null when nothing sensible exists (no owner, or several).

public TunnelRow(PlayitApiService.PlayitTunnel Tunnel, TunnelHealth Health, IReadOnlyList<ServerPorts> Owners, string? SuggestedName)

Parameters

Tunnel PlayitApiService.PlayitTunnel
Health TunnelHealth
Owners IReadOnlyList<ServerPorts>
SuggestedName string

Properties

Health

public TunnelHealth Health { get; init; }

Property Value

TunnelHealth

NameDiffers

public bool NameDiffers { get; }

Property Value

bool

Owners

public IReadOnlyList<ServerPorts> Owners { get; init; }

Property Value

IReadOnlyList<ServerPorts>

SuggestedName

public string? SuggestedName { get; init; }

Property Value

string

Tunnel

public PlayitApiService.PlayitTunnel Tunnel { get; init; }

Property Value

PlayitApiService.PlayitTunnel