oliverlorenz/phpMqttClient

View on GitHub
src/packet/ConnectionAck.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php
/**
 * @author Oliver Lorenz
 * @since 2015-04-24
 * Time: 19:40
 */

namespace oliverlorenz\reactphpmqtt\packet;

/**
 * The CONNACK Packet is the packet sent by the Server in response to
 * a CONNECT Packet received from a Client.
 */
class ConnectionAck extends ControlPacket
{
    const EVENT = 'CONNECTION_ACK';

    public static function getControlPacketType()
    {
        return ControlPacketType::CONNACK;
    }
}