1#ifndef ERIS_META_QUERY_H
2#define ERIS_META_QUERY_H
4#include "BaseConnection.h"
6#include <wfmath/timestamp.h>
22 MetaQuery(boost::asio::io_service& io_service,
23 Atlas::Bridge& bridge,
25 const std::string& host,
33 size_t getServerIndex()
const;
38 bool isComplete()
const;
50 void handleTimeout(
const std::string& msg)
override;
52 void onQueryTimeout();
54 void dispatch()
override;
62 boost::asio::steady_timer m_completeTimer;
70inline size_t MetaQuery::getServerIndex()
const {
74inline bool MetaQuery::isComplete()
const {
Underlying Atlas connection, providing a send interface, and receive (dispatch) system.