Commit 54041cc4 authored by Winfried's avatar Winfried

else error fixed

parent 8652106c
......@@ -76,9 +76,9 @@ public class CwClient implements IClient, ITcpListener {
callback.receiveStartTelegram(interpreter.parseStartMessage(data));
} else if (type == CwMessageType.GameStatus) {
callback.receiveGameStatusTelegram(interpreter.parseGameStatusMessage(data));
} else {
// TODO: print that to log file
System.out.print("unknown or invalid message type");
}
// TODO: print that to log file
System.out.print("unknown or invalid message type");
}
}
......@@ -75,9 +75,9 @@ public class CwServer implements IServer, ITcpListener {
callback.receiveLoginTelegram(interpreter.parseLoginMessage(data), sessionId);
} else if (type == CwMessageType.Ready) {
callback.receiveReadyTelegram(interpreter.parseReadyMessage(data), sessionId);
} else {
// TODO: print that to log file
System.out.print("unknown or invalid message type");
}
// TODO: print that to log file
System.out.print("unknown or invalid message type");
}
}
\ No newline at end of file
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