MonitorAgent Constructor
MasterAgent
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}
public
close monitor agent
register and connect to master server
callback function
get module
module id/name
notify master server without callback
message
set module
module object
MonitorAgent Constructor
MasterAgent
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}
public