채팅
-
RMI 채팅프로그램(Swing)Study/Java 2020. 6. 17. 22:08
Class Server 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 public class ChatServer { private static Logger LOGGER = LogManager.getLogger(ChatServer.class); public ChatServer() { try { initRmi(); } catch (Exception e) { LOGGER.error(e.getMessage(), e); } } private void initRmi() throws Exception { LOGGER.debug("+++ initRmi"); ChatImpl chatImpl = new ChatImpl(); // 내부에 rmi r..