This repository has been archived on 2020-12-20. You can view files and clone it, but cannot push or open issues or pull requests.
Files
aurora-sharp-desktop/Aurora/Services/Server/Server/IServerService.cs

27 lines
501 B
C#

using System.Threading.Tasks;
namespace Aurora.Services.Server
{
public interface IServerService
{
int Port { get; }
string Hostname { get; }
bool Initialized { get; }
/// <summary>
/// Start Server
/// </summary>
void Start(string partyName, string description);
/// <summary>
/// Shutdown server async.
/// </summary>
/// <returns>Task</returns>
Task Stop();
Task Reset();
}
}