lib/monitor/monitorAgent.js
function(opts) {
  EventEmitter.call(this);
  this.reqId = 1;
  this.opts = opts;
  this.id = opts.id;
  this.socket = null;
  this.callbacks = {};
  this.type = opts.type;
  this.info = opts.info;
  this.state = ST_INITED;
  this.consoleService = opts.consoleService;
}
function(opts) {
  EventEmitter.call(this);
  this.reqId = 1;
  this.opts = opts;
  this.id = opts.id;
  this.socket = null;
  this.callbacks = {};
  this.type = opts.type;
  this.info = opts.info;
  this.state = ST_INITED;
  this.consoleService = opts.consoleService;
}
function ( opts ) { EventEmitter . call ( this ) ; this . reqId = 1 ; this . opts = opts ; this . id = opts . id ; this . socket = null ; this . callbacks = { } ; this . type = opts . type ; this . info = opts . info ; this . state = ST_INITED ; this . consoleService = opts . consoleService ; }
60 seconds 
MonitorAgent Constructor

@class MasterAgent
@constructor
@param {Object} opts construct parameter
opts.consoleService {Object} consoleService
opts.id             {String} server id
opts.type           {String} server type, 'master', 'connector', etc.
opts.info           {Object} more server info for current server, {id, serverType, host, port}
@api public
60 seconds MonitorAgent Constructor