UIMessage communication. Single instancing for server and re-connection mechanism on suspension.
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
/// They are sent either from processor or view models to signal some other
|
||||
/// parts of the application.
|
||||
/// </summary>
|
||||
|
||||
public interface IServerMessage;
|
||||
}
|
||||
|
||||
@@ -1,13 +1,17 @@
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
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();
|
||||
|
||||
WinoServerConnectionStatus Status { get; }
|
||||
event EventHandler<WinoServerConnectionStatus> StatusChanged;
|
||||
void DisposeConnection();
|
||||
}
|
||||
|
||||
public interface IWinoServerConnectionManager<TAppServiceConnection> : IWinoServerConnectionManager, IInitializeAsync
|
||||
|
||||
Reference in New Issue
Block a user