Commit 214b2747 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[master] Merge branch 'master' of ssh://git.bind10.isc.org/var/bind10/git/bind10

parents fd6c9be8 71be4dc1
......@@ -144,7 +144,7 @@ public:
timer_(timer)
{}
void trigger() {
query_->outstanding_ = false;
query_->answerReceived();
callback_();
// We are not needed any more.
delete this;
......
......@@ -142,6 +142,13 @@ public:
}
interface_ = &dst_interface;
}
/// \brief The answer for upstream query was received
///
/// This should be called from within the FakeInterface only.
/// It marks that the query from upstream was answered.
void answerReceived() {
outstanding_ = false;
}
private:
// The scheduled steps for this task.
typedef std::pair<Task, size_t> Step;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment