| 75 | } |
| 76 | |
| 77 | void processResponseEvent(bbg::Event &event, InstrumentListResults &matches, const bool verbose) { |
| 78 | bbg::MessageIterator msgIter(event); |
| 79 | while (msgIter.next()) { |
| 80 | bbg::Message msg = msgIter.message(); |
| 81 | if (msg.hasElement(RESPONSE_ERROR)) { |
| 82 | Rcpp::Rcerr << "REQUEST FAILED: " << msg.getElement(RESPONSE_ERROR) << std::endl; |
| 83 | continue; |
| 84 | } |
| 85 | processMessage(msg, matches, verbose); |
| 86 | } |
| 87 | } |
| 88 | |
| 89 | // [[Rcpp::export]] |
| 90 | Rcpp::DataFrame lookup_Impl(SEXP con, |
no test coverage detected