13 #include <boost/noncopyable.hpp>
A converter from a stream of RRs to a stream of collated RRsets.
AddRRCallback getCallback()
Return MasterLoader compatible callback.
void flush()
Call the callback on the remaining RRset, if any.
std::function< void(const RRsetPtr &rrset)> AddRRsetCallback
Callback functor type for RRCollator.
RRCollator(const AddRRsetCallback &callback)
Constructor.
boost::shared_ptr< AbstractRRset > RRsetPtr
A pointer-like type pointing to an RRset object.
std::function< void(const Name &name, const RRClass &rrclass, const RRType &rrtype, const RRTTL &rrttl, const rdata::RdataPtr &rdata)> AddRRCallback
Type of callback to add a RR.
Defines the logger used by the top-level component of kea-lfc.