NAME

Net::MQTT::Message::Subscribe - Perl module to represent an MQTT Subscribe message

VERSION

version 1.110200

SYNOPSIS

# instantiated by Net::MQTT::Message

DESCRIPTION

This module encapsulates a single MQTT Subscribe message. It is a specific subclass used by Net::MQTT::Message and should not need to be instantiated directly.

METHODS

message_id()

Returns the message id field of the MQTT Subscribe message.

topics()

Returns the list of topics of the MQTT Subscribe message. Each element of the list is a 2-ple containing the topic and its associated requested QoS level.

AUTHOR

Mark Hindess <soft-cpan@temporalanomaly.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 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.