summaryrefslogtreecommitdiffstats
path: root/src/lib/asiolink/asiolink.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* [4236] Updated copyright dates in all files.Marcin Siodelski2015-12-161-1/+1
|
* [4236] Replaced license text in all files containing it.Marcin Siodelski2015-12-161-11/+3
|
* [4009] Updated asiolink.hFrancis Dupont2015-09-031-2/+2
|
* [4031] Cleaned up asiolink (tentative)Francis Dupont2015-09-021-2/+0
|
* [3417] "bind 10" => Kea converted in many .cc/.h filesTomek Mrugalski2014-08-061-2/+2
|
* [2357] Update scaffolding using fix-scaffolding.py toolMukund Sivaraman2012-10-251-3/+3
| | | | See bug #2367 for the fix-scaffolding.py tool.
* [trac751] Move some DNS related files from asiolink to asiodnsOcean Wang2011-04-071-9/+0
|
* [master] Merge branch 'trac495'Jelte Jansen2011-03-111-1/+0
|\ | | | | | | | | | | | | | | | | | | Conflicts: src/lib/Makefile.am src/lib/asiolink/Makefile.am src/lib/asiolink/tcp_socket.h src/lib/asiolink/tests/Makefile.am src/lib/nsas/asiolink.h src/lib/resolve/recursive_query.cc
| * [trac495] more recursive_query to lib/resolveJelte Jansen2011-03-021-1/+0
| |
* | [trac499] Add missing newlines to the end of some filesStephen Morris2011-03-091-1/+1
| | | | | | | | ... which causes Solaris to complain - loudly.
* | [trac499] Mischellaneous minor preparator changesStephen Morris2011-02-241-5/+1
|/ | | | | | * Extend logging in IOFetch (and add message definitions) * Update buffer size setting for UDP socket * remove spaces at end of lines in other files
* [trac554] Added IOFetchStephen Morris2011-02-181-3/+0
| | | | | | | IOFetch is a general upstream "fetch" class that should be able to operate over TCP or UDP. Related changes have been made in the associated classes. So far, only the unit tests for a UDP fetch have been made (and passed).
* [trac554] Now have UDPSocket and its unit test workingStephen Morris2011-02-151-0/+3
|
* [trac554] First stage of adding protocol-dependent upstream fetchStephen Morris2011-02-141-14/+1
| | | | | | | | | | | | | Admin tasks: * Split out io_error.h from asiolink.h * Made test files follow naming convention of main files * More discriminatory includes in some files * Updates tests/Makefile.am Coding tasks: * Add additional methods to io_socket.* and put in dummies in {tcp,udp}_socket.h * Incorporated basic IO Fetch code from Scott
* [trac569] rename the original ioxxx files to io_xxxJelte Jansen2011-02-141-4/+4
|
* [trac569] split up asiolink.h into multiple filesJelte Jansen2011-02-111-631/+8
| | | | | asiolink.h is now merely a 'collection' header that includes all the rest
* Merge branch 'trac497'Jelte Jansen2011-02-111-6/+9
|\
| * [trac497] addressed review commentsJelte Jansen2011-02-091-6/+9
| | | | | | | | and updated some doxygens as per Jeremy's mail
* | Merge branch 'master' into trac452Yoshitaka Aharen2011-02-081-17/+58
|\|
| * Merge branch 'trac494'Jelte Jansen2011-02-031-13/+41
| |\ | | | | | | | | | | | | Conflicts: src/lib/asiolink/asiolink.cc
| | * [trac494] addressed review commentsJelte Jansen2011-02-021-11/+9
| | | | | | | | | | | | | | | Removed some dead code, added two unit tests, changed sendQuery() to the more descriptive resolve(), and removed a superfluous call to dlog()
| | * [trac494] more docsJelte Jansen2011-01-311-3/+5
| | |
| | * [trac494] some documentationJelte Jansen2011-01-311-6/+26
| | |
| | * [trac494] move ResolverInterface to lib/resolveJelte Jansen2011-01-271-2/+2
| | |
| | * [trac494] initial addition of lib/resolveJelte Jansen2011-01-271-37/+0
| | |
| | * [trac494] initial abstraction for runningquery resultsJelte Jansen2011-01-261-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
| * | Merge remote branch 'origin/trac489'Jelte Jansen2011-01-271-2/+7
| |\ \ | | |/ | |/| | | | | | | | | | | | | | | | Conflicts: src/bin/resolver/resolver.cc src/lib/asiolink/asiolink.cc src/lib/asiolink/asiolink.h src/lib/asiolink/tests/asiolink_unittest.cc
| | * use the three types of timeoutJelte Jansen2011-01-211-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that client_timeout at this point has the same result as lookup_timeout. Changed self-deletion of RunningQuery a bit, as it cannot delete itselfs until we are sure there are not events coming in anymore. If we change the clientTimeout() callback to send an answer and not stop, we shall need to keep track of that fact (i.e. not send back an answer in the end, and update stop since it won't be called by clientTimeout() anymore When adding the asiolink tests for these features, added a few convenience functions for common code in those tests.
| * | merge #502 : iterate over RRschenzhengzhang2011-01-251-4/+35
| |\ \
| | * \ Merge branch 'experiments/resolver'Jelte Jansen2011-01-251-1/+4
| | |\ \ | | | | | | | | | | | | | | | | | | | | Conflicts: src/bin/resolver/resolver.cc
| | | * | add answer_message to processMessageJelte Jansen2011-01-151-0/+1
| | | | |
| | | * | add answer message to lookup callsJelte Jansen2011-01-151-1/+2
| | | | | | | | | | | | | | | | | | | | though atm completely unused
| | | * | add answer message object to answer handlerJelte Jansen2011-01-141-0/+1
| | |/ / | |/| |
| | * | cleanup: removed $Id$, which is useless now that we've migrated to git.JINMEI Tatuya2011-01-211-2/+0
| | |/ | | | | | | | | | | | | briefly talked about it on jabber, no one opposed to it, Jeremy explicitly agreed. changes are trivial themselves, so no explicit review.
* | | [trac452] Language correctionsMichal 'vorner' Vaner2011-02-021-1/+1
| | |
* | | Modified IntervalTimer to accept interval in milliseconds (Trac ticket #452)Yoshitaka Aharen2011-01-251-14/+6
| | | | | | | | | | | | | | | | | | Modified the interface of IntervalTimer to accept interval in milliseconds. Tests for IntervalTimer are also modified; now it takes 1.4 seconds.
* | | Changed the type of interval from 'uint32_t' to 'long' (Comment on Trac ↵Yoshitaka Aharen2011-01-251-3/+3
| | | | | | | | | | | | ticket #513)
* | | Renamed member functions of asiolink::IntervalTimer (Trac ticket #515)Yoshitaka Aharen2011-01-251-14/+13
| |/ |/| | | | | | | Renamed IntervalTimer::setupTimer() -> IntervalTimer::setup() Renamed IntervalTimerImpl::updateTimer() -> IntervalTimerImpl::update()
* | supported new methods for the interval timer: getting interval and cancelingJINMEI Tatuya2011-01-181-1/+20
| | | | | | | | the timer.
* | added a trivial method IntervalTimer::getInterval() for the convenient ofJINMEI Tatuya2011-01-181-0/+4
|/ | | | other tests.
* Renamed some files and a directory.Jeremy C. Reed2011-01-031-1/+1
| | | | | | | Changed some names. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac470@4130 e5f2f494-b856-4b98-b285-d166d9295462
* trivial cleanup: removed an unnecessary semicolon.JINMEI Tatuya2010-12-291-1/+1
| | | | | | | skipping review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4063 e5f2f494-b856-4b98-b285-d166d9295462
* Merged trac #347: Implement query counters in auth module (branches/trac347 ↵Yoshitaka Aharen2010-12-281-0/+94
| | | | | | r3685:r4016) git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4026 e5f2f494-b856-4b98-b285-d166d9295462
* trivial cleanups: removed some unnecessary or meaningless 'inline' declarations:JINMEI Tatuya2010-12-251-6/+6
| | | | | | | | | - member functions with a definition will automatically be inlined - virtual functions cannot be inlined anyway believing trivial, skip review. git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@4009 e5f2f494-b856-4b98-b285-d166d9295462
* handle Stephen's review commentsJelte Jansen2010-12-131-3/+10
| | | | git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3818 e5f2f494-b856-4b98-b285-d166d9295462
* Sync with #327Michal Vaner2010-11-221-15/+25
|\ | | | | | | git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-timeouts@3606 e5f2f494-b856-4b98-b285-d166d9295462
| * Sync with trunkMichal Vaner2010-11-101-1/+1
| | | | | | | | git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac327@3501 e5f2f494-b856-4b98-b285-d166d9295462
| * Merge preparation, step 2Michal Vaner2010-11-031-11/+12
| | | | | | | | | | | | asiolink compiles and passes tests git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3431 e5f2f494-b856-4b98-b285-d166d9295462
| * Merge preparation, step 1Michal Vaner2010-11-031-30/+99
| |\ | | | | | | | | | | | | | | | Doesn't compile yet. Only detected code-level conflicts resolved. git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3423 e5f2f494-b856-4b98-b285-d166d9295462
| * | IOService can add and remove servers at runtimeMichal Vaner2010-10-231-0/+10
| | | | | | | | | | | | | | | | | | | | | However, it does not seem to close the sockets. It needs to be addressed somehow and fixed (there's one disabled test because of that). git-svn-id: svn://bind10.isc.org/svn/bind10/branches/vorner-recursor-config@3337 e5f2f494-b856-4b98-b285-d166d9295462