TelepathyGLib.SimpleClientFactoryClass

Fields

Name

Type

Access

Description

create_account

object

r

create a TelepathyGLib.Account; see TelepathyGLib.SimpleClientFactory.ensure_account()

create_channel

object

r

create a TelepathyGLib.Channel; see TelepathyGLib.SimpleClientFactory.ensure_channel()

create_connection

object

r

create a TelepathyGLib.Connection; see TelepathyGLib.SimpleClientFactory.ensure_connection()

create_contact

object

r

create a TelepathyGLib.Contact; see TelepathyGLib.SimpleClientFactory.ensure_contact()

dup_account_features

object

r

implementation of TelepathyGLib.SimpleClientFactory.dup_account_features()

dup_channel_features

object

r

implementation of TelepathyGLib.SimpleClientFactory.dup_channel_features()

dup_connection_features

object

r

implementation of TelepathyGLib.SimpleClientFactory.dup_connection_features()

dup_contact_features

object

r

implementation of TelepathyGLib.SimpleClientFactory.dup_contact_features()

padding

[GObject.Callback]

r

parent_class

GObject.ObjectClass

r

the parent

Methods

None

Details

class TelepathyGLib.SimpleClientFactoryClass

The class structure for TelepathyGLib.SimpleClientFactory.

TelepathyGLib.SimpleClientFactory maintains a cache of previously-constructed proxy objects, so the implementations of create_account, create_connection, create_channel, and create_contact may assume that a new object should be created when they are called. The default implementations create unadorned instances of the relevant classes; subclasses of the factory may choose to create more interesting proxy subclasses.

The default implementation of dup_channel_features returns #TP_CHANNEL_FEATURE_CORE, plus all features passed to TelepathyGLib.SimpleClientFactory.add_channel_features() by the application. Subclasses may override this method to prepare more interesting features from subclasses of TelepathyGLib.Channel, for instance. The default implementations of the other dup_x_features methods behave similarly.

New in version 0.15.5.