Kea 2.7.0
database_connection.h File Reference
#include <asiolink/io_service.h>
#include <cc/data.h>
#include <boost/noncopyable.hpp>
#include <boost/shared_ptr.hpp>
#include <exceptions/exceptions.h>
#include <util/reconnect_ctl.h>
#include <functional>
#include <map>
#include <string>
+ Include dependency graph for database_connection.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  isc::db::DatabaseConnection
 Common database connection class. More...
class  isc::db::DbConnectionInitWithRetry
 RAII class to enable DB reconnect retries on server startup. More...
class  isc::db::DbConnectionUnusable
 Exception thrown when a specific connection has been rendered unusable either through loss of connectivity or API lib error. More...
class  isc::db::DbInvalidPort
 Invalid port number. More...
class  isc::db::DbInvalidReadOnly
 Invalid 'readonly' value specification. More...
class  isc::db::DbInvalidTimeout
 Invalid Timeout. More...
class  isc::db::DbOpenError
 Exception thrown on failure to open database. More...
class  isc::db::DbOpenErrorWithRetry
 Exception thrown on failure to open database but permit retries. More...
class  isc::db::DbOperationError
 Exception thrown on failure to execute a database function. More...
class  isc::db::InvalidType
 Invalid type exception. More...
class  isc::db::NoDatabaseName
 Exception thrown if name of database is not specified. More...
class  isc::db::SchemaInitializationFailed
 Thrown when an initialization of the schema failed. More...


namespace  isc
 Defines the logger used by the top-level component of kea-lfc.
namespace  isc::db


typedef std::function< bool(util::ReconnectCtlPtr db_reconnect_ctl)> isc::db::DbCallback
 Defines a callback prototype for propagating events upward.
typedef std::function< isc::asiolink::IOServicePtr()> isc::db::IOServiceAccessor
 Function which returns the IOService that can be used to recover the connection.
typedef boost::shared_ptr< IOServiceAccessorisc::db::IOServiceAccessorPtr
 Pointer to an instance of IOServiceAccessor.