Kea  1.5.0
callout_handle_associate.cc
Go to the documentation of this file.
1 // Copyright (C) 2018 Internet Systems Consortium, Inc. ("ISC")
2 //
3 // This Source Code Form is subject to the terms of the Mozilla Public
4 // License, v. 2.0. If a copy of the MPL was not distributed with this
5 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 
8 #include <hooks/hooks_manager.h>
9 
10 namespace isc {
11 namespace hooks {
12 
14  : callout_handle_() {
15 }
16 
19  if (!callout_handle_) {
21  }
22 
23  return (callout_handle_);
24 }
25 
26 } // end of namespace isc::hooks
27 } // end of namespace isc
isc::hooks::CalloutHandleAssociate::getCalloutHandle
CalloutHandlePtr getCalloutHandle()
Returns callout handle.
Definition: callout_handle_associate.cc:18
isc::hooks::CalloutHandleAssociate::CalloutHandleAssociate
CalloutHandleAssociate()
Constructor.
Definition: callout_handle_associate.cc:13
isc::hooks::CalloutHandlePtr
boost::shared_ptr< CalloutHandle > CalloutHandlePtr
A shared pointer to a CalloutHandle object.
Definition: callout_handle.h:416
hooks_manager.h
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition: agent_parser.cc:144
callout_handle_associate.h
isc::hooks::CalloutHandleAssociate::callout_handle_
CalloutHandlePtr callout_handle_
Callout handle stored.
Definition: callout_handle_associate.h:54
isc::hooks::HooksManager::createCalloutHandle
static boost::shared_ptr< CalloutHandle > createCalloutHandle()
Return callout handle.
Definition: hooks_manager.cc:150