Class
PhoshIdleDBusIdleMonitorSkeleton
Description [src]
class Phosh.IdleDBusIdleMonitorSkeleton : Gio.DBusInterfaceSkeleton
implements Gio.DBusInterface, Phosh.IdleDBusIdleMonitor {
/* No available fields */
}
The PhoshIdleDBusIdleMonitorSkeleton
structure contains only private data and should only be accessed using the provided API.
Constructors
phosh_idle_dbus_idle_monitor_skeleton_new
Creates a skeleton object for the D-Bus interface org.gnome.Mutter.IdleMonitor.
Instance methods
Methods inherited from GDBusInterfaceSkeleton (13)
g_dbus_interface_skeleton_export
Exports interface_
at object_path
on connection
.
g_dbus_interface_skeleton_flush
If interface_
has outstanding changes, request for these changes to be
emitted immediately.
g_dbus_interface_skeleton_get_connection
Gets the first connection that interface_
is exported on, if any.
g_dbus_interface_skeleton_get_connections
Gets a list of the connections that interface_
is exported on.
g_dbus_interface_skeleton_get_flags
Gets the GDBusInterfaceSkeletonFlags
that describes what the behavior
of interface_
.
g_dbus_interface_skeleton_get_info
Gets D-Bus introspection information for the D-Bus interface
implemented by interface_
.
g_dbus_interface_skeleton_get_object_path
Gets the object path that interface_
is exported on, if any.
g_dbus_interface_skeleton_get_properties
Gets all D-Bus properties for interface_
.
g_dbus_interface_skeleton_get_vtable
Gets the interface vtable for the D-Bus interface implemented by
interface_
. The returned function pointers should expect interface_
itself to be passed as user_data
.
g_dbus_interface_skeleton_has_connection
Checks if interface_
is exported on connection
.
g_dbus_interface_skeleton_set_flags
Sets flags describing what the behavior of skeleton
should be.
g_dbus_interface_skeleton_unexport
Stops exporting interface_
on all connections it is exported on.
g_dbus_interface_skeleton_unexport_from_connection
Stops exporting interface_
on connection
.
Methods inherited from GDBusInterface (4)
g_dbus_interface_dup_object
Gets the GDBusObject
that interface_
belongs to, if any.
g_dbus_interface_get_info
Gets D-Bus introspection information for the D-Bus interface
implemented by interface_
.
g_dbus_interface_get_object
Gets the GDBusObject
that interface_
belongs to, if any.
g_dbus_interface_set_object
Sets the GDBusObject
for interface_
to object
.
Methods inherited from PhoshIdleDBusIdleMonitor (17)
phosh_idle_dbus_idle_monitor_call_add_idle_watch
Asynchronously invokes the AddIdleWatch() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_idle_dbus_idle_monitor_call_add_idle_watch_finish()
to get the result of the operation.
phosh_idle_dbus_idle_monitor_call_add_idle_watch_finish
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_add_idle_watch().
phosh_idle_dbus_idle_monitor_call_add_idle_watch_sync
Synchronously invokes the AddIdleWatch() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
phosh_idle_dbus_idle_monitor_call_add_user_active_watch
Asynchronously invokes the AddUserActiveWatch() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_idle_dbus_idle_monitor_call_add_user_active_watch_finish()
to get the result of the operation.
phosh_idle_dbus_idle_monitor_call_add_user_active_watch_finish
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_add_user_active_watch().
phosh_idle_dbus_idle_monitor_call_add_user_active_watch_sync
Synchronously invokes the AddUserActiveWatch() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
phosh_idle_dbus_idle_monitor_call_get_idletime
Asynchronously invokes the GetIdletime() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_idle_dbus_idle_monitor_call_get_idletime_finish()
to get the result of the operation.
phosh_idle_dbus_idle_monitor_call_get_idletime_finish
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_get_idletime().
phosh_idle_dbus_idle_monitor_call_get_idletime_sync
Synchronously invokes the GetIdletime() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
phosh_idle_dbus_idle_monitor_call_remove_watch
Asynchronously invokes the RemoveWatch() D-Bus method on proxy
.
When the operation is finished, callback
will be invoked in the thread-default main loop of the thread you are calling this method from (see g_main_context_push_thread_default()).
You can then call phosh_idle_dbus_idle_monitor_call_remove_watch_finish()
to get the result of the operation.
phosh_idle_dbus_idle_monitor_call_remove_watch_finish
Finishes an operation started with phosh_idle_dbus_idle_monitor_call_remove_watch().
phosh_idle_dbus_idle_monitor_call_remove_watch_sync
Synchronously invokes the RemoveWatch() D-Bus method on proxy
. The calling thread is blocked until a reply is received.
phosh_idle_dbus_idle_monitor_complete_add_idle_watch
Helper function used in service implementations to finish handling invocations of the AddIdleWatch() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
phosh_idle_dbus_idle_monitor_complete_add_user_active_watch
Helper function used in service implementations to finish handling invocations of the AddUserActiveWatch() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
phosh_idle_dbus_idle_monitor_complete_get_idletime
Helper function used in service implementations to finish handling invocations of the GetIdletime() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
phosh_idle_dbus_idle_monitor_complete_remove_watch
Helper function used in service implementations to finish handling invocations of the RemoveWatch() D-Bus method. If you instead want to finish handling an invocation by returning an error, use g_dbus_method_invocation_return_error()
or similar.
phosh_idle_dbus_idle_monitor_emit_watch_fired
Emits the “WatchFired” D-Bus signal.
Properties
Properties inherited from GDBusInterfaceSkeleton (1)
Gio.DBusInterfaceSkeleton:g-flags
Flags from the GDBusInterfaceSkeletonFlags
enumeration.
Signals
Signals inherited from GDBusInterfaceSkeleton (1)
GDBusInterfaceSkeleton::g-authorize-method
Emitted when a method is invoked by a remote caller and used to determine if the method call is authorized.
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Signals inherited from PhoshIdleDBusIdleMonitor (5)
PhoshIdleDBusIdleMonitor::handle-add-idle-watch
Signal emitted when a remote caller is invoking the AddIdleWatch() D-Bus method.
PhoshIdleDBusIdleMonitor::handle-add-user-active-watch
Signal emitted when a remote caller is invoking the AddUserActiveWatch() D-Bus method.
PhoshIdleDBusIdleMonitor::handle-get-idletime
Signal emitted when a remote caller is invoking the GetIdletime() D-Bus method.
PhoshIdleDBusIdleMonitor::handle-remove-watch
Signal emitted when a remote caller is invoking the RemoveWatch() D-Bus method.
PhoshIdleDBusIdleMonitor::watch-fired
On the client-side, this signal is emitted whenever the D-Bus signal “WatchFired” is received.