ntruchsess 7962529c09 MQTT: initial checkin of MQTT and MQTT_DEVICE
git-svn-id: https://svn.fhem.de/fhem/trunk@6648 2b470e98-0d58-463d-a4d8-8e2adae1ed80
2014-10-01 10:53:51 +00:00

64 lines
1.1 KiB
Perl

use strict;
use warnings;
package Net::MQTT::Message::PubRel;
$Net::MQTT::Message::PubRel::VERSION = '1.142010';
# ABSTRACT: Perl module to represent an MQTT PubRel message
use base 'Net::MQTT::Message::JustMessageId';
use Net::MQTT::Constants qw/:all/;
sub message_type {
6
}
sub _default_qos {
MQTT_QOS_AT_LEAST_ONCE
}
1;
__END__
=pod
=encoding UTF-8
=head1 NAME
Net::MQTT::Message::PubRel - Perl module to represent an MQTT PubRel message
=head1 VERSION
version 1.142010
=head1 SYNOPSIS
# instantiated by Net::MQTT::Message
=head1 DESCRIPTION
This module encapsulates a single MQTT Publish Release message. It is
a specific subclass used by L<Net::MQTT::Message> and should not
need to be instantiated directly.
=head1 METHODS
=head2 C<message_id()>
Returns the message id field of the MQTT Publish Release message.
=head1 AUTHOR
Mark Hindess <soft-cpan@temporalanomaly.com>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Mark Hindess.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut