mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-15 00:15:15 +08:00
Merge proces, enable signing of the assembly.
This commit is contained in:
@@ -291,3 +291,5 @@ __pycache__/
|
|||||||
Build/nuget.exe
|
Build/nuget.exe
|
||||||
*.js
|
*.js
|
||||||
*.map
|
*.map
|
||||||
|
|
||||||
|
*codeSigningKey.pfx
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<package >
|
<package >
|
||||||
<metadata>
|
<metadata>
|
||||||
<id>MQTTnet</id>
|
<id>MQTTnet</id>
|
||||||
<version>2.5.3</version>
|
<version>2.6.0</version>
|
||||||
<authors>Christian Kratky</authors>
|
<authors>Christian Kratky</authors>
|
||||||
<owners>Christian Kratky</owners>
|
<owners>Christian Kratky</owners>
|
||||||
<licenseUrl>https://github.com/chkr1011/MQTTnet/blob/master/LICENSE</licenseUrl>
|
<licenseUrl>https://github.com/chkr1011/MQTTnet/blob/master/LICENSE</licenseUrl>
|
||||||
@@ -10,9 +10,9 @@
|
|||||||
<iconUrl>https://raw.githubusercontent.com/chkr1011/MQTTnet/master/Images/Logo_128x128.png</iconUrl>
|
<iconUrl>https://raw.githubusercontent.com/chkr1011/MQTTnet/master/Images/Logo_128x128.png</iconUrl>
|
||||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||||
<description>MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).</description>
|
<description>MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker).</description>
|
||||||
<releaseNotes>* [Core] Removed all dependencies to other libraries (BREAKING CHANGE!).
|
<releaseNotes>* Merged projects.
|
||||||
* [Core] Updated SDK libraries.
|
* Added a strong name for the assembly.
|
||||||
* [Client] Fixed broken support for WebSocketSecure connections (Thanks to @StAI).
|
|
||||||
</releaseNotes>
|
</releaseNotes>
|
||||||
<copyright>Copyright Christian Kratky 2016-2017</copyright>
|
<copyright>Copyright Christian Kratky 2016-2017</copyright>
|
||||||
<tags>MQTT Message Queue Telemetry Transport MQTTClient MQTTServer Server MQTTBroker Broker NETStandard IoT InternetOfThings Messaging Hardware Arduino Sensor Actuator M2M ESP Smart Home Cities Automation Xamarin</tags>
|
<tags>MQTT Message Queue Telemetry Transport MQTTClient MQTTServer Server MQTTBroker Broker NETStandard IoT InternetOfThings Messaging Hardware Arduino Sensor Actuator M2M ESP Smart Home Cities Automation Xamarin</tags>
|
||||||
@@ -46,23 +46,19 @@
|
|||||||
</metadata>
|
</metadata>
|
||||||
|
|
||||||
<files>
|
<files>
|
||||||
|
|
||||||
<!-- .NET Standard 1.3 -->
|
<!-- .NET Standard 1.3 -->
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard1.3\MQTTnet.Core.*" target="lib\netstandard1.3\"/>
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard1.3\MQTTnet.*" target="lib\netstandard1.3\"/>
|
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard1.3\MQTTnet.*" target="lib\netstandard1.3\"/>
|
||||||
|
|
||||||
<!-- .NET Standard 2.0 -->
|
<!-- .NET Standard 2.0 -->
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard2.0\MQTTnet.Core.*" target="lib\netstandard2.0\"/>
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard2.0\MQTTnet.*" target="lib\netstandard2.0\"/>
|
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\netstandard2.0\MQTTnet.*" target="lib\netstandard2.0\"/>
|
||||||
|
|
||||||
<!-- Universal Windows -->
|
<!-- Universal Windows -->
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\uap10.0\MQTTnet.Core.*" target="lib\uap10.0\"/>
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\uap10.0\MQTTnet.*" target="lib\uap10.0\"/>
|
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\uap10.0\MQTTnet.*" target="lib\uap10.0\"/>
|
||||||
|
|
||||||
<!-- .NET Framework -->
|
<!-- .NET Framework -->
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net452\MQTTnet.Core.*" target="lib\net452\"/>
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net452\MQTTnet.*" target="lib\net452\"/>
|
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net452\MQTTnet.*" target="lib\net452\"/>
|
||||||
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net461\MQTTnet.Core.*" target="lib\net461\"/>
|
|
||||||
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net461\MQTTnet.*" target="lib\net461\"/>
|
<file src="..\Frameworks\MQTTnet.Netstandard\bin\Release\net461\MQTTnet.*" target="lib\net461\"/>
|
||||||
|
|
||||||
</files>
|
</files>
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.AspNetCore.Builder;
|
using Microsoft.AspNetCore.Builder;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using MQTTnet.Core.Server;
|
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.AspNetCore
|
namespace MQTTnet.AspNetCore
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.AspNetCore
|
namespace MQTTnet.AspNetCore
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.AspNetCore
|
namespace MQTTnet.AspNetCore
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using System.IO;
|
|||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Channel;
|
using MQTTnet.Channel;
|
||||||
using MQTTnet.Implementations;
|
using MQTTnet.Implementations;
|
||||||
|
|
||||||
namespace MQTTnet.AspNetCore
|
namespace MQTTnet.AspNetCore
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using Microsoft.Extensions.DependencyInjection;
|
using Microsoft.Extensions.DependencyInjection;
|
||||||
using Microsoft.Extensions.Hosting;
|
using Microsoft.Extensions.Hosting;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.AspNetCore
|
namespace MQTTnet.AspNetCore
|
||||||
{
|
{
|
||||||
|
|||||||
+3
-3
@@ -2,10 +2,10 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public interface IMqttChannelAdapter
|
public interface IMqttChannelAdapter
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public interface IMqttServerAdapter
|
public interface IMqttServerAdapter
|
||||||
{
|
{
|
||||||
+7
-7
@@ -4,14 +4,14 @@ using System.IO;
|
|||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Channel;
|
using MQTTnet.Channel;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Internal;
|
using MQTTnet.Internal;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public class MqttChannelAdapter : IMqttChannelAdapter
|
public class MqttChannelAdapter : IMqttChannelAdapter
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public static class MqttChannelAdapterExtensions
|
public static class MqttChannelAdapterExtensions
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public class MqttConnectingFailedException : MqttCommunicationException
|
public class MqttConnectingFailedException : MqttCommunicationException
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public class MqttServerAdapterClientAcceptedEventArgs : EventArgs
|
public class MqttServerAdapterClientAcceptedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Adapter
|
namespace MQTTnet.Adapter
|
||||||
{
|
{
|
||||||
public sealed class ReceivedMqttPacket : IDisposable
|
public sealed class ReceivedMqttPacket : IDisposable
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public static class ApplicationMessagePublisherExtensions
|
public static class ApplicationMessagePublisherExtensions
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using System.Threading.Tasks;
|
using System.IO;
|
||||||
using System.IO;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Channel
|
namespace MQTTnet.Channel
|
||||||
{
|
{
|
||||||
public interface IMqttChannel
|
public interface IMqttChannel
|
||||||
{
|
{
|
||||||
+1
-2
@@ -1,9 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Packets;
|
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClient : IApplicationMessageReceiver, IApplicationMessagePublisher
|
public interface IMqttClient : IApplicationMessageReceiver, IApplicationMessagePublisher
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClientAdapterFactory
|
public interface IMqttClientAdapterFactory
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClientChannelOptions
|
public interface IMqttClientChannelOptions
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClientCredentials
|
public interface IMqttClientCredentials
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.ManagedClient;
|
using MQTTnet.ManagedClient;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClientFactory
|
public interface IMqttClientFactory
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public interface IMqttClientOptions
|
public interface IMqttClientOptions
|
||||||
{
|
{
|
||||||
+7
-7
@@ -3,14 +3,14 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Internal;
|
using MQTTnet.Internal;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClient : IMqttClient
|
public class MqttClient : IMqttClient
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientConnectResult
|
public class MqttClientConnectResult
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientConnectedEventArgs : EventArgs
|
public class MqttClientConnectedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientCredentials : IMqttClientCredentials
|
public class MqttClientCredentials : IMqttClientCredentials
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientDisconnectedEventArgs : EventArgs
|
public class MqttClientDisconnectedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
+1
-1
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public static class MqttClientExtensions
|
public static class MqttClientExtensions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientOptions : IMqttClientOptions
|
public class MqttClientOptions : IMqttClientOptions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientOptionsBuilder
|
public class MqttClientOptionsBuilder
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientTcpOptions : IMqttClientChannelOptions
|
public class MqttClientTcpOptions : IMqttClientChannelOptions
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public static class MqttClientTcpOptionsExtensions
|
public static class MqttClientTcpOptionsExtensions
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientTlsOptions
|
public class MqttClientTlsOptions
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Net;
|
using System.Net;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttClientWebSocketOptions : IMqttClientChannelOptions
|
public class MqttClientWebSocketOptions : IMqttClientChannelOptions
|
||||||
{
|
{
|
||||||
+5
-5
@@ -1,12 +1,12 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Concurrent;
|
using System.Collections.Concurrent;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Internal;
|
using MQTTnet.Internal;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttPacketDispatcher
|
public class MqttPacketDispatcher
|
||||||
{
|
{
|
||||||
+2
-3
@@ -1,7 +1,6 @@
|
|||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Protocol;
|
||||||
using MQTTnet.Core.Protocol;
|
|
||||||
|
|
||||||
namespace MQTTnet.Core.Client
|
namespace MQTTnet.Client
|
||||||
{
|
{
|
||||||
public class MqttSubscribeResult
|
public class MqttSubscribeResult
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public interface IMqttNetLogger
|
public interface IMqttNetLogger
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public static class MqttNetGlobalLog
|
public static class MqttNetGlobalLogger
|
||||||
{
|
{
|
||||||
public static event EventHandler<MqttNetLogMessagePublishedEventArgs> LogMessagePublished;
|
public static event EventHandler<MqttNetLogMessagePublishedEventArgs> LogMessagePublished;
|
||||||
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public enum MqttNetLogLevel
|
public enum MqttNetLogLevel
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public sealed class MqttNetLogMessage
|
public sealed class MqttNetLogMessage
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public sealed class MqttNetLogMessagePublishedEventArgs : EventArgs
|
public sealed class MqttNetLogMessagePublishedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Diagnostics
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public class MqttNetLogger : IMqttNetLogger
|
public class MqttNetLogger : IMqttNetLogger
|
||||||
{
|
{
|
||||||
@@ -46,7 +46,7 @@ namespace MQTTnet.Core.Diagnostics
|
|||||||
private void Publish<TSource>(MqttNetLogLevel logLevel, Exception exception, string message, object[] parameters)
|
private void Publish<TSource>(MqttNetLogLevel logLevel, Exception exception, string message, object[] parameters)
|
||||||
{
|
{
|
||||||
var hasLocalListeners = LogMessagePublished != null;
|
var hasLocalListeners = LogMessagePublished != null;
|
||||||
var hasGlobalListeners = MqttNetGlobalLog.HasListeners;
|
var hasGlobalListeners = MqttNetGlobalLogger.HasListeners;
|
||||||
|
|
||||||
if (!hasLocalListeners && !hasGlobalListeners)
|
if (!hasLocalListeners && !hasGlobalListeners)
|
||||||
{
|
{
|
||||||
@@ -62,7 +62,7 @@ namespace MQTTnet.Core.Diagnostics
|
|||||||
|
|
||||||
if (hasGlobalListeners)
|
if (hasGlobalListeners)
|
||||||
{
|
{
|
||||||
MqttNetGlobalLog.Publish(traceMessage);
|
MqttNetGlobalLogger.Publish(traceMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (hasLocalListeners)
|
if (hasLocalListeners)
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet
|
namespace MQTTnet.Diagnostics
|
||||||
{
|
{
|
||||||
public static class TargetFrameworkInfoProvider
|
public static class TargetFrameworkInfoProvider
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Exceptions
|
namespace MQTTnet.Exceptions
|
||||||
{
|
{
|
||||||
public class MqttCommunicationException : Exception
|
public class MqttCommunicationException : Exception
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Exceptions
|
namespace MQTTnet.Exceptions
|
||||||
{
|
{
|
||||||
public sealed class MqttCommunicationTimedOutException : MqttCommunicationException
|
public sealed class MqttCommunicationTimedOutException : MqttCommunicationException
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Exceptions
|
namespace MQTTnet.Exceptions
|
||||||
{
|
{
|
||||||
public sealed class MqttProtocolViolationException : Exception
|
public sealed class MqttProtocolViolationException : Exception
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public interface IApplicationMessagePublisher
|
public interface IApplicationMessagePublisher
|
||||||
{
|
{
|
||||||
+1
-2
@@ -1,7 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Client;
|
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public interface IApplicationMessageReceiver
|
public interface IApplicationMessageReceiver
|
||||||
{
|
{
|
||||||
@@ -1,8 +1,8 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
#if WINDOWS_UWP
|
#if WINDOWS_UWP
|
||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Adapter;
|
|
||||||
using MQTTnet.Core.Server;
|
|
||||||
using Windows.Networking.Sockets;
|
using Windows.Networking.Sockets;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Diagnostics;
|
||||||
|
using MQTTnet.Serializer;
|
||||||
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -7,10 +7,10 @@ using System.Security.Authentication;
|
|||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Serializer;
|
||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Server;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,8 +8,8 @@ using System.Threading.Tasks;
|
|||||||
using Windows.Networking;
|
using Windows.Networking;
|
||||||
using Windows.Networking.Sockets;
|
using Windows.Networking.Sockets;
|
||||||
using Windows.Security.Cryptography.Certificates;
|
using Windows.Security.Cryptography.Certificates;
|
||||||
using MQTTnet.Core.Channel;
|
using MQTTnet.Channel;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,10 +5,10 @@ using System.Net.Sockets;
|
|||||||
using System.Security.Authentication;
|
using System.Security.Authentication;
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Channel;
|
|
||||||
using MQTTnet.Core.Client;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
using MQTTnet.Channel;
|
||||||
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,11 +1,11 @@
|
|||||||
using MQTTnet.Core.Channel;
|
using System;
|
||||||
using MQTTnet.Core.Client;
|
|
||||||
using System;
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using System.Security.Cryptography.X509Certificates;
|
using System.Security.Cryptography.X509Certificates;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using MQTTnet.Channel;
|
||||||
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using System.Linq;
|
|||||||
using System.Net.WebSockets;
|
using System.Net.WebSockets;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
|
|
||||||
namespace MQTTnet.Implementations
|
namespace MQTTnet.Implementations
|
||||||
{
|
{
|
||||||
|
|||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Internal
|
namespace MQTTnet.Internal
|
||||||
{
|
{
|
||||||
internal static class MqttApplicationMessageExtensions
|
internal static class MqttApplicationMessageExtensions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Internal
|
namespace MQTTnet.Internal
|
||||||
{
|
{
|
||||||
public static class TaskExtensions
|
public static class TaskExtensions
|
||||||
{
|
{
|
||||||
@@ -14,6 +14,8 @@
|
|||||||
<Description />
|
<Description />
|
||||||
<Authors />
|
<Authors />
|
||||||
<PackageId />
|
<PackageId />
|
||||||
|
<SignAssembly>true</SignAssembly>
|
||||||
|
<AssemblyOriginatorKeyFile>codeSigningKey.pfx</AssemblyOriginatorKeyFile>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
|
<PropertyGroup Condition="'$(TargetFramework)' == 'uap10.0'">
|
||||||
@@ -33,10 +35,6 @@
|
|||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" />
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\..\MQTTnet.Core\MQTTnet.Core.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
|
<ItemGroup Condition="'$(TargetFramework)'=='netstandard2.0'">
|
||||||
<PackageReference Include="System.Net.Security" Version="4.3.2" />
|
<PackageReference Include="System.Net.Security" Version="4.3.2" />
|
||||||
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
|
<PackageReference Include="System.Net.WebSockets" Version="4.3.0" />
|
||||||
|
|||||||
+2
-2
@@ -1,9 +1,9 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public interface IManagedMqttClient : IApplicationMessageReceiver, IApplicationMessagePublisher
|
public interface IManagedMqttClient : IApplicationMessageReceiver, IApplicationMessagePublisher
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public interface IManagedMqttClientOptions
|
public interface IManagedMqttClientOptions
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public interface IManagedMqttClientStorage
|
public interface IManagedMqttClientStorage
|
||||||
{
|
{
|
||||||
+5
-5
@@ -4,12 +4,12 @@ using System.Collections.Generic;
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
using MQTTnet.Core.Diagnostics;
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public class ManagedMqttClient : IManagedMqttClient
|
public class ManagedMqttClient : IManagedMqttClient
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public static class ManagedMqttClientExtensions
|
public static class ManagedMqttClientExtensions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public class ManagedMqttClientOptions : IManagedMqttClientOptions
|
public class ManagedMqttClientOptions : IManagedMqttClientOptions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public class ManagedMqttClientOptionsBuilder
|
public class ManagedMqttClientOptionsBuilder
|
||||||
{
|
{
|
||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public class ManagedMqttClientStorageManager
|
public class ManagedMqttClientStorageManager
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.ManagedClient
|
namespace MQTTnet.ManagedClient
|
||||||
{
|
{
|
||||||
public enum ReconnectionResult
|
public enum ReconnectionResult
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,7 +1,7 @@
|
|||||||
using System;
|
using System;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public sealed class MqttApplicationMessage
|
public sealed class MqttApplicationMessage
|
||||||
{
|
{
|
||||||
+3
-3
@@ -2,10 +2,10 @@
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public class MqttApplicationMessageBuilder
|
public class MqttApplicationMessageBuilder
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
public sealed class MqttApplicationMessageReceivedEventArgs : EventArgs
|
public sealed class MqttApplicationMessageReceivedEventArgs : EventArgs
|
||||||
{
|
{
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Client;
|
using MQTTnet.Client;
|
||||||
|
using MQTTnet.Diagnostics;
|
||||||
using MQTTnet.Implementations;
|
using MQTTnet.Implementations;
|
||||||
using MQTTnet.Core.ManagedClient;
|
using MQTTnet.ManagedClient;
|
||||||
using MQTTnet.Core.Server;
|
using MQTTnet.Server;
|
||||||
using MQTTnet.Core.Diagnostics;
|
|
||||||
|
|
||||||
namespace MQTTnet
|
namespace MQTTnet
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public interface IMqttPacketWithIdentifier
|
public interface IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public abstract class MqttBasePacket
|
public abstract class MqttBasePacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public class MqttBasePublishPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
public class MqttBasePublishPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttConnAckPacket : MqttBasePacket
|
public sealed class MqttConnAckPacket : MqttBasePacket
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using MQTTnet.Core.Serializer;
|
using MQTTnet.Serializer;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttConnectPacket : MqttBasePacket
|
public sealed class MqttConnectPacket : MqttBasePacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttDisconnectPacket : MqttBasePacket
|
public sealed class MqttDisconnectPacket : MqttBasePacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public static class MqttPacketExtensions
|
public static class MqttPacketExtensions
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public class MqttPacketHeader
|
public class MqttPacketHeader
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPingReqPacket : MqttBasePacket
|
public sealed class MqttPingReqPacket : MqttBasePacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPingRespPacket : MqttBasePacket
|
public sealed class MqttPingRespPacket : MqttBasePacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPubAckPacket : MqttBasePublishPacket
|
public sealed class MqttPubAckPacket : MqttBasePublishPacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPubCompPacket : MqttBasePublishPacket
|
public sealed class MqttPubCompPacket : MqttBasePublishPacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPubRecPacket : MqttBasePublishPacket
|
public sealed class MqttPubRecPacket : MqttBasePublishPacket
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPubRelPacket : MqttBasePublishPacket
|
public sealed class MqttPubRelPacket : MqttBasePublishPacket
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttPublishPacket : MqttBasePublishPacket
|
public sealed class MqttPublishPacket : MqttBasePublishPacket
|
||||||
{
|
{
|
||||||
+2
-2
@@ -1,8 +1,8 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttSubAckPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
public sealed class MqttSubAckPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttSubscribePacket : MqttBasePacket, IMqttPacketWithIdentifier
|
public sealed class MqttSubscribePacket : MqttBasePacket, IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttUnsubAckPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
public sealed class MqttUnsubAckPacket : MqttBasePacket, IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Packets
|
namespace MQTTnet.Packets
|
||||||
{
|
{
|
||||||
public sealed class MqttUnsubscribePacket : MqttBasePacket, IMqttPacketWithIdentifier
|
public sealed class MqttUnsubscribePacket : MqttBasePacket, IMqttPacketWithIdentifier
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Protocol
|
namespace MQTTnet.Protocol
|
||||||
{
|
{
|
||||||
public enum MqttConnectReturnCode
|
public enum MqttConnectReturnCode
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Protocol
|
namespace MQTTnet.Protocol
|
||||||
{
|
{
|
||||||
public enum MqttControlPacketType
|
public enum MqttControlPacketType
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Protocol
|
namespace MQTTnet.Protocol
|
||||||
{
|
{
|
||||||
public enum MqttQualityOfServiceLevel
|
public enum MqttQualityOfServiceLevel
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
namespace MQTTnet.Core.Protocol
|
namespace MQTTnet.Protocol
|
||||||
{
|
{
|
||||||
public enum MqttSubscribeReturnCode
|
public enum MqttSubscribeReturnCode
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public sealed class ByteReader
|
public sealed class ByteReader
|
||||||
{
|
{
|
||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public sealed class ByteWriter
|
public sealed class ByteWriter
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,7 +1,7 @@
|
|||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public interface IMqttPacketSerializer
|
public interface IMqttPacketSerializer
|
||||||
{
|
{
|
||||||
+5
-5
@@ -4,12 +4,12 @@ using System.IO;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Packets;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public sealed class MqttPacketReader : BinaryReader
|
public sealed class MqttPacketReader : BinaryReader
|
||||||
{
|
{
|
||||||
+5
-5
@@ -3,12 +3,12 @@ using System.Collections.Generic;
|
|||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using MQTTnet.Core.Adapter;
|
using MQTTnet.Adapter;
|
||||||
using MQTTnet.Core.Exceptions;
|
using MQTTnet.Exceptions;
|
||||||
using MQTTnet.Core.Packets;
|
using MQTTnet.Packets;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public sealed class MqttPacketSerializer : IMqttPacketSerializer
|
public sealed class MqttPacketSerializer : IMqttPacketSerializer
|
||||||
{
|
{
|
||||||
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
using System;
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using MQTTnet.Core.Protocol;
|
using MQTTnet.Protocol;
|
||||||
using System.Collections.Generic;
|
|
||||||
|
|
||||||
namespace MQTTnet.Core.Serializer
|
namespace MQTTnet.Serializer
|
||||||
{
|
{
|
||||||
public sealed class MqttPacketWriter : BinaryWriter
|
public sealed class MqttPacketWriter : BinaryWriter
|
||||||
{
|
{
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user