1. 03 Feb, 2011 1 commit
  2. 02 Feb, 2011 1 commit
    • Jelte Jansen's avatar
      [trac494] addressed review comments · 430e0e89
      Jelte Jansen authored
      Removed some dead code, added two unit tests, changed sendQuery() to the
      more descriptive resolve(), and removed a superfluous call to dlog()
  3. 01 Feb, 2011 1 commit
  4. 31 Jan, 2011 5 commits
  5. 28 Jan, 2011 2 commits
  6. 27 Jan, 2011 2 commits
  7. 26 Jan, 2011 3 commits
    • Jelte Jansen's avatar
      [trac494] initial abstraction for runningquery results · 8a175757
      Jelte Jansen authored
      Added a abstract placeholder for callbacks in asio (for now); which has
      two subclasses; one takes a DNSServer* and calls resume() on it when the
      runningquery finished its lookup (or fails), the other one is provided a
      callback as defined in isc::nsas::ResolverInterface.
      These are more objects that are newed while running and delete
      themselves, and they may not even be necessary, but for now this makes
      it work while doing the least amount of changes in other parts.
      RunnigQuery now takes one of these objects instead of a DNSServer*, and
      the objects decide what should be done once it is ready.
      Things to do:
      - remove the temporary MyCallback class from resolver (perhaps move it
        to a unittest)
      - move ResolverInterface out of nsas, as well as its Callback thingy,
        and merge it with the new callback holders
      - general cleanup and tests (although, as with current resolver tests,
        need framework to fake outside query handling)
    • chenzhengzhang's avatar
      remove useless blank · 5823a2ff
      chenzhengzhang authored
    • chenzhengzhang's avatar
  8. 25 Jan, 2011 22 commits
  9. 24 Jan, 2011 3 commits