Home | History | Annotate | Download | only in dns

Lines Matching refs:query

39     struct Query {
40 // The new ID number assigned to this query.
42 // A query that has been passed to recordQuery(), with its original ID number.
43 const Slice query;
50 QueryFuture(Query query, std::future<Result> result) :
51 query(query), result(std::move(result)) {}
52 Query query;
53 // A future which will resolve to the result of this query.
58 // this query, or null if the query could not be recorded.
59 std::unique_ptr<QueryFuture> recordQuery(const Slice query);
62 // is not recognized as matching any query, it will be ignored.
69 std::vector<Query> getAll();
71 // Mark a query has having been retried. If the query hits the retry limit, it will
83 QueryPromise(Query query) : query(query) {}
84 Query query;
85 // Number of times the query has been tried. Limited to kMaxTries.
92 // The maximum number of times we will send a query before abandoning it.