code: public void removeClient(String pUserName) {
          if (mClients.containsKey(pUserName)) {
              WebSocketSession pClient = mClients.get(pUserName);
              String id = pClient.getId();
              String vAddress = pClient.getRemoteAddress().getAddress().getHostAddress();
              try {
                  if (pClient.isOpen()) {
                      pClient.close();
                  }
              } catch (Exception e) {
              }
              pClient = null;
              mClients.remove(pUserName);
              onRemoveClient(pUserName, id, vAddress);
          }
      }
docs: 根据用户名删除客户端
  
  @param pUserName