The third stage is the server's main message-processing loop. Add a private void serverMainLoop(Connection connection, String userName) throws IOException, ClassNotFoundException method, where the meaning of the parameters is the same as in the notifyUsers() method.
Chat (part 10)
You must be signed in to leave a comment
This page doesn't have any comments yet