You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
976 B
C#

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