Kaynağa Gözat

Add disconnected event to server interface

release/3.x.x
Christian Kratky 7 yıl önce
ebeveyn
işleme
c7b7d56229
2 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  1. +1
    -0
      MQTTnet.Core/Server/IMqttServer.cs
  2. +1
    -1
      README.md

+ 1
- 0
MQTTnet.Core/Server/IMqttServer.cs Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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


Yükleniyor…
İptal
Kaydet