| File: | lib/Net/MQTT/Message/PubAck.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 3 3 3 | 3259 19 207 | use strict; | ||||
| 2 | 3 3 3 | 38 16 372 | use warnings; | ||||
| 3 | package Net::MQTT::Message::PubAck; | ||||||
| 4 | |||||||
| 5 | # ABSTRACT: Perl module to represent an MQTT PubAck message | ||||||
| 6 | |||||||
| 7 - 17 | =head1 SYNOPSIS # instantiated by Net::MQTT::Message =head1 DESCRIPTION This module encapsulates a single MQTT Publish Acknowledgement message. It is a specific subclass used by L<Net::MQTT::Message> and should not need to be instantiated directly. =cut | ||||||
| 18 | |||||||
| 19 | 3 3 3 | 38 17 661 | use base 'Net::MQTT::Message::JustMessageId'; | ||||
| 20 | 3 3 3 | 42 15 102 | use Net::MQTT::Constants qw/:all/; | ||||
| 21 | |||||||
| 22 | sub message_type { | ||||||
| 23 | 7 | 170 | 4 | ||||
| 24 | } | ||||||
| 25 | |||||||
| 26 | =method C<message_id()> | ||||||
| 27 | |||||||
| 28 | Returns the message id field of the MQTT Publish Acknowledgement message. | ||||||
| 29 | |||||||
| 30 | =cut | ||||||
| 31 | |||||||
| 32 | 1; | ||||||