Connection
Object Hierarchy:
Description:
public interface Connection : Object
An interface representing a database engine connection.
Core functionality are provided. Features provided by database engines will be exposed by the object implementing this interface or by
future interfaces.
Content:
Enums:
- Status - Status of the connection
Properties:
- public abstract string connection_string { get; }
A string representation of all connection parameters
- public abstract bool is_opened { get; }
Check if the database is opened or not.
- public abstract ConnectionParameters parameters { get; set; }
Set of connection parameters used with the database engine
- public abstract Status status { get; }
Connection to database engine status as
Status
Methods:
Signals:
- public signal void canceled (string message)
Signal emitted when the connection has been canceled
- public signal void closed ()
Signal emitted when the connection has been closed
- public signal void closing ()
Signal emitted when the connection start a process of closing
- public signal void disconnected ()
Thrown if the connection to the server is not available any.
- public signal void opened ()
Signal emitted when the connection has been stablished
- public signal void timeout ()
Signal emitted when the connection has been canceled due to a timeout
Inherited Members:
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref