mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Server Availability Changes
- moved a few things into the common project.
This commit is contained in:
parent
5c0bbfd0a8
commit
a14f91c412
38 changed files with 393 additions and 461 deletions
10
src/ServerManager.Common/Enums/AvailabilityStatus.cs
Normal file
10
src/ServerManager.Common/Enums/AvailabilityStatus.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace ServerManagerTool.Common.Enums
|
||||
{
|
||||
public enum AvailabilityStatus
|
||||
{
|
||||
Unknown,
|
||||
Unavailable,
|
||||
Waiting,
|
||||
Available
|
||||
}
|
||||
}
|
||||
13
src/ServerManager.Common/Enums/ServerStatus.cs
Normal file
13
src/ServerManager.Common/Enums/ServerStatus.cs
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
namespace ServerManagerTool.Common.Enums
|
||||
{
|
||||
public enum ServerStatus
|
||||
{
|
||||
Unknown,
|
||||
Stopping,
|
||||
Stopped,
|
||||
Initializing,
|
||||
Running,
|
||||
Updating,
|
||||
Uninstalled
|
||||
}
|
||||
}
|
||||
40
src/ServerManager.Common/Enums/WatcherServerStatus.cs
Normal file
40
src/ServerManager.Common/Enums/WatcherServerStatus.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
namespace ServerManagerTool.Common.Enums
|
||||
{
|
||||
public enum WatcherServerStatus
|
||||
{
|
||||
/// <summary>
|
||||
/// The server binary couldnot be found.
|
||||
/// </summary>
|
||||
NotInstalled,
|
||||
|
||||
/// <summary>
|
||||
/// The server binary was found, but the process was not
|
||||
/// </summary>
|
||||
Stopped,
|
||||
|
||||
/// <summary>
|
||||
/// The server binary was found, the process was found, but no permissions to access the process.
|
||||
/// </summary>
|
||||
Unknown,
|
||||
|
||||
/// <summary>
|
||||
/// The server process was found, but the server is not responding on its port
|
||||
/// </summary>
|
||||
Initializing,
|
||||
|
||||
/// <summary>
|
||||
/// The server is responding locally on its port, a local check was made
|
||||
/// </summary>
|
||||
RunningLocalCheck,
|
||||
|
||||
/// <summary>
|
||||
/// The server is responding locally on its port, a public check was made
|
||||
/// </summary>
|
||||
RunningExternalCheck,
|
||||
|
||||
/// <summary>
|
||||
/// The server is responding externally on its port
|
||||
/// </summary>
|
||||
Published,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue