2020-11-09 18:12:07 +01:00
|
|
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
|
using MQTTnet.Client.Connecting;
|
|
|
|
|
using MQTTnet.Client.Disconnecting;
|
|
|
|
|
using MQTTnet.Client.Receiving;
|
|
|
|
|
|
|
|
|
|
namespace Birdmap.API.Services
|
|
|
|
|
{
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
|
}
|