Class

PhoshSessionClientPrivateDBusClientPrivateProxy

since: 0

Description [src]

class Phosh.SessionClientPrivateDBusClientPrivateProxy : Gio.DBusProxy
  implements Gio.AsyncInitable, Gio.DBusInterface, Gio.Initable, Phosh.SessionClientPrivateDBusClientPrivate {
  /* No available fields */
}

The PhoshSessionClientPrivateDBusClientPrivateProxy structure contains only private data and should only be accessed using the provided API.

Available since: 0

Ancestors

Constructors

phosh_session_client_private_dbus_client_private_proxy_new_finish

Finishes an operation started with phosh_session_client_private_dbus_client_private_proxy_new().

since: 0

phosh_session_client_private_dbus_client_private_proxy_new_for_bus_finish

Finishes an operation started with phosh_session_client_private_dbus_client_private_proxy_new_for_bus().

since: 0

phosh_session_client_private_dbus_client_private_proxy_new_for_bus_sync

Like phosh_session_client_private_dbus_client_private_proxy_new_sync() but takes a GBusType instead of a GDBusConnection.

since: 0

phosh_session_client_private_dbus_client_private_proxy_new_sync

Synchronously creates a proxy for the D-Bus interface org.gnome.SessionManager.ClientPrivate. See g_dbus_proxy_new_sync() for more details.

since: 0

Functions

phosh_session_client_private_dbus_client_private_proxy_new

Asynchronously creates a proxy for the D-Bus interface org.gnome.SessionManager.ClientPrivate. See g_dbus_proxy_new() for more details.

since: 0

phosh_session_client_private_dbus_client_private_proxy_new_for_bus

Like phosh_session_client_private_dbus_client_private_proxy_new() but takes a GBusType instead of a GDBusConnection.

since: 0

Instance methods

Methods inherited from GDBusProxy (19)
g_dbus_proxy_call

Asynchronously invokes the method_name method on proxy.

unstable since: 2.26

g_dbus_proxy_call_finish

Finishes an operation started with g_dbus_proxy_call().

unstable since: 2.26

g_dbus_proxy_call_sync

Synchronously invokes the method_name method on proxy.

unstable since: 2.26

g_dbus_proxy_call_with_unix_fd_list

Like g_dbus_proxy_call() but also takes a GUnixFDList object.

unstable since: 2.30

g_dbus_proxy_call_with_unix_fd_list_finish

Finishes an operation started with g_dbus_proxy_call_with_unix_fd_list().

unstable since: 2.30

g_dbus_proxy_call_with_unix_fd_list_sync

Like g_dbus_proxy_call_sync() but also takes and returns GUnixFDList objects.

unstable since: 2.30

g_dbus_proxy_get_cached_property

Looks up the value for a property from the cache. This call does no blocking IO.

unstable since: 2.26

g_dbus_proxy_get_cached_property_names

Gets the names of all cached properties on proxy.

unstable since: 2.26

g_dbus_proxy_get_connection

Gets the connection proxy is for.

unstable since: 2.26

g_dbus_proxy_get_default_timeout

Gets the timeout to use if -1 (specifying default timeout) is passed as timeout_msec in the g_dbus_proxy_call() and g_dbus_proxy_call_sync() functions.

unstable since: 2.26

g_dbus_proxy_get_flags

Gets the flags that proxy was constructed with.

unstable since: 2.26

g_dbus_proxy_get_interface_info

Returns the GDBusInterfaceInfo, if any, specifying the interface that proxy conforms to. See the GDBusProxy:g-interface-info property for more details.

unstable since: 2.26

g_dbus_proxy_get_interface_name

Gets the D-Bus interface name proxy is for.

unstable since: 2.26

g_dbus_proxy_get_name

Gets the name that proxy was constructed for.

unstable since: 2.26

g_dbus_proxy_get_name_owner

The unique name that owns the name that proxy is for or NULL if no-one currently owns that name. You may connect to the GObject::notify signal to track changes to the GDBusProxy:g-name-owner property.

unstable since: 2.26

g_dbus_proxy_get_object_path

Gets the object path proxy is for.

unstable since: 2.26

g_dbus_proxy_set_cached_property

If value is not NULL, sets the cached value for the property with name property_name to the value in value.

unstable since: 2.26

g_dbus_proxy_set_default_timeout

Sets the timeout to use if -1 (specifying default timeout) is passed as timeout_msec in the g_dbus_proxy_call() and g_dbus_proxy_call_sync() functions.

unstable since: 2.26

g_dbus_proxy_set_interface_info

Ensure that interactions with proxy conform to the given interface. See the GDBusProxy:g-interface-info property for more details.

unstable since: 2.26

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Methods inherited from GAsyncInitable (3)
g_async_initable_init_async

Starts asynchronous initialization of the object implementing the interface. This must be done before any real use of the object after initial construction. If the object also implements GInitable you can optionally call g_initable_init() instead.

unstable since: 2.22

g_async_initable_init_finish

Finishes asynchronous initialization and returns the result. See g_async_initable_init_async().

unstable since: 2.22

g_async_initable_new_finish

Finishes the async construction for the various g_async_initable_new calls, returning the created object or NULL on error.

unstable since: 2.22

