GiantsTools/Giants.Services/Services/IServerRegistryService.cs

17 lines
380 B
C#

namespace Giants.Services
{
using System.Collections.Generic;
using System.Threading.Tasks;
public interface IServerRegistryService
{
Task DeleteServer(string ipAddress);
Task DeleteServer(string ipAddress, string gameName, int port);
Task<IEnumerable<ServerInfo>> GetAllServers();
Task AddServer(ServerInfo server);
}
}