|
@@ -23,7 +23,7 @@ public class GameSevenClient {
|
|
public void onOpen(Session session) throws Exception{
|
|
public void onOpen(Session session) throws Exception{
|
|
System.out.println("game seven 游戏已连接 server");
|
|
System.out.println("game seven 游戏已连接 server");
|
|
session.getBasicRemote().sendText("ping");
|
|
session.getBasicRemote().sendText("ping");
|
|
- Common.sessionMap.put(Common.GAME_SIX_CODE, session);
|
|
|
|
|
|
+ Common.sessionMap.put(Common.GAME_SEVEN_CODE, session);
|
|
}
|
|
}
|
|
|
|
|
|
@OnClose
|
|
@OnClose
|