Wino.Server and Wino.Packaging projects. Enabling full trust for UWP and app service connection manager basics.
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
/// They are sent either from processor or view models to signal some other
|
||||
/// parts of the application.
|
||||
/// </summary>
|
||||
public interface IUIMessage;
|
||||
public interface IServerMessage;
|
||||
}
|
||||
17
Wino.Core.Domain/Interfaces/IWinoServerConnectionManager.cs
Normal file
17
Wino.Core.Domain/Interfaces/IWinoServerConnectionManager.cs
Normal file
@@ -0,0 +1,17 @@
|
||||
using System.Threading.Tasks;
|
||||
using Wino.Core.Domain.Enums;
|
||||
|
||||
namespace Wino.Core.Domain.Interfaces
|
||||
{
|
||||
public interface IWinoServerConnectionManager
|
||||
{
|
||||
WinoServerConnectionStatus Status { get; }
|
||||
Task<bool> ConnectAsync();
|
||||
Task<bool> DisconnectAsync();
|
||||
}
|
||||
|
||||
public interface IWinoServerConnectionManager<TAppServiceConnection> : IWinoServerConnectionManager, IInitializeAsync
|
||||
{
|
||||
TAppServiceConnection Connection { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user