11 #include <boost/scoped_ptr.hpp>
25 }
catch (
const std::exception& ex) {
27 " 'capacity' parameter is missing/invalid: " << ex.what());
static int64_t getInteger(isc::data::ConstElementPtr scope, const std::string &name)
Returns an integer parameter from a scope.
static const std::string DEFAULT_QUEUE_TYPE4
Logical name of the pre-registered, default queue implementation.
boost::shared_ptr< PacketQueue< Pkt4Ptr > > PacketQueue4Ptr
Defines pointer to the DHCPv4 queue interface used at the application level.
PacketQueueMgr4()
It registers a default factory for DHCPv4 queues.
#define isc_throw(type, stream)
A shortcut macro to insert known values into exception arguments.
DHCPv4 packet queue buffer implementation.
boost::shared_ptr< const Element > ConstElementPtr
Defines the logger used by the top-level component of kea-dhcp-ddns.
bool registerPacketQueueFactory(const std::string &queue_type, Factory factory)
Registers new queue factory function for a given queue type.
Invalid queue parameter exception.