Browse Source

Add disconnected event to server interface

release/3.x.x
Christian Kratky 7 years ago
parent
commit
c7b7d56229
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      MQTTnet.Core/Server/IMqttServer.cs
  2. +1
    -1
      README.md

+ 1
- 0
MQTTnet.Core/Server/IMqttServer.cs View File

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

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


Loading…
Cancel
Save