DBusSubtreeDispatchFunc


Description:

[ CCode ( instance_pos = 6.9 ) ]
[ Version ( since = "2.26" ) ]
public delegate unowned DBusInterfaceVTable? DBusSubtreeDispatchFunc (DBusConnection connection, string sender, string object_path, string interface_name, string node, void* out_user_data)

The type of the dispatch function in DBusSubtreeVTable.

Subtrees are flat. node, if non-null, is always exactly one segment of the object path (ie: it never contains a slash).

Parameters:

connection

A DBusConnection.

sender

The unique bus name of the remote caller.

object_path

The object path that was registered with register_subtree .

interface_name

The D-Bus interface name that the method call or property access is for.

node

A node that is a child of object_path (relative to object_path) or null for the root of the subtree.

out_user_data

Return location for user data to pass to functions in the returned DBusInterfaceVTable.

user_data

The user_data pointer passed to register_subtree.

Returns:

A DBusInterfaceVTable or null if you don't want to handle the methods.


Namespace: GLib
Package: gio-2.0