tgstation-server  4.3.2
The /tg/station 13 server suite
MonitorState.cs
Go to the documentation of this file.
1 using Newtonsoft.Json;
3 
4 namespace Tgstation.Server.Host.Components.Watchdog
5 {
9  sealed class MonitorState
10  {
14  public bool RebootingInactiveServer { get; set; }
15 
19  public bool InactiveServerCritFail { get; set; }
20 
24  public MonitorAction NextAction { get; set; }
25 
29  [JsonIgnore]
30  public ISessionController ActiveServer { get; set; }
31 
35  [JsonIgnore]
36  public ISessionController InactiveServer { get; set; }
37  }
38 }
Handles communication with a DreamDaemon IProcess
MonitorAction
The action for the monitor loop to take when control is returned to it
Definition: MonitorAction.cs:6
The (absolute) state of the ExperimentalWatchdog
Definition: MonitorState.cs:9