WebSphere::MQTT::Persist::File - filesystem persistence object for MQTT


WebSphere-MQTT-Client documentation  | view source Contained in the WebSphere-MQTT-Client distribution.

Index


NAME

Top

WebSphere::MQTT::Persist::File - filesystem persistence object for MQTT

SYNOPSIS

Top

  use WebSphere::MQTT::Client;
  use WebSphere::MQTT::Persist::File;

  my $mqtt = WebSphere::MQTT::Client->new(
      Hostname => 'localhost',
      Persist => WebSphere::MQTT::Persist::File->new('/tmp/wmqtt'),
      Async = 1,
  );

  $mqtt->connect();
  $mqtt->publish("mydata", "mytopic", 1);    # QOS 1/2 data is persisted




DESCRIPTION

Top

WebSphere::MQTT::Persist::File

This is a Perl implementation of a persistence object for MQTT

For details of the API, see doc/ia93.pdf, Chapter 3, "WMQTT Persistence Interface"

WARNING: THIS IS NOT IBM CODE AND HAS NOT BEEN HEAVILY TESTED. USE AT YOUR OWN RISK. YOU ARE ADVISED NOT TO ENTRUST CRITICAL DATA TO THIS LAYER!

TODO

Top

add full POD documentation

BUGS

Top

Please report any bugs or feature requests to bug-websphere-mqtt-client@rt.cpan.org, or through the web interface at http://rt.cpan.org.

AUTHORS

Top

Brian Candler, B.Candler@pobox.com

COPYRIGHT AND LICENSE

Top


WebSphere-MQTT-Client documentation  | view source Contained in the WebSphere-MQTT-Client distribution.