ServerState

References
public sealed class ServerState

Constructors

ServerState

#
public ServerState(Solution mostRecent, Solution current, SolutionPhase phase)
mostRecent (Solution)
current (Solution)
phase (SolutionPhase)

Fields

CurrentlyRunning

#
public readonly Solution CurrentlyRunning
Gets the solution (if any) which is currently running.

MostRecentlyCompleted

#
public readonly Solution MostRecentlyCompleted
Gets the solution (if any) which last completed, faulted, or was cancelled.

Phase

#
public readonly SolutionPhase Phase
Gets the current solution phase of the server.

RelevantId

#
public readonly SolutionId RelevantId
Gets the most relevant ID involved in this state. States should not be overwritten by other states with lower relevant IDs.