2020-11-09 18:12:07 +01:00
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
|
using MQTTnet.Client.Connecting;
|
|
|
|
|
using MQTTnet.Client.Disconnecting;
|
|
|
|
|
using MQTTnet.Client.Receiving;
|
|
|
|
|
|
2020-12-03 18:52:25 +01:00
|
|
|
|
namespace Birdmap.BLL.Interfaces
|
2020-11-09 18:12:07 +01:00
|
|
|
|
{
|
|
|
|
|
public interface IMqttClientService : IHostedService,
|
|
|
|
|
IMqttClientConnectedHandler,
|
|
|
|
|
IMqttClientDisconnectedHandler,
|
|
|
|
|
IMqttApplicationMessageReceivedHandler
|
|
|
|
|
{
|
2020-11-19 20:43:01 +01:00
|
|
|
|
public bool IsConnected { get; }
|
2020-11-09 18:12:07 +01:00
|
|
|
|
}
|
|
|
|
|
}
|