Add code
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user