function BasePoller(target, timeout, callback) {
  this.target = target;
  this.timeout = timeout || 5000;
  this.callback = callback;
  this.isDebugEnabled = false;
  this.initialize();
}
Base Poller constructor

@param {Mixed} Poller Target (e.g. URL)
@param {Number} Poller timeout in milliseconds. Without response before this duration, the poller stops and executes the error callback.
@param {Function} Error/success callback
@api   public