2020-08-08 08:53:35 +02:00
|
|
|
|
namespace Giants.Services
|
|
|
|
|
{
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
public interface IServerRegistryService
|
|
|
|
|
{
|
2020-08-10 07:11:10 +02:00
|
|
|
|
Task DeleteServer(string ipAddress);
|
|
|
|
|
|
2022-09-05 05:29:59 +02:00
|
|
|
|
Task DeleteServer(string ipAddress, string gameName, int port);
|
|
|
|
|
|
2020-08-08 08:53:35 +02:00
|
|
|
|
Task<IEnumerable<ServerInfo>> GetAllServers();
|
|
|
|
|
|
2020-08-09 01:31:16 +02:00
|
|
|
|
Task AddServer(ServerInfo server);
|
2020-08-08 08:53:35 +02:00
|
|
|
|
}
|
|
|
|
|
}
|