birbmap/Birdmap.BLL/Services/CommunationServices/Hubs/IDevicesHubClient.cs

16 lines
430 B
C#
Raw Normal View History

2020-11-09 18:12:07 +01:00
using System;
using System.Collections.Generic;
2020-11-09 18:12:07 +01:00
using System.Threading.Tasks;
namespace Birdmap.BLL.Services.CommunicationServices.Hubs
2020-11-09 18:12:07 +01:00
{
public record Message(Guid DeviceId, DateTime Date, double Probability);
2020-11-09 18:12:07 +01:00
public interface IDevicesHubClient
{
Task NotifyMessagesAsync(IEnumerable<Message> messages);
Task NotifyDeviceUpdatedAsync(Guid deviceId);
Task NotifyAllUpdatedAsync();
2020-11-09 18:12:07 +01:00
}
}