jndrm/mqtt-packet

View on GitHub
src/Disconnect.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace Drmer\Mqtt\Packet;

/**
 * The DISCONNECT Packet is the final Control Packet sent from the Client
 * to the Server. It indicates that the Client is disconnecting cleanly.
 */
class Disconnect extends ControlPacket
{
    public static function getControlPacketType()
    {
        return ControlPacketType::DISCONNECT;
    }
}