| File: | lib/Net/MQTT/Message/Disconnect.pm |
| Coverage: | 100.0% |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | 3 3 3 | 3307 22 233 | use strict; | ||||
| 2 | 3 3 3 | 38 16 409 | use warnings; | ||||
| 3 | package Net::MQTT::Message::Disconnect; | ||||||
| 4 | |||||||
| 5 | # ABSTRACT: Perl module to represent an MQTT Disconnect message | ||||||
| 6 | |||||||
| 7 - 17 | =head1 SYNOPSIS # instantiated by Net::MQTT::Message =head1 DESCRIPTION This module encapsulates a single MQTT Disconnection Notification 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 15 696 | use base 'Net::MQTT::Message'; | ||||
| 20 | |||||||
| 21 | sub message_type { | ||||||
| 22 | 7 | 189 | 14 | ||||
| 23 | } | ||||||
| 24 | |||||||
| 25 | 1; | ||||||