mirror of
https://github.com/dotnet/MQTTnet.git
synced 2026-10-25 15:42:57 +08:00
Refactor package object model.
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
namespace MQTTnet.Packets
|
||||
{
|
||||
public class MqttPingRespPacket : MqttBasePacket
|
||||
public sealed class MqttPingRespPacket : MqttBasePacket
|
||||
{
|
||||
// This is a minor performance improvement.
|
||||
public static MqttPingRespPacket Instance = new MqttPingRespPacket();
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return "PingResp";
|
||||
|
||||
Reference in New Issue
Block a user