Class FailingAddress
An address the planner currently treats as failing.
public sealed record FailingAddress : IEquatable<FailingAddress>
- Inheritance
-
FailingAddress
- Implements
- Inherited Members
Properties
Address
The failing address, in the server's own format.
[JsonPropertyName("failingAddress")]
[JsonInclude]
public string Address { get; }
Property Value
Remarks
Lavalink reports it via InetAddress.toString() with a leading slash ("/1.0.0.0"), NodeLink sends
plain addresses. The value is not normalized, it round-trips exactly as the server reported it.
Absorbs a null the server sends, readers see the empty string.
FailingTime
The same timestamp as the server formatted it.
[JsonPropertyName("failingTime")]
[JsonInclude]
public string FailingTime { get; }
Property Value
FailingTimestamp
Since when the address fails, as a date.
[JsonIgnore]
public DateTimeOffset FailingTimestamp { get; }
Property Value
Remarks
MinValue when the epoch value is out of the convertible range, which the exact floor of the range reads as too, so the sentinel cannot be told apart from it.
FailingTimestampMilliseconds
Unix timestamp, in milliseconds, since when the address fails.
[JsonPropertyName("failingTimestamp")]
[JsonInclude]
public long FailingTimestampMilliseconds { get; }