Kea 2.6.0
callout_handle_associate.cc
Go to the documentation of this file.
1// Copyright (C) 2018-2022 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
10#include <hooks/hooks_manager.h>
11
12namespace isc {
13namespace hooks {
14
16 : callout_handle_() {
17}
18
21 if (!callout_handle_) {
23 }
24
25 return (callout_handle_);
26}
27
28void
30 callout_handle_.reset();
31}
32
33} // end of namespace isc::hooks
34} // end of namespace isc
void resetCalloutHandle()
Reset callout handle.
CalloutHandlePtr getCalloutHandle()
Returns callout handle.
CalloutHandlePtr callout_handle_
Callout handle stored.
static boost::shared_ptr< CalloutHandle > createCalloutHandle()
Return callout handle.
boost::shared_ptr< CalloutHandle > CalloutHandlePtr
A shared pointer to a CalloutHandle object.
Defines the logger used by the top-level component of kea-lfc.