From e2133347c7cba10cd9e9971c2bfcab87fa9a3ec4 Mon Sep 17 00:00:00 2001 From: DongHyeok Lim Date: Sun, 21 Apr 2024 17:27:57 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20=EC=86=8C=EC=BC=93=20=EC=97=B0?= =?UTF-8?q?=EA=B2=B0=20=EB=81=8A=EA=B2=BC=EC=9D=84=20=EC=8B=9C=20=ED=85=8D?= =?UTF-8?q?=EC=8A=A4=ED=8A=B8=EB=A1=9C=20SOCKET=5FERROR=20=EB=B0=98?= =?UTF-8?q?=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ninemensmorris/game/service/MorrisService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/ninemensmorris/game/service/MorrisService.java b/src/main/java/com/ninemensmorris/game/service/MorrisService.java index 8f1054c..602f34a 100644 --- a/src/main/java/com/ninemensmorris/game/service/MorrisService.java +++ b/src/main/java/com/ninemensmorris/game/service/MorrisService.java @@ -50,7 +50,7 @@ public void handleDisconnection(Long userId, String sessionId) { gameRooms.remove(gameRoom.getId()); // 방에 대한 참조를 해제합니다. } - simpMessagingTemplate.convertAndSend("/topic/game/" + gameRoom.getId(), "사용자 " + userId + "의 연결이 끊겼습니다."); + simpMessagingTemplate.convertAndSend("/topic/game/" + gameRoom.getId(), "SOCKET_ERROR"); } public void addSocket(Long userId, String sessionId) { socketUserMap.put(userId, sessionId);