Sha256: 3820cd050b41b8c50119cda59f01ee27e354336e2dfb4ca4507b047ba2089708

Contents?: true

Size: 1.12 KB

Versions: 1

Compression:

Stored size: 1.12 KB

Contents

= ruby-mqtt

Pure Ruby gem that implements the MQTT (Message Queue Telemetry Transport) protocol, a lightweight protocol for publish/subscribe messaging.

RubyForge Project Page  http://rubyforge.org/projects/mqtt/

== Installing

You may get the latest stable version from Rubyforge. Source gems are also available.

  $ gem install mqtt

== Synopsis

 require 'rubygems'
 require 'mqtt'

 mqtt = MQTT::Client.new('mqtt.example.com')
 mqtt.connect('clientid') do |c|
   c.publish('topic','message')
 end

== TODO

* Process acknowledgement packets
* Automatic uninque client identifier if none given
* Create classes for each type of packet?
* More validations of data/parameters
* Implement exception throwing
* Implement Will and Testament
* Add unit tests
* More examples
* Refactor to add callbacks that are called from seperate thread
* Implement QOS Level 1
* Implement QOS Level 2
* Add support for binding socket to specific local address

== Resources

http://mqtt.org

== Contact

Author::     Nicholas J Humfrey
Email::      njh@aelius.com
Home Page::  http://www.aelius.com/njh/
License::    Distributes under the same terms as Ruby

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mqtt-0.0.2 README