TelepathyGLib.SimpleClientFactoryClass¶
Fields¶
Name  | 
Type  | 
Access  | 
Description  | 
|---|---|---|---|
create_account  | 
r  | 
create a   | 
|
create_channel  | 
r  | 
create a   | 
|
create_connection  | 
r  | 
create a   | 
|
create_contact  | 
r  | 
create a   | 
|
dup_account_features  | 
r  | 
implementation of   | 
|
dup_channel_features  | 
r  | 
implementation of   | 
|
dup_connection_features  | 
r  | 
implementation of   | 
|
dup_contact_features  | 
r  | 
implementation of   | 
|
padding  | 
r  | 
||
parent_class  | 
r  | 
the parent  | 
Methods¶
None
Details¶
- class TelepathyGLib.SimpleClientFactoryClass¶
 The class structure for
TelepathyGLib.SimpleClientFactory.TelepathyGLib.SimpleClientFactorymaintains 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 ofTelepathyGLib.Channel, for instance. The default implementations of the other dup_x_features methods behave similarly.New in version 0.15.5.