Parcourir la source

Add disconnected event to server interface

release/3.x.x
Christian Kratky il y a 7 ans
Parent
révision
c7b7d56229
2 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +1
    -0
      MQTTnet.Core/Server/IMqttServer.cs
  2. +1
    -1
      README.md

+ 1
- 0
MQTTnet.Core/Server/IMqttServer.cs Voir le fichier

@@ -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 Voir le fichier

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


Chargement…
Annuler
Enregistrer