src/transport/NodeMqttTransport.js
function NodeMqttTransport(options) {
  Transport.call(this, options);

  this._options = options;
  this._client = null;
  this._sendTimer = null;
  this._buf = [];

  this._status = '';

  this._connHandler = onConnect.bind(this);
  this._messageHandler = onMessage.bind(this);
  this._sendOutHandler = sendOut.bind(this);
  this._disconnHandler = onDisconnect.bind(this);
  this._errorHandler = onError.bind(this);

  init(this);
}
function NodeMqttTransport(options) {
  Transport.call(this, options);

  this._options = options;
  this._client = null;
  this._sendTimer = null;
  this._buf = [];

  this._status = '';

  this._connHandler = onConnect.bind(this);
  this._messageHandler = onMessage.bind(this);
  this._sendOutHandler = sendOut.bind(this);
  this._disconnHandler = onDisconnect.bind(this);
  this._errorHandler = onError.bind(this);

  init(this);
}
function NodeMqttTransport ( options ) { Transport . call ( this , options ) ; this . _options = options ; this . _client = null ; this . _sendTimer = null ; this . _buf = [ ] ; this . _status = '' ; this . _connHandler = onConnect . bind ( this ) ; this . _messageHandler = onMessage . bind ( this ) ; this . _sendOutHandler = sendOut . bind ( this ) ; this . _disconnHandler = onDisconnect . bind ( this ) ; this . _errorHandler = onError . bind ( this ) ; init ( this ) ; }
Conveying messages over MQTT protocol, in Node.JS.

@namespace webduino.transport
@class NodeMqttTransport
@constructor
@param {Object} options Options to build a proper transport
@extends webduino.Transport
Conveying messages over MQTT protocol in Node . JS .