Back to Seed Clases

Gio


Classes

Interfaces

Structs

Unions

Enums

GObject.Object
parent-child marker Gio.DBusConnection

Class Gio.DBusConnection

Import line: Gio = imports.gi.Gio;
GIR File: Gio-2.0.gir
C documentation: GDBusConnection
Class : DBusConnection
Implements: Gio.AsyncInitable, Gio.Initable
Extends: GObject.Object
The GDBusConnection type is used for D-Bus connections to remote
peers such as a message buses. It is a low-level API that offers a
lot of flexibility. For instance, it lets you establish a connection
over any transport that can by represented as an GIOStream.
This class is rarely used directly in D-Bus clients. If you are writing
an D-Bus client, it is often easier to use the g_bus_own_name(),
g_bus_watch_name() or g_dbus_proxy_new_for_bus() APIs.
D-Bus server exampleFIXME: MISSING XINCLUDE CONTENT
D-Bus subtree exampleFIXME: MISSING XINCLUDE CONTENT
D-Bus UNIX File Descriptor exampleFIXME: MISSING XINCLUDE CONTENT
Exporting a GObjectFIXME: MISSING XINCLUDE CONTENT
Properties
Properties Defined By
Methods / Constructors
Method / Constructor Defined By
Events - usage syntax: this.signals.EVENTNAME.connect( Function )
Event Defined By
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Gio
Method
Gio.bus_get_finish (AsyncResult res) : Gio.DBusConnection
Finishes an operation started with g_bus_get().
Gio
Method
Gio.bus_get_sync (BusType bus_type, Cancellable cancellable) : Gio.DBusConnection
Synchronously connects to the message bus specified by bus_type.
Gio
Method
Gio.bus_own_name_on_connection (DBusConnection connection, String name, BusNameOwnerFlags flags, Closure name_acquired_closure, Closure name_lost_closure) : guint32
Like g_bus_own_name() but takes a GDBusConnection instead of a
GBusType.
Gio
Method
Gio.bus_watch_name_on_connection (DBusConnection connection, String name, BusNameWatcherFlags flags, Closure name_appeared_closure, Closure name_vanished_closure) : guint32
Like g_bus_watch_name() but takes a GDBusConnection instead of a
GBusType.
Gio.DBusMethodInvocation
Method
get_connection () : Gio.DBusConnection
Gets the GDBusConnection the method was invoked on.
Gio.DBusProxy
Property
g_connection : Gio.DBusConnection
The GDBusConnection the proxy is for.
Gio.DBusProxy
Method
new Gio.DBusProxy.sync (DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable) : Gio.DBusProxy
Create a new Gio.DBusProxy
Gio.DBusProxy
Method
Gio.DBusProxy.c_new (DBusConnection connection, DBusProxyFlags flags, DBusInterfaceInfo info, String name, String object_path, String interface_name, Cancellable cancellable, Function callback, void* user_data) : none
Creates a proxy for accessing interface_name on the remote object
at object_path owned by name at connection and asynchronously
loads D-Bus properties unless the
G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag is used.
Gio.DBusProxy
Method
get_connection () : Gio.DBusConnection
Gets the connection proxy is for.
Gio.DBusServer
Signal
new_connection (DBusServer self, DBusConnection connection) : gboolean
Emitted when a new authenticated connection has been made.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:11:09 GMT+0800 (HKT)