Page MenuHomeSealhub

dispatcher-biz.js
No OneTemporary

dispatcher-biz.js

var DispatcherDistributed = require("../dispatcher-distributed.js");
var DispatcherDistributedBIZ = new DispatcherDistributed("biz");
DispatcherDistributedBIZ.process_core_service_method = function(service, service_name, method_name){
return service[method_name].bind(service);
}
DispatcherDistributedBIZ.process_datastore_method = function(datastore, method_name){
return function(){
return this.call_over_socket("datastore." + method_name, arguments);
}.bind(this);
}
module.exports = DispatcherDistributedBIZ;

File Metadata

Mime Type
text/plain
Expires
Wed, Aug 13, 20:32 (4 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
871094
Default Alt Text
dispatcher-biz.js (522 B)

Event Timeline