docs: private Request getRequest(Action action, BrokerSession session) {
          switch (action) {
              case QUERY:
                  if (query == null) {
                      query = new Request(action);
                      query.addParameter("UID", session.getId());
                  }
                  
                  return query;
              
              case PING:
                  if (ping == null) {
                      ping = new Request(action);
                  }
                  
                  return ping;
              
              default:
                  return null;
          }
      }