namespace MoonlightServers.Daemon.ServerSystem.Interfaces;
public interface IOnlineDetector : IServerComponent
{
///
/// Creates the detection engine for the online state
///
///
public Task CreateAsync();
///
/// Handles the detection of the online state based on the received output
///
/// Excerpt of the output
/// True if the detection showed that the server is online. False if the detection didnt find anything
public Task HandleOutputAsync(string line);
///
/// Destroys the detection engine for the online state
///
///
public Task DestroyAsync();
}