Interface

PhoshSessionClientPrivateDBusClientPrivate

since: 0

Description [src]

interface Phosh.SessionClientPrivateDBusClientPrivate : GObject.Object

Abstract interface type for the D-Bus interface org.gnome.SessionManager.ClientPrivate.

Available since: 0

Prerequisite

In order to implement SessionClientPrivateDBusClientPrivate, your type must inherit fromGObject.

Functions

phosh_session_client_private_dbus_client_private_interface_info

Gets a machine-readable description of the org.gnome.SessionManager.ClientPrivate D-Bus interface.

since: 0

phosh_session_client_private_dbus_client_private_override_properties

Overrides all GObject properties in the PhoshSessionClientPrivateDBusClientPrivate interface for a concrete class. The properties are overridden in the order they are defined.

since: 0

Instance methods

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

Signals

Phosh.SessionClientPrivateDBusClientPrivate::cancel-end-session

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

since: 0

Phosh.SessionClientPrivateDBusClientPrivate::end-session

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

since: 0

Phosh.SessionClientPrivateDBusClientPrivate::handle-end-session-response

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

since: 0

Phosh.SessionClientPrivateDBusClientPrivate::query-end-session

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

since: 0

Phosh.SessionClientPrivateDBusClientPrivate::stop

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

since: 0

Interface structure

struct PhoshSessionClientPrivateDBusClientPrivateIface {
  GTypeInterface parent_iface;
  gboolean (* handle_end_session_response) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    GDBusMethodInvocation* invocation,
    gboolean arg_is_ok,
    const gchar* arg_reason
  );
  void (* cancel_end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object
  );
  void (* end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    guint arg_flags
  );
  void (* query_end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    guint arg_flags
  );
  void (* stop) (
    PhoshSessionClientPrivateDBusClientPrivate* object
  );
  
}

Virtual table for the D-Bus interface org.gnome.SessionManager.ClientPrivate.

Interface members
parent_iface
GTypeInterface
 

The parent interface.

handle_end_session_response
gboolean (* handle_end_session_response) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    GDBusMethodInvocation* invocation,
    gboolean arg_is_ok,
    const gchar* arg_reason
  )
 No description available.
cancel_end_session
void (* cancel_end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object
  )
 No description available.
end_session
void (* end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    guint arg_flags
  )
 No description available.
query_end_session
void (* query_end_session) (
    PhoshSessionClientPrivateDBusClientPrivate* object,
    guint arg_flags
  )
 No description available.
stop
void (* stop) (
    PhoshSessionClientPrivateDBusClientPrivate* object
  )
 No description available.