Преглед на файлове

Add disconnected event to server interface

release/3.x.x
Christian Kratky преди 7 години
родител
ревизия
c7b7d56229
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. +1
    -0
      MQTTnet.Core/Server/IMqttServer.cs
  2. +1
    -1
      README.md

+ 1
- 0
MQTTnet.Core/Server/IMqttServer.cs Целия файл

@@ -9,6 +9,7 @@ namespace MQTTnet.Core.Server
{
event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;

IList<ConnectedMqttClient> GetConnectedClients();
void InjectClient(string identifier, IMqttCommunicationAdapter adapter);


+ 1
- 1
README.md Целия файл

@@ -40,7 +40,7 @@ MQTTnet is a .NET library for MQTT based communication. It provides a MQTT clien
* .NET Core App 1.1+
* .NET Framework 4.5.2+ (x86, x64, AnyCPU)
* Universal Windows (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU)
* Mono
* Mono 5.2+

# Supported MQTT versions
* 3.1.1


Зареждане…
Отказ
Запис