jndrm/mqtt-packet

View on GitHub
src/PublishReceived.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Drmer\Mqtt\Packet;

/**
 * A PUBREC Packet is the response to a PUBLISH Packet with QoS 2.
 * It is the second packet of the QoS 2 protocol exchange.
 */
class PublishReceived extends ControlPacket
{
    public static function getControlPacketType()
    {
        return ControlPacketType::PUBREC;
    }
}