birbmap/Birdmap.API/Services/IMqttClientService.cs

16 lines
513 B
C#
Raw Normal View History

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
{
public bool IsConnected { get; }
2020-11-09 18:12:07 +01:00
}
}