Kea 1.5.0
stamped_element.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
9namespace isc {
10namespace data {
11
13 : timestamp_(boost::posix_time::second_clock::universal_time()) {
14}
15
16void
18 setModificationTime(boost::posix_time::second_clock::universal_time());
19}
20
21} // end of namespace isc::data
22} // end of namespace isc
void updateModificationTime()
Sets timestmp to the current time.
void setModificationTime(const boost::posix_time::ptime &timestamp)
Sets timestamp to the explicitly provided value.
Defines the logger used by the top-level component of kea-dhcp-ddns.