lib/clients/base.js
function BaseClient(opts) {
  this.opts = opts || {};
  var self = this;
  this.sendQConcurrency = opts.sendQueueConcurrency || 5;
  this.sendQ = async.queue(function(data, cb) {
    self.doSend(data, cb);
  }, this.sendQConcurrency);
}
function BaseClient(opts) {
  this.opts = opts || {};
  var self = this;
  this.sendQConcurrency = opts.sendQueueConcurrency || 5;
  this.sendQ = async.queue(function(data, cb) {
    self.doSend(data, cb);
  }, this.sendQConcurrency);
}
function BaseClient ( opts ) { this . opts = opts || { } ; var self = this ; this . sendQConcurrency = opts . sendQueueConcurrency || 5 ; this . sendQ = async . queue ( function ( data , cb ) { self . doSend ( data , cb ) ; } , this . sendQConcurrency ) ; }
A base implementation for all the clients
A base implementation for all the clients