Kea
1.9.9-git
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
callout_handle_associate.cc
Go to the documentation of this file.
1
// Copyright (C) 2018-2020 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
7
#include <config.h>
8
9
#include <
hooks/callout_handle_associate.h
>
10
#include <
hooks/hooks_manager.h
>
11
12
namespace
isc
{
13
namespace
hooks {
14
15
CalloutHandleAssociate::CalloutHandleAssociate
()
16
: callout_handle_() {
17
}
18
19
CalloutHandlePtr
20
CalloutHandleAssociate::getCalloutHandle
() {
21
if
(!
callout_handle_
) {
22
callout_handle_
=
HooksManager::createCalloutHandle
();
23
}
24
25
return
(
callout_handle_
);
26
}
27
28
}
// end of namespace isc::hooks
29
}
// end of namespace isc
hooks_manager.h
callout_handle_associate.h
isc::hooks::CalloutHandleAssociate::getCalloutHandle
CalloutHandlePtr getCalloutHandle()
Returns callout handle.
Definition:
callout_handle_associate.cc:20
isc::hooks::CalloutHandleAssociate::CalloutHandleAssociate
CalloutHandleAssociate()
Constructor.
Definition:
callout_handle_associate.cc:15
isc::hooks::CalloutHandleAssociate::callout_handle_
CalloutHandlePtr callout_handle_
Callout handle stored.
Definition:
callout_handle_associate.h:54
isc
Defines the logger used by the top-level component of kea-dhcp-ddns.
Definition:
agent_parser.cc:143
isc::hooks::HooksManager::createCalloutHandle
static boost::shared_ptr< CalloutHandle > createCalloutHandle()
Return callout handle.
Definition:
hooks_manager.cc:200
isc::hooks::CalloutHandlePtr
boost::shared_ptr< CalloutHandle > CalloutHandlePtr
A shared pointer to a CalloutHandle object.
Definition:
callout_handle.h:436
src
lib
hooks
callout_handle_associate.cc
Generated on Wed Sep 15 2021 10:48:28 for Kea by
1.8.9.1