TelepathyGLib.DebugClient¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
|---|---|---|---|
r |
Enabled |
Signals¶
- Inherited:
Name |
Short Description |
|---|---|
Emitted when a |
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.DebugClient(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A proxy object for the debug interface of a Telepathy component.
Added in version 0.19.0.
- classmethod init_known_interfaces()¶
Ensure that the known interfaces for
TelepathyGLib.DebugClienthave been set up. This is done automatically when necessary, but for correct overriding of library interfaces by local extensions, you should call this function before calling tp_proxy_or_subclass_hook_on_interface_add() with first argument %TP_TYPE_DEBUG_CLIENT.Added in version 0.19.0.
- classmethod new(dbus, unique_name)¶
- Parameters:
dbus (
TelepathyGLib.DBusDaemon) – a D-Bus daemon; may not beNoneunique_name (
str) – the unique name of the process to be debugged; may not beNoneor a well-known name
- Raises:
- Returns:
a new debug client proxy, or
Noneon invalid arguments- Return type:
Added in version 0.19.0.
- get_messages_async(callback, *user_data)¶
- Parameters:
callback (
Gio.AsyncReadyCallbackorNone) – callback to call when the messages have been retrieved
Retrieve buffered messages from self. Once callback is called, use
TelepathyGLib.DebugClient.get_messages_finish() to retrieve theTelepathyGLib.DebugMessageobjects.Added in version 0.19.0.
- get_messages_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – aGio.AsyncResult- Raises:
- Returns:
a
GLib.PtrArrayofTelepathyGLib.DebugMessage, free with g_ptr_array_unref()- Return type:
Finishes
TelepathyGLib.DebugClient.set_enabled_async().Added in version 0.19.0.
- is_enabled()¶
- Returns:
the value of
TelepathyGLib.DebugClient:enabledproperty- Return type:
Return the
TelepathyGLib.DebugClient:enabledpropertyAdded in version 0.19.0.
- set_enabled_async(enabled, callback, *user_data)¶
- Parameters:
Enable or disable publishing of debug messages on the bus by the component owning self's bus name.
Added in version 0.19.0.
- set_enabled_finish(result)¶
- Parameters:
result (
Gio.AsyncResult) – aGio.AsyncResult- Raises:
- Returns:
- Return type:
Finishes
TelepathyGLib.DebugClient.set_enabled_async().Added in version 0.19.0.
Signal Details¶
- TelepathyGLib.DebugClient.signals.new_debug_message(debug_client, message)¶
- Signal Name:
new-debug-message- Flags:
- Parameters:
debug_client (
TelepathyGLib.DebugClient) – The object which received the signalmessage (
TelepathyGLib.DebugMessage) – aTelepathyGLib.DebugMessage
Emitted when a
TelepathyGLib.DebugMessageis generated if theTelepathyGLib.DebugMessage:enabledproperty is set toTrue.Added in version 0.19.0.