Pārlūkot izejas kodu

Add disconnected event to server interface

release/3.x.x
Christian Kratky pirms 7 gadiem
vecāks
revīzija
c7b7d56229
2 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. +1
    -0
      MQTTnet.Core/Server/IMqttServer.cs
  2. +1
    -1
      README.md

+ 1
- 0
MQTTnet.Core/Server/IMqttServer.cs Parādīt failu

@@ -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 Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt