Sha256: 253837e008f775d280f0017f81d8533e1ead0cf483f03b3a39c82707613daf44

Contents?: true

Size: 1.11 KB

Versions: 1

Compression:

Stored size: 1.11 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

* Support payloads longer than 128 bytes
* Process acknowledgement packets
* 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.1 README