7#ifndef CSV_LEASE_FILE6_H
8#define CSV_LEASE_FILE6_H
52 virtual void open(
const bool seek_to_end =
false);
then both cases could be regarded as being with the completion being signalled by the posting of the completion event However UDP is the most common case and that would involve extra overhead So the open() returns a status indicating whether the operation completed asynchronously. If it did
The IOAddress class represents an IP addresses (version agnostic)
bool next(Lease6Ptr &lease)
Reads next lease from the CSV file.
void append(const Lease6 &lease)
Appends the lease record to the CSV file.
CSVLeaseFile6(const std::string &filename)
Constructor.
LeaseFileStats()
Constructor.
Represents a single row of the CSV file.
A template representing an optional value.
Implements a CSV file that supports multiple versions of the file's "schema".
boost::shared_ptr< const Element > ConstElementPtr
boost::shared_ptr< DUID > DuidPtr
boost::shared_ptr< Lease6 > Lease6Ptr
Pointer to a Lease6 structure.
boost::shared_ptr< HWAddr > HWAddrPtr
Shared pointer to a hardware address structure.
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
Defines the logger used by the top-level component of kea-lfc.
Structure that holds a lease for IPv6 address and/or prefix.
Type
Type of lease or pool.