renamed server bootstrap

This commit is contained in:
logsol 2012-07-22 00:44:39 +02:00
parent aa95c38cc2
commit a2460ed385

16
app/Bootstrap/Server.js Executable file
View file

@ -0,0 +1,16 @@
define([
"Server/HttpServer",
"Server/Socket",
"Server/Coordinator"
],
function(HttpServer, Socket, Coordinator) {
function Server(options) {
this.coordinator = new Coordinator();
this.httpServer = new HttpServer(options);
this.socket = new Socket(httpServer.getServer(), options, coordinator);
}
return Server;
});