disable adminConsole module
adminConsole id/name
enable adminConsole module
adminConsole id/name
call concrete module and handler(monitorHandler,masterHandler,clientHandler)
adminConsole id/name
handler
message
callback function
get module data from map
adminConsole id/name
register a new adminConsole module
adminConsole id/name
module object
set module data to a map
adminConsole id/name
module data
start master or monitor
callback function
stop console modules and stop master server
ConsoleService Constructor
ConsoleService
construct parameter opts.type {String} server type, 'master', 'connector', etc. opts.id {String} server id opts.host {String} (monitor only) master server host opts.port {String | Number} listen port for master or master port for monitor opts.master {Boolean} current service is master or monitor opts.info {Object} more server info for current server, {id, serverType, host, port}
public