This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
gameservicewarden/GameServiceWarden/GameServiceWarden.ModuleFramework/IService.cs

17 lines
479 B
C#

using System;
using System.Collections.Generic;
using System.IO;
namespace GameServiceWarden.ModuleFramework
{
public interface IService
{
event EventHandler<ServiceState> StateChangeEvent;
event EventHandler<string> UpdateLogEvent;
IReadOnlyCollection<IServiceConfigurable> Configurables{ get; }
void InitializeService();
void ElegantShutdown();
byte[] GetLogBuffer();
void ExecuteCommand(string command);
}
}