mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-19 19:13:11 +08:00
Add disconnected event to server interface
This commit is contained in:
@@ -9,6 +9,7 @@ namespace MQTTnet.Core.Server
|
|||||||
{
|
{
|
||||||
event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
|
event EventHandler<MqttApplicationMessageReceivedEventArgs> ApplicationMessageReceived;
|
||||||
event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
|
event EventHandler<MqttClientConnectedEventArgs> ClientConnected;
|
||||||
|
event EventHandler<MqttClientDisconnectedEventArgs> ClientDisconnected;
|
||||||
|
|
||||||
IList<ConnectedMqttClient> GetConnectedClients();
|
IList<ConnectedMqttClient> GetConnectedClients();
|
||||||
void InjectClient(string identifier, IMqttCommunicationAdapter adapter);
|
void InjectClient(string identifier, IMqttCommunicationAdapter adapter);
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ MQTTnet is a .NET library for MQTT based communication. It provides a MQTT clien
|
|||||||
* .NET Core App 1.1+
|
* .NET Core App 1.1+
|
||||||
* .NET Framework 4.5.2+ (x86, x64, AnyCPU)
|
* .NET Framework 4.5.2+ (x86, x64, AnyCPU)
|
||||||
* Universal Windows (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU)
|
* Universal Windows (UWP) 10.0.10240+ (x86, x64, ARM, AnyCPU)
|
||||||
* Mono
|
* Mono 5.2+
|
||||||
|
|
||||||
# Supported MQTT versions
|
# Supported MQTT versions
|
||||||
* 3.1.1
|
* 3.1.1
|
||||||
|
|||||||
Reference in New Issue
Block a user