16 lines
515 B
C#
16 lines
515 B
C#
using Microsoft.Extensions.Hosting;
|
|
using MQTTnet.Client.Connecting;
|
|
using MQTTnet.Client.Disconnecting;
|
|
using MQTTnet.Client.Receiving;
|
|
|
|
namespace Birdmap.BLL.Interfaces
|
|
{
|
|
public interface IMqttClientService : IHostedService,
|
|
IMqttClientConnectedHandler,
|
|
IMqttClientDisconnectedHandler,
|
|
IMqttApplicationMessageReceivedHandler
|
|
{
|
|
public bool IsConnected { get; }
|
|
}
|
|
}
|