using System.Collections.Generic; using System.Threading.Tasks; using SharedLibraryCore.Objects; using SharedLibraryCore.Services; using SharedLibraryCore.Configuration; namespace SharedLibraryCore.Interfaces { public interface IManager { Task Init(); Task Start(); void Stop(); ILogger GetLogger(); IList GetServers(); IList GetCommands(); IList GetMessageTokens(); IList GetActiveClients(); IConfigurationHandler GetApplicationSettings(); ClientService GetClientService(); AliasService GetAliasService(); PenaltyService GetPenaltyService(); IDictionary GetPrivilegedClients(); IEventApi GetEventApi(); /// /// Get the event handlers /// /// EventHandler for the manager IEventHandler GetEventHandler(); /// /// Signal to the manager that event(s) needs to be processed /// void SetHasEvent(); bool ShutdownRequested(); } }