controller.js
* Inter-process Communication Controller
* @module greppy/app/cluster/worker/ipc/controller
* @author Hermann Mayer <hermann.mayer92@gmail.com>
var IPCController = function()
IPCController.super_.call(this);
* Extend Greppy framework base controller
util.inherits(IPCController, require('../../../../http/mvc/controller'));
* @param {Object} app - The application object
* @param {Object} server - Server object
* @param {Function} callback - Function to call on finish
IPCController.prototype.configure = function(app, server, callback)
this.options.path = '/cluster/slave';
* Build the controller instance
IPCController = new IPCController();
* Get statistics from the IPC stack.
greppy.worker.getIPC().request('statistics.get', null, function(err, result) {