1. 26 Jan, 2011 2 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)
      8a175757
    • chenzhengzhang's avatar
      remove useless blank · 5823a2ff
      chenzhengzhang authored
      5823a2ff
  2. 25 Jan, 2011 11 commits
  3. 24 Jan, 2011 6 commits
  4. 22 Jan, 2011 4 commits
  5. 21 Jan, 2011 17 commits