lib/mock-rpc.js
function MockRpc(endpoint) {
    events.EventEmitter.call(this);
    this._endpoint = endpoint;
    this._handlers = {};
    glNetwork[endpoint] = this;
}
function MockRpc(endpoint) {
    events.EventEmitter.call(this);
    this._endpoint = endpoint;
    this._handlers = {};
    glNetwork[endpoint] = this;
}
function MockRpc ( endpoint ) { events . EventEmitter . call ( this ) ; this . _endpoint = endpoint ; this . _handlers = { } ; glNetwork [ endpoint ] = this ; }
Simple no-network RPC implementation, for testing purposes.
Simple no - network RPC implementation for testing purposes .