| File: | lib/Net/MQTT/Message/UnsubAck.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 3 3 3 | 3339 19 240 | use strict; | ||||
| 2 | 3 3 3 | 38 13 392 | use warnings; | ||||
| 3 | package Net::MQTT::Message::UnsubAck; | ||||||
| 4 | |||||||
| 5 | # ABSTRACT: Perl module to represent an MQTT UnsubAck message | ||||||
| 6 | |||||||
| 7 - 17 | =head1 SYNOPSIS # instantiated by Net::MQTT::Message =head1 DESCRIPTION This module encapsulates a single MQTT Unsubscribe 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 | 37 16 591 | use base 'Net::MQTT::Message::JustMessageId'; | ||||
| 20 | 3 3 3 | 45 15 78 | use Net::MQTT::Constants qw/:all/; | ||||
| 21 | |||||||
| 22 | sub message_type { | ||||||
| 23 | 7 | 184 | 11 | ||||
| 24 | } | ||||||
| 25 | |||||||
| 26 | =method C<message_id()> | ||||||
| 27 | |||||||
| 28 | Returns the message id field of the MQTT Unsubscribe Acknowledgement | ||||||
| 29 | message. | ||||||
| 30 | |||||||
| 31 | =cut | ||||||
| 32 | |||||||
| 33 | 1; | ||||||