lib/pool-resource.js
function PoolResource(pool) {
    EventEmitter.call(this);
    this.pool = pool;
    this.options = pool.options;

    this.logger = this.options.logger;

    this._connection = false;
    this._connected = false;

    this.messages = 0;
    this.available = true;
}
function PoolResource(pool) {
    EventEmitter.call(this);
    this.pool = pool;
    this.options = pool.options;

    this.logger = this.options.logger;

    this._connection = false;
    this._connected = false;

    this.messages = 0;
    this.available = true;
}
function PoolResource ( pool ) { EventEmitter . call ( this ) ; this . pool = pool ; this . options = pool . options ; this . logger = this . options . logger ; this . _connection = false ; this . _connected = false ; this . messages = 0 ; this . available = true ; }
Creates an element for the pool

@constructor
@param {Object} options SMTPPool instance
Creates an element for the pool