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, 18:05 (1 d, 5 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
876875
Default Alt Text
dispatcher-biz.js (539 B)

Event Timeline