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.Eventsubclass of self- Returns:
Trueif data is the same type of self and they hold the same data,Falseotherwise- Return type:
Checks if two instances of
TelepathyLogger.Eventrepresent the same data
- get_account()¶
- Returns:
the same account as the
TelepathyLogger.Event:accountproperty- Return type:
no more to say
- get_account_path()¶
- Returns:
the path as the
TelepathyLogger.Event:accountproperty- Return type:
no more to say
- get_receiver()¶
- Returns:
the same
TelepathyLogger.Entityas theTelepathyLogger.Event:receiverproperty- Return type:
- get_sender()¶
- Returns:
the same
TelepathyLogger.Entityas theTelepathyLogger.Event:senderproperty- Return type:
- get_timestamp()¶
- Returns:
the same timestamp as the
TelepathyLogger.Event:timestampproperty- Return type:
Property Details¶
- TelepathyLogger.Event.props.account¶
- Name:
account- Type:
- Default Value:
- Flags:
The
TelepathyGLib.Accountto which the log event is related
- TelepathyLogger.Event.props.account_path¶
-
The account path of the
TelepathyGLib.Accountto which the log event is related
- TelepathyLogger.Event.props.channel_path¶
- Name:
channel-path- Type:
- Default Value:
- Flags:
The channel path of the
TelepathyGLib.Channelto which the log event is related
- TelepathyLogger.Event.props.receiver¶
- Name:
receiver- Type:
- Default Value:
- Flags:
TelepathyLogger.Entityinstance destination for the log event (may beNonewith some log stores)
- TelepathyLogger.Event.props.sender¶
- Name:
sender- Type:
- Default Value:
- Flags:
TelepathyLogger.Entityinstance who originated the log event
- TelepathyLogger.Event.props.timestamp¶
- Name:
timestamp- Type:
- Default Value:
0- Flags:
The timestamp (gint64) for the log event