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

20 lines
No EOL
402 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;
});