lib/master/masterAgent.js
function(socket, reqId, moduleId, msg) {
  doSend(socket, 'monitor', protocol.composeRequest(reqId, moduleId, msg));
}
function(socket, reqId, moduleId, msg) {
  doSend(socket, 'monitor', protocol.composeRequest(reqId, moduleId, msg));
}
function ( socket , reqId , moduleId , msg ) { doSend ( socket , 'monitor' , protocol . composeRequest ( reqId , moduleId , msg ) ) ; }
send msg to monitor

@param {Object} socket socket-io object
@param {Number} reqId request id
@param {String} moduleId module id/name
@param {Object} msg message
@api private
send msg to monitor