]> git.ipfire.org Git - thirdparty/kea.git/commit
[5111] Added "command-processed" hook point to BaseCommandMgr
authorThomas Markwalder <tmark@isc.org>
Wed, 30 Aug 2017 14:27:55 +0000 (10:27 -0400)
committerThomas Markwalder <tmark@isc.org>
Wed, 30 Aug 2017 14:27:55 +0000 (10:27 -0400)
commit349989ba16cb2abc1b6e59a284661aa0726135f0
treeff2558b7779b1d087f1a8799652a6f890f59f53c
parent53bfb9543fb471d8bd0958f01ea7caa83a269693
[5111] Added "command-processed" hook point to BaseCommandMgr

src/lib/config/base_command_mgr.cc
 - BaseCommandMgr::BaseCommandMgr() - registers command-processed hookpoint
 - BaseCommandMgr::processCommand() - invokes command-processed callouts

src/lib/config/tests/command_mgr_unittests.cc
  - Cleanup and renaming to avoid confusion
  - Added new tests to verify hookpoint callout
      TEST_F(CommandMgrTest, commandProcessedHook)
      TEST_F(CommandMgrTest, commandProcessedHookReplaceResponse)
src/lib/config/base_command_mgr.cc
src/lib/config/base_command_mgr.h
src/lib/config/tests/command_mgr_unittests.cc