Kea  2.1.7-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 <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.

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...
 

Namespaces

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

Typedefs

typedef std::function< bool(util::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...