Class ClientAcknowledgedPublishPacketEventArgs
public sealed class ClientAcknowledgedPublishPacketEventArgs : EventArgs
- Inheritance
-
ClientAcknowledgedPublishPacketEventArgs
- Inherited Members
Constructors
ClientAcknowledgedPublishPacketEventArgs(string, IDictionary, MqttPublishPacket, MqttPacketWithIdentifier)
public ClientAcknowledgedPublishPacketEventArgs(string clientId, IDictionary sessionItems, MqttPublishPacket publishPacket, MqttPacketWithIdentifier acknowledgePacket)
Parameters
clientId
stringsessionItems
IDictionarypublishPacket
MqttPublishPacketacknowledgePacket
MqttPacketWithIdentifier
Properties
AcknowledgePacket
Gets the packet which was used for acknowledge. This can be a PubAck or PubComp packet.
public MqttPacketWithIdentifier AcknowledgePacket { get; }
Property Value
ClientId
Gets the ID of the client which acknowledged a PUBLISH packet.
public string ClientId { get; }
Property Value
IsCompleted
Gets whether the PUBLISH packet is fully acknowledged. This is the case for PUBACK (QoS 1) and PUBCOMP (QoS 2.
public bool IsCompleted { get; }
Property Value
PublishPacket
Gets the PUBLISH packet which was acknowledged.
public MqttPublishPacket PublishPacket { get; }
Property Value
SessionItems
Gets the session items which contain custom user data per session.
public IDictionary SessionItems { get; }