TelepathyLogger.Event¶
- Subclasses:
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
r |
The account path of the |
||
r/w/co |
The channel path of the |
||
r/w/co |
|
||
r/w/co |
|
||
r/w/co |
The timestamp (gint64) for the log event |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class TelepathyLogger.Event(**kwargs)¶
- Bases:
- Abstract:
Yes
- Structure:
An object representing a generic log event.
- equal(data)¶
- Parameters:
data (
TelepathyLogger.Event
) – an instance of the sameTelepathyLogger.Event
subclass of self- Returns:
True
if data is the same type of self and they hold the same data,False
otherwise- Return type:
Checks if two instances of
TelepathyLogger.Event
represent the same data
- get_account()¶
- Returns:
the same account as the
TelepathyLogger.Event
:account
property- Return type:
no more to say
- get_account_path()¶
- Returns:
the path as the
TelepathyLogger.Event
:account
property- Return type:
no more to say
- get_receiver()¶
- Returns:
the same
TelepathyLogger.Entity
as theTelepathyLogger.Event
:receiver
property- Return type:
- get_sender()¶
- Returns:
the same
TelepathyLogger.Entity
as theTelepathyLogger.Event
:sender
property- Return type:
- get_timestamp()¶
- Returns:
the same timestamp as the
TelepathyLogger.Event
:timestamp
property- Return type:
Property Details¶
- TelepathyLogger.Event.props.account¶
- Name:
account
- Type:
- Default Value:
- Flags:
The
TelepathyGLib.Account
to which the log event is related
- TelepathyLogger.Event.props.account_path¶
-
The account path of the
TelepathyGLib.Account
to which the log event is related
- TelepathyLogger.Event.props.channel_path¶
- Name:
channel-path
- Type:
- Default Value:
- Flags:
The channel path of the
TelepathyGLib.Channel
to which the log event is related
- TelepathyLogger.Event.props.receiver¶
- Name:
receiver
- Type:
- Default Value:
- Flags:
TelepathyLogger.Entity
instance destination for the log event (may beNone
with some log stores)
- TelepathyLogger.Event.props.sender¶
- Name:
sender
- Type:
- Default Value:
- Flags:
TelepathyLogger.Entity
instance who originated the log event
- TelepathyLogger.Event.props.timestamp¶
- Name:
timestamp
- Type:
- Default Value:
0
- Flags:
The timestamp (gint64) for the log event