Methods inherited from GDBusInterface (4)
g_dbus_interface_dup_object

Gets the GDBusObject that interface_ belongs to, if any.

unstable since: 2.32

g_dbus_interface_get_info

Gets D-Bus introspection information for the D-Bus interface implemented by interface_.

unstable since: 2.30

g_dbus_interface_get_object

Gets the GDBusObject that interface_ belongs to, if any.

unstable since: 2.30

g_dbus_interface_set_object

Sets the GDBusObject for interface_ to object.

unstable since: 2.30

Methods inherited from GInitable (1)
g_initable_init

Initializes the object implementing the interface.

unstable since: 2.22

Methods inherited from PhoshSessionClientPrivateDBusClientPrivate (8)
phosh_session_client_private_dbus_client_private_call_end_session_response

Asynchronously invokes the EndSessionResponse() 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_session_client_private_dbus_client_private_call_end_session_response_finish() to get the result of the operation.

since: 0

phosh_session_client_private_dbus_client_private_call_end_session_response_finish

Finishes an operation started with phosh_session_client_private_dbus_client_private_call_end_session_response().

since: 0

phosh_session_client_private_dbus_client_private_call_end_session_response_sync

Synchronously invokes the EndSessionResponse() D-Bus method on proxy. The calling thread is blocked until a reply is received.

since: 0

phosh_session_client_private_dbus_client_private_complete_end_session_response

Helper function used in service implementations to finish handling invocations of the EndSessionResponse() 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.

since: 0

phosh_session_client_private_dbus_client_private_emit_cancel_end_session

Emits the CancelEndSession” D-Bus signal.

since: 0

phosh_session_client_private_dbus_client_private_emit_end_session

Emits the EndSession” D-Bus signal.

since: 0

phosh_session_client_private_dbus_client_private_emit_query_end_session

Emits the QueryEndSession” D-Bus signal.

since: 0

phosh_session_client_private_dbus_client_private_emit_stop

Emits the Stop” D-Bus signal.

since: 0

Properties

Properties inherited from GDBusProxy (9)
Gio.DBusProxy:g-bus-type

If this property is not G_BUS_TYPE_NONE, then GDBusProxy:g-connection must be NULL and will be set to the GDBusConnection obtained by calling g_bus_get() with the value of this property.

unstable since: 2.26

Gio.DBusProxy:g-connection

The GDBusConnection the proxy is for.

unstable since: 2.26

Gio.DBusProxy:g-default-timeout

The timeout to use if -1 (specifying default timeout) is passed as timeout_msec in the g_dbus_proxy_call() and g_dbus_proxy_call_sync() functions.

unstable since: 2.26

Gio.DBusProxy:g-flags

Flags from the GDBusProxyFlags enumeration.

unstable since: 2.26

Gio.DBusProxy:g-interface-info

Ensure that interactions with this proxy conform to the given interface. This is mainly to ensure that malformed data received from the other peer is ignored. The given GDBusInterfaceInfo is said to be the “expected interface”.

unstable since: 2.26

Gio.DBusProxy:g-interface-name

The D-Bus interface name the proxy is for.

unstable since: 2.26

Gio.DBusProxy:g-name

The well-known or unique name that the proxy is for.

unstable since: 2.26

Gio.DBusProxy:g-name-owner

The unique name that owns GDBusProxy:g-name or NULL if no-one currently owns that name. You may connect to GObject::notify signal to track changes to this property.

unstable since: 2.26

Gio.DBusProxy:g-object-path

The object path the proxy is for.

unstable since: 2.26

Signals

Signals inherited from GDBusProxy (2)
GDBusProxy::g-properties-changed

Emitted when one or more D-Bus properties on proxy changes. The local cache has already been updated when this signal fires. Note that both changed_properties and invalidated_properties are guaranteed to never be NULL (either may be empty though).

unstable since: 2.26

GDBusProxy::g-signal

Emitted when a signal from the remote object and interface that proxy is for, has been received.

unstable since: 2.26

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.

unstable since: 2.0

Signals inherited from PhoshSessionClientPrivateDBusClientPrivate (5)
PhoshSessionClientPrivateDBusClientPrivate::cancel-end-session

On the client-side, this signal is emitted whenever the D-Bus signal CancelEndSession” is received.

since: 0

PhoshSessionClientPrivateDBusClientPrivate::end-session

On the client-side, this signal is emitted whenever the D-Bus signal EndSession” is received.

since: 0

PhoshSessionClientPrivateDBusClientPrivate::handle-end-session-response

Signal emitted when a remote caller is invoking the EndSessionResponse() D-Bus method.

since: 0

PhoshSessionClientPrivateDBusClientPrivate::query-end-session

On the client-side, this signal is emitted whenever the D-Bus signal QueryEndSession” is received.

since: 0

PhoshSessionClientPrivateDBusClientPrivate::stop

On the client-side, this signal is emitted whenever the D-Bus signal Stop” is received.

since: 0

Class structure

struct PhoshSessionClientPrivateDBusClientPrivateProxyClass {
  GDBusProxyClass parent_class;
  
}

Class structure for PhoshSessionClientPrivateDBusClientPrivateProxy.

Class members
parent_class: GDBusProxyClass

The parent class.