chuck.js/app/Game/Server/CoordinatorLink.js
2012-07-28 13:38:31 +02:00

20 lines
No EOL
405 B
JavaScript
Executable file

define([
],
function () {
function CoordinatorLink(process) {
this.process = process;
}
CoordinatorLink.prototype.send = function (message) {
this.process.send(message);
};
CoordinatorLink.prototype.receive = function (message) {
throw 'This method is abstract and must be overwritten by Channel';
};
return CoordinatorLink;
});