using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace uPLibrary.Networking.M2Mqtt.Communication
{
///
/// Delegate event handler for MQTT client connected event
///
/// The object which raises event
/// Event args
public delegate void MqttClientConnectedEventHandler(object sender, MqttClientConnectedEventArgs e);
///
/// Interface for MQTT communication layer
///
public interface IMqttCommunicationLayer
{
///
/// Start communication layer listening
///
void Start();
///
/// Stop communication layer listening
///
void Stop();
///
/// Client connected event
///
event MqttClientConnectedEventHandler ClientConnected;
}
}