Commit ea5856c2 authored by Winfried's avatar Winfried

small bug fix in client

parent 407bdf70
......@@ -77,6 +77,8 @@ public class CwClient implements IClient, ITcpListener {
callback.receiveStartTelegram(interpreter.parseStartMessage(data));
} else if (type == CwMessageType.GameStatus) {
callback.receiveGameStatusTelegram(interpreter.parseGameStatusMessage(data));
} else if (type == CwMessageType.GameResult) {
callback.receiveGameResultTelegram(interpreter.parseGameResultMessage(data));
} else {
// TODO: print that to log file
System.out.print("unknown or invalid message type");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment