Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- using System;
- using MQTTnet.Core.Packets;
-
- namespace MQTTnet.Core.Server
- {
- public class MqttClientPublishPacketContext
- {
- public MqttClientPublishPacketContext(MqttClientSession senderClientSession, MqttPublishPacket publishPacket)
- {
- SenderClientSession = senderClientSession ?? throw new ArgumentNullException(nameof(senderClientSession));
- PublishPacket = publishPacket ?? throw new ArgumentNullException(nameof(publishPacket));
- }
-
- public MqttClientSession SenderClientSession { get; }
-
- public MqttPublishPacket PublishPacket { get; }
-
- public int SendTries { get; set; }
-
- public bool IsSent { get; set; }
- }
- }
|