30 lines
682 B
C#
30 lines
682 B
C#
namespace Endpoint
|
|
{
|
|
/// <summary>
|
|
/// Status of an endpoint
|
|
/// </summary>
|
|
/// <remarks>The <see cref="StatusComparer"/> expects these to be in order of best-to-worst descending.</remarks>
|
|
public enum Status
|
|
{
|
|
/// <summary>
|
|
/// Service state is unknown - this will occur only before the first poll.
|
|
/// </summary>
|
|
Unknown,
|
|
/// <summary>
|
|
/// Service is working
|
|
/// </summary>
|
|
Up,
|
|
/// <summary>
|
|
/// Service can be resolved, but does not respond
|
|
/// </summary>
|
|
Timeout,
|
|
/// <summary>
|
|
/// Service can not be resolved
|
|
/// </summary>
|
|
Unreachable,
|
|
/// <summary>
|
|
/// Service is available, but returns an error message
|
|
/// </summary>
|
|
Error
|
|
}
|
|
} |