![]() |
![]() |
![]() |
telepathy-logger Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
TplEvent; TplEventClass; TplEventPriv; gint64 tpl_event_get_timestamp (TplEvent *self
); const gchar * tpl_event_get_account_path (TplEvent *self
); TpAccount * tpl_event_get_account (TplEvent *self
); TplEntity * tpl_event_get_sender (TplEvent *self
); TplEntity * tpl_event_get_receiver (TplEvent *self
); gboolean tpl_event_equal (TplEvent *self
,TplEvent *data
);
"account" TpAccount* : Read / Write / Construct Only "account-path" gchar* : Read "channel-path" gchar* : Read / Write / Construct Only "receiver" TplEntity* : Read / Write / Construct Only "sender" TplEntity* : Read / Write / Construct Only "timestamp" gint64 : Read / Write / Construct Only
The TPLogger log event represents a generic log event, which will be specialized by subclasses of TplEvent.
gint64 tpl_event_get_timestamp (TplEvent *self
);
|
a TplEvent |
Returns : |
the same timestamp as the "timestamp" property |
const gchar * tpl_event_get_account_path (TplEvent *self
);
|
|
Returns : |
TpAccount * tpl_event_get_account (TplEvent *self
);
|
a TplEvent |
Returns : |
the same account as the "account" property. [transfer none] |
TplEntity * tpl_event_get_sender (TplEvent *self
);
|
a TplEvent |
Returns : |
the same TplEntity as the "sender" property. [transfer none] |
TplEntity * tpl_event_get_receiver (TplEvent *self
);
|
a TplEvent |
Returns : |
the same TplEntity as the "receiver" property. [transfer none] |
gboolean tpl_event_equal (TplEvent *self
,TplEvent *data
);
Checks if two instances of TplEvent represent the same data
|
TplEvent subclass instance |
|
an instance of the same TplEvent subclass of self
|
Returns : |
TRUE if data is the same type of self and they hold the same
data, FALSE otherwise
|
"account"
property"account" TpAccount* : Read / Write / Construct Only
The TpAccount to which the log event is related.
"account-path"
property "account-path" gchar* : Read
The account path of the TpAccount to which the log event is related.
Default value: NULL
"channel-path"
property "channel-path" gchar* : Read / Write / Construct Only
The channel path of the TpChannel to which the log event is related.
Default value: NULL
"receiver"
property"receiver" TplEntity* : Read / Write / Construct Only
TplEntity instance destination for the log event (may be NULL with some log stores).
"sender"
property"sender" TplEntity* : Read / Write / Construct Only
TplEntity instance who originated the log event.