TelepathyGLib.SimpleClientFactoryClass

Fields

Name

Type

Access

Description

create_account

object

r

create_channel

object

r

create_connection

object

r

create_contact

object

r

dup_account_features

object

r

dup_channel_features

object

r

dup_connection_features

object

r

dup_contact_features

object

r

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.