Class: MidgardConnection

midgard_connection class represents connection to underlying data-source and is responsible for holding and setting environmental variables (like error, authenticated user, debug level, etc.)

Methods

__construct ()
public __destruct ()
public static get_instance ()
public copy ()
public open (name)
public reopen ()
public open_config (config)
public is_connected ()
public connect (signal, callback, [userdata])
public get_error ()
public set_error (errorcode)
public get_error_string ()
public get_user ()
public set_loglevel (level, [callback])
public list_auth_types ()
public enable_workspace (toggle)
public is_enabled_workspace ()
public enable_replication (toggle)
public is_enabled_replication ()
public enable_dbus (toggle)
public is_enabled_dbus ()
public enable_quota (toggle)
public is_enabled_quota ()
public get_workspace ()
public set_workspace (workspace)

Signals

error
auth-changed
lost-provider
connected
disconnected