Class ServerSnapshot
A server's state as the dashboard shows it; what the connection cannot see is null.
Implements
Inherited Members
Namespace: Uniform.Chat.Server.Management
Assembly: uniform-chat-server.dll
Syntax
public sealed record ServerSnapshot : IEquatable<ServerSnapshot>
Properties
| Edit this page View SourceActiveRequests
Requests in progress, including waiting syncs.
Declaration
public int? ActiveRequests { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
Addresses
Where it listens, or the address it was reached at.
Declaration
public IReadOnlyList<string> Addresses { get; init; }
Property Value
| Type | Description |
|---|---|
| IReadOnlyList<string> |
DataDirectory
The data folder.
Declaration
public string? DataDirectory { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
FailedRequests
Requests answered with a server error.
Declaration
public long? FailedRequests { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
LogDirectory
The folder of session logs.
Declaration
public string? LogDirectory { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
LogFile
This session's log.
Declaration
public string? LogFile { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Requests
Requests answered.
Declaration
public long? Requests { get; init; }
Property Value
| Type | Description |
|---|---|
| long? |
ServerName
The server's name, the part after the colon in user IDs.
Declaration
public required string ServerName { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
SettingsFile
The settings file.
Declaration
public string? SettingsFile { get; init; }
Property Value
| Type | Description |
|---|---|
| string |
Started
When it started.
Declaration
public DateTimeOffset? Started { get; init; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
Version
The server's version.
Declaration
public string? Version { get; init; }
Property Value
| Type | Description |
|---|---|
| string |