mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 20:41:58 -08:00
client registration is now a blocking call on the client side + added server messages handlers
This commit is contained in:
parent
d2ae55fff6
commit
b68cd765b7
11 changed files with 194 additions and 31 deletions
|
|
@ -1152,6 +1152,12 @@ public class Main implements MageServer {
|
|||
// });
|
||||
// }
|
||||
//
|
||||
|
||||
@Override
|
||||
public List<String> getServerMessages() {
|
||||
return ServerMessagesUtil.getInstance().getMessages();
|
||||
}
|
||||
|
||||
// @Override
|
||||
// public Object getServerMessagesCompressed(String sessionId) throws MageException {
|
||||
// return executeWithResult("getGameView", sessionId, new ActionWithNullNegativeResult<Object>() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue