7#ifndef CSV_LEASE_FILE4_H
8#define CSV_LEASE_FILE4_H
50 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)
void append(const Lease4 &lease)
Appends the lease record to the CSV file.
CSVLeaseFile4(const std::string &filename)
Constructor.
bool next(Lease4Ptr &lease)
Reads next lease from the CSV file.
LeaseFileStats()
Constructor.
Represents a single row of the CSV file.
Implements a CSV file that supports multiple versions of the file's "schema".
boost::shared_ptr< const Element > ConstElementPtr
uint32_t SubnetID
Defines unique IPv4 or IPv6 subnet identifier.
boost::shared_ptr< ClientId > ClientIdPtr
Shared pointer to a Client ID.
boost::shared_ptr< Lease4 > Lease4Ptr
Pointer to a Lease4 structure.
Defines the logger used by the top-level component of kea-lfc.
Hardware type that represents information from DHCPv4 packet.
Structure that holds a lease for IPv4 address.