Package org.gnome.gio
Interface DBusInterface
- All Superinterfaces:
Proxy
- All Known Implementing Classes:
DBusInterface.DBusInterfaceImpl
,DBusInterfaceSkeleton
,DBusInterfaceSkeleton.DBusInterfaceSkeletonImpl
,DBusProxy
Base type for D-Bus interfaces.
The GDBusInterface
type is the base type for D-Bus interfaces both
on the service side (see DBusInterfaceSkeleton
) and client side
(see DBusProxy
).
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Base type for D-Bus interfaces.static class
The DBusInterfaceImpl type represents a native instance of the DBusInterface interface. -
Method Summary
Modifier and TypeMethodDescriptiondefault DBusInterfaceInfo
getInfo()
Gets D-Bus introspection information for the D-Bus interface implemented by this DBusInterface.default DBusObject
Gets theGDBusObject
that this DBusInterface belongs to, if any.static Type
getType()
Get the GType of the DBusInterface classdefault void
setObject
(@Nullable DBusObject object) Sets theGDBusObject
for this DBusInterface toobject
.
-
Method Details
-
getType
-
getObject
Gets theGDBusObject
that this DBusInterface belongs to, if any.- Returns:
- A
GDBusObject
ornull
. The returned reference should be freed with g_object_unref().
-
getInfo
Gets D-Bus introspection information for the D-Bus interface implemented by this DBusInterface.- Returns:
- A
GDBusInterfaceInfo
. Do not free.
-
setObject
Sets theGDBusObject
for this DBusInterface toobject
.Note that this DBusInterface will hold a weak reference to
object
.- Parameters:
object
- AGDBusObject
ornull
.
-