Table of Contents

Class DaemonHostData

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

A machine running a daemon, with what it supervises.

public sealed class DaemonHostData
Inheritance
DaemonHostData
Inherited Members

Properties

Apps

What it supervises.

public IReadOnlyList<DaemonAppData> Apps { get; set; }

Property Value

IReadOnlyList<DaemonAppData>

DaemonVersion

The daemon build running there.

public string DaemonVersion { get; set; }

Property Value

string

HeartbeatAgeSeconds

Seconds since LastHeartbeatUtc, measured by the database clock when this was read. Never negative.

public double HeartbeatAgeSeconds { get; set; }

Property Value

double

Remarks

The heartbeat is stamped by the database and its age is taken there too, so no host's clock enters it. It used to be stamped with the daemon host's clock and aged against the panel's, so the difference between two machines' clocks decided whether a daemon read as silent. The caller holds the threshold and makes the call, as the server board does.

HostName

The machine's name.

public string HostName { get; set; }

Property Value

string

ID

Surrogate key.

public long ID { get; set; }

Property Value

long

LastHeartbeatUtc

Last time it said it was alive, by the database clock.

public DateTime LastHeartbeatUtc { get; set; }

Property Value

DateTime

OSDescription

What the operating system calls itself.

public string OSDescription { get; set; }

Property Value

string

ProcessorCount

Logical processors.

public int ProcessorCount { get; set; }

Property Value

int

StartedUtc

When the daemon started.

public DateTime StartedUtc { get; set; }

Property Value

DateTime