code: public void addClient(String pUserName, WebSocketSession pClient) {
          if (!mClients.containsKey(pUserName)) {
              LogHelper.info("", "增加客户端；name:" + pUserName, "MyClientFactory.addClient");
              mClients.put(pUserName, pClient);
              onAddClient(pUserName, pClient);
          } else {
              if (!mClients.get(pUserName).getId().equals(pClient.getId()) && mClients.get(pUserName).isOpen()) {
                  changeClient(pUserName, pClient);
              }
          }
      }
docs: 添加一个客户端
  
  @param pUserName
  @param pClient