16 lines
513 B
C#
16 lines
513 B
C#
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; }
|
|
}
|
|
}
|