Added enums, msgpack - new ui intergration

This commit is contained in:
Omer
2019-10-12 03:38:42 +03:00
parent 2eb4cbc950
commit 5f879f9d98
17 changed files with 239 additions and 193 deletions

View File

@@ -22,11 +22,10 @@ public class Server {
System.out.println("Socket Disconnected");
SettingsManager.saveSettings();
});
ws.onMessage(ctx -> {
// handler.onMessage(ctx);
ws.onBinaryMessage(ctx -> {
handler.onBinaryMessage(ctx);
});
ws.onBinaryMessage(ctx->handler.onMessage(ctx));
app.start(port);
});
app.start(port);
}
}
}