TelepathyLogger.Event

g GObject.Object GObject.Object TelepathyLogger.Event TelepathyLogger.Event GObject.Object->TelepathyLogger.Event

Subclasses:

TelepathyLogger.CallEvent, TelepathyLogger.TextEvent

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

equal (data)

get_account ()

get_account_path ()

get_receiver ()

get_sender ()

get_timestamp ()

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

account

TelepathyGLib.Account

r/w/co

The TelepathyGLib.Account to which the log event is related

account-path

str

r

The account path of the TelepathyGLib.Account to which the log event is related

channel-path

str

r/w/co

The channel path of the TelepathyGLib.Channel to which the log event is related

receiver

TelepathyLogger.Entity

r/w/co

TelepathyLogger.Entity instance destination for the log event (may be None with some log stores)

sender

TelepathyLogger.Entity

r/w/co

TelepathyLogger.Entity instance who originated the log event

timestamp

int

r/w/co

The timestamp (gint64) for the log event

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class TelepathyLogger.Event(**kwargs)
Bases:

GObject.Object

Abstract:

Yes

Structure:

TelepathyLogger.EventClass

An object representing a generic log event.

equal(data)
Parameters:

data (TelepathyLogger.Event) – an instance of the same TelepathyLogger.Event subclass of self

Returns:

True if data is the same type of self and they hold the same data, False otherwise

Return type:

bool

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:

TelepathyGLib.Account

no more to say

get_account_path()
Returns:

the path as the TelepathyLogger.Event :account property

Return type:

str

no more to say

get_receiver()
Returns:

the same TelepathyLogger.Entity as the TelepathyLogger.Event :receiver property

Return type:

TelepathyLogger.Entity

get_sender()
Returns:

the same TelepathyLogger.Entity as the TelepathyLogger.Event :sender property

Return type:

TelepathyLogger.Entity

get_timestamp()
Returns:

the same timestamp as the TelepathyLogger.Event :timestamp property

Return type:

int

Property Details

TelepathyLogger.Event.props.account
Name:

account

Type:

TelepathyGLib.Account

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The TelepathyGLib.Account to which the log event is related

TelepathyLogger.Event.props.account_path
Name:

account-path

Type:

str

Default Value:

None

Flags:

READABLE

The account path of the TelepathyGLib.Account to which the log event is related

TelepathyLogger.Event.props.channel_path
Name:

channel-path

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The channel path of the TelepathyGLib.Channel to which the log event is related

TelepathyLogger.Event.props.receiver
Name:

receiver

Type:

TelepathyLogger.Entity

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

TelepathyLogger.Entity instance destination for the log event (may be None with some log stores)

TelepathyLogger.Event.props.sender
Name:

sender

Type:

TelepathyLogger.Entity

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

TelepathyLogger.Entity instance who originated the log event

TelepathyLogger.Event.props.timestamp
Name:

timestamp

Type:

int

Default Value:

0

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The timestamp (gint64) for the log event