Nicholas J Humfrey > WebSphere-MQTT-Client > WebSphere::MQTT::Persist::File

Download:
WebSphere-MQTT-Client-0.03.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

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

SYNOPSIS ^

  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 ^

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 ^

add full POD documentation

BUGS ^

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 ^

Brian Candler, B.Candler@pobox.com

COPYRIGHT AND LICENSE ^

Copyright (C) 2006 Brian Candler

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.005 or, at your option, any later version of Perl 5 you may have available.

syntax highlighting: