Commit cf1828a2 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[2977] Implemented DNS Update response parsing.

parent 4ab333e8
......@@ -43,8 +43,13 @@ DNSClient::DNSClient(D2UpdateMessagePtr& response_placeholder,
DNSClient::operator()(IOFetch::Result result) {
// @todo Do something useful here. One of the useful things will be to parse
// incoming message if the result is SUCCESS.
// @todo More sanity checks here. Also, there is a question, what happens if
// the exception is thrown here.
if (result == IOFetch::SUCCESS) {
InputBuffer response_buf(in_buf_->getData(), in_buf_->getLength());
// Once we are done with internal business, let's call a callback supplied
// by a caller.
Supports Markdown
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