lib/components/proxy.js
function(app, opts) {
  this.app = app;
  this.opts = opts;
  this.client = genRpcClient(this.app, opts);
  this.app.event.on(events.ADD_SERVERS, this.addServers.bind(this));
  this.app.event.on(events.REMOVE_SERVERS, this.removeServers.bind(this));
  this.app.event.on(events.REPLACE_SERVERS, this.replaceServers.bind(this));
}
function(app, opts) {
  this.app = app;
  this.opts = opts;
  this.client = genRpcClient(this.app, opts);
  this.app.event.on(events.ADD_SERVERS, this.addServers.bind(this));
  this.app.event.on(events.REMOVE_SERVERS, this.removeServers.bind(this));
  this.app.event.on(events.REPLACE_SERVERS, this.replaceServers.bind(this));
}
function ( app , opts ) { this . app = app ; this . opts = opts ; this . client = genRpcClient ( this . app , opts ) ; this . app . event . on ( events . ADD_SERVERS , this . addServers . bind ( this ) ) ; this . app . event . on ( events . REMOVE_SERVERS , this . removeServers . bind ( this ) ) ; this . app . event . on ( events . REPLACE_SERVERS , this . replaceServers . bind ( this ) ) ; }
Proxy component class

@param {Object} app  current application context
@param {Object} opts construct parameters
Proxy component class