Net::MQTT::Message::Connect - Perl module to represent an MQTT Connect message
# instantiated by Net::MQTT::Message
This module encapsulates a single MQTT Connection Request message. It is a
specific subclass used by Net::MQTT::Message and should not need to be
instantiated directly.
Returns the protocol name field of the MQTT Connect message. The default is
'"MQIsdp"'.
Returns the protocol version field of the MQTT Connect message. The default is
3.
Returns the user name flag field of the MQTT Connect message. The default is
true if and only if a user name is defined.
Returns the password flag field of the MQTT Connect message. The default is true
if and only if a password is defined.
Returns the will retain field of the MQTT Connect message. The default is 0.
Returns the will QoS field of the MQTT Connect message. The default is 0.
Returns the will flag field of the MQTT Connect message. The default is true if
and only if a will topic is defined.
Returns the clean session flag field of the MQTT Connect message. The default is
1.
Returns the reserved flag field of the MQTT Connect message. The default is 0.
Returns the keep alive timer field of the MQTT Connect message. The units are
seconds. The default is 60.
Returns the client identifier field of the MQTT Connect message. The default is
'"NetMQTTpm$$]"' where
'$$' is the current process id.
Returns the will topic field of the MQTT Connect message. The default is
undefined.
Returns the will message field of the MQTT Connect message. The default is
undefined.
Returns the user name field of the MQTT Connect message. The default is
undefined.
Returns the password field of the MQTT Connect message. The default is
undefined.
Mark Hindess <soft-cpan@temporalanomaly.com>
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.