- inherit ICommunicationSettings base interface
@ -4,7 +4,7 @@
using System;
namespace GBase.Server
namespace GBase.Api.Communication
{
public enum ServerProtocol //TODO: Decide which protocols should be usable
@ -12,6 +12,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\GBase.Api\GBase.Api.csproj" />
<ProjectReference Include="..\GBase.Logging\GBase.Logging.csproj" />
@ -6,6 +6,7 @@ using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using GBase.Api.Communication;
using GBase.Logging;
using GBase.Server.Exceptions;
using GBase.Server.Interfaces;
@ -2,18 +2,13 @@
// Created: 2020-02-08
// Copyright(c) 2020 SimonG. All Rights Reserved.
namespace GBase.Server.Interfaces
public interface IGBaseServerSettings
public interface IGBaseServerSettings : ICommunicationSettings
ServerProtocol Protocol { get; }
IPAddress IpAddress { get; }
int Port { get; }
string Endpoint { get; }
string LogFilePath { get; }
string LogFileName { get; }
@ -4,6 +4,7 @@
using GBase.Logging.Interfaces;