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/src/GameServiceWarden.ModuleAPI/IService.cs

17 lines
473 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.IO;
namespace GameServiceWarden.ModuleAPI
{
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);
}
}