telepathy-glib API Reference Manual | ||||
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
Synopsis
#include <telepathy-glib/telepathy-glib.h> TpDebugMessage; struct TpDebugMessageClass; void tp_debug_client_get_messages_async (TpDebugClient *self
,GAsyncReadyCallback callback
,gpointer user_data
); GPtrArray * tp_debug_client_get_messages_finish (TpDebugClient *self
,GAsyncResult *result
,GError **error
); const gchar * tp_debug_message_get_domain (TpDebugMessage *self
); const gchar * tp_debug_message_get_category (TpDebugMessage *self
); GLogLevelFlags tp_debug_message_get_level (TpDebugMessage *self
); const gchar * tp_debug_message_get_message (TpDebugMessage *self
); GDateTime * tp_debug_message_get_time (TpDebugMessage *self
);
Properties
"category" gchar* : Read "domain" gchar* : Read "level" guint : Read "message" gchar* : Read "time" GDateTime* : Read
Description
TpDebugMessage is a small object used to represent a debug message receive from a Telepathy component using TpDebugClient.
See also: TpDebugClient
Details
TpDebugMessage
typedef struct _TpDebugMessage TpDebugMessage;
Data structure representing a TpDebugMessage.
Since 0.19.0
struct TpDebugMessageClass
struct TpDebugMessageClass { };
The class of a TpDebugMessage.
Since 0.19.0
tp_debug_client_get_messages_async ()
void tp_debug_client_get_messages_async (TpDebugClient *self
,GAsyncReadyCallback callback
,gpointer user_data
);
Retrieve buffered messages from self
. Once callback
is called,
use tp_debug_client_get_messages_finish()
to retrieve the TpDebugMessage
objects.
|
a TpDebugClient |
|
callback to call when the messages have been retrieved |
|
data to pass to callback
|
Since 0.19.0
tp_debug_client_get_messages_finish ()
GPtrArray * tp_debug_client_get_messages_finish (TpDebugClient *self
,GAsyncResult *result
,GError **error
);
Finishes tp_debug_client_set_enabled_async()
.
|
a TpDebugClient |
|
a GAsyncResult |
|
a GError to fill |
Returns : |
a GPtrArray of TpDebugMessage, free with g_ptr_array_unref() . [transfer container][type GLib.PtrArray][element-type TelepathyGLib.DebugMessage]
|
Since 0.19.0
tp_debug_message_get_domain ()
const gchar * tp_debug_message_get_domain (TpDebugMessage *self
);
Return the "domain" property
|
a TpDebugMessage |
Returns : |
the value of "domain" property |
Since 0.19.0
tp_debug_message_get_category ()
const gchar * tp_debug_message_get_category (TpDebugMessage *self
);
Return the "category" property
|
a TpDebugMessage |
Returns : |
the value of "category" property |
Since 0.19.0
tp_debug_message_get_level ()
GLogLevelFlags tp_debug_message_get_level (TpDebugMessage *self
);
Return the "level" property
|
a TpDebugMessage |
Returns : |
the value of "level" property |
Since 0.19.0
tp_debug_message_get_message ()
const gchar * tp_debug_message_get_message (TpDebugMessage *self
);
Return the "message" property
|
a TpDebugMessage |
Returns : |
the value of "message" property |
Since 0.19.0
tp_debug_message_get_time ()
GDateTime * tp_debug_message_get_time (TpDebugMessage *self
);
Return the "time" property
|
a TpDebugMessage |
Returns : |
the value of "time" property. [transfer none] |
Since 0.19.0
Property Details
The "category"
property
"category" gchar* : Read
Category of the debug message, or NULL
if none was specified.
Default value: NULL
Since 0.19.0
The "domain"
property
"domain" gchar* : Read
Domain of the debug message.
Default value: NULL
Since 0.19.0
The "level"
property
"level" guint : Read
A GLogLevelFlags representing the level of the debug message.
Allowed values: <= 4294967292
Default value: 0
Since 0.19.0
The "message"
property
"message" gchar* : Read
Text of the debug message, stripped from its trailing whitespaces.
Default value: NULL
Since 0.19.0