Configuration branch
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
|
||||
namespace Endpoint
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes a service endpoint, and the methods to find its current status
|
||||
/// </summary>
|
||||
public interface IServiceEndpoint
|
||||
{
|
||||
/// <summary>
|
||||
/// Configuration of the endpoint
|
||||
/// </summary>
|
||||
IServiceEndpointConfiguration ServiceEndpointConfiguration { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the service name
|
||||
/// </summary>
|
||||
string ServiceName { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets the current status result of the endpoint
|
||||
/// </summary>
|
||||
/// <returns>Status</returns>
|
||||
Status GetStatus();
|
||||
|
||||
/// <summary>
|
||||
/// Returns a string explaining details on the current status
|
||||
/// </summary>
|
||||
/// <returns>string with status message</returns>
|
||||
string StatusDescription { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user