Kea  1.9.9-git
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 <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.

Classes

class  isc::db::DatabaseConnection
 Common database connection class. 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::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::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::ReconnectCtl
 Warehouses DB reconnect control values. More...
 

Namespaces

 isc
 Defines the logger used by the top-level component of kea-dhcp-ddns.
 
 isc::db
 

Typedefs

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

Enumerations

enum  isc::db::OnFailAction { isc::db::OnFailAction::STOP_RETRY_EXIT, isc::db::OnFailAction::SERVE_RETRY_EXIT, isc::db::OnFailAction::SERVE_RETRY_CONTINUE }
 Type of action to take on connection loss. More...