Class TunnelSuggestion
- Namespace
- McServerLauncher.Services
- Assembly
- McServerLauncher.dll
One thing the screen can offer to put right. TunnelId and ServerId name what it
concerns, when it concerns one; Subject is the name to show (the tunnel's or the server's);
Other is a second name where one is needed (the other server sharing a port); Udp
and Port say which local port it is about — a shared Bedrock port is fixed differently
from a shared Java one, and "create a tunnel" is only actionable on playit.gg with the port in hand.
public sealed record TunnelSuggestion : IEquatable<TunnelSuggestion>
- Inheritance
-
TunnelSuggestion
- Implements
- Inherited Members
Constructors
TunnelSuggestion(TunnelSuggestionKind, string?, string?, string, string?, bool, int)
One thing the screen can offer to put right. TunnelId and ServerId name what it
concerns, when it concerns one; Subject is the name to show (the tunnel's or the server's);
Other is a second name where one is needed (the other server sharing a port); Udp
and Port say which local port it is about — a shared Bedrock port is fixed differently
from a shared Java one, and "create a tunnel" is only actionable on playit.gg with the port in hand.
public TunnelSuggestion(TunnelSuggestionKind Kind, string? TunnelId, string? ServerId, string Subject, string? Other = null, bool Udp = false, int Port = 0)
Parameters
KindTunnelSuggestionKindTunnelIdstringServerIdstringSubjectstringOtherstringUdpboolPortint
Properties
IsProblem
Every suggestion left is something wrong; the tidy-up of names went (it was noise).
public bool IsProblem { get; }
Property Value
Kind
public TunnelSuggestionKind Kind { get; init; }
Property Value
Other
public string? Other { get; init; }
Property Value
Port
public int Port { get; init; }
Property Value
ServerId
public string? ServerId { get; init; }
Property Value
Subject
public string Subject { get; init; }
Property Value
TunnelId
public string? TunnelId { get; init; }
Property Value
Udp
public bool Udp { get; init; }