EBackend.BackendFactory¶
| Subclasses: | EBackend.CollectionBackendFactory | 
|---|
Methods¶
| Inherited: | EDataServer.Extension (1), GObject.Object (37) | 
|---|---|
| Structs: | GObject.ObjectClass (5) | 
| get_hash_key() | |
| get_module_filename() | |
| new_backend(source) | |
| share_subprocess() | 
Properties¶
| Inherited: | EDataServer.Extension (1) | 
|---|
Signals¶
| Inherited: | GObject.Object (1) | 
|---|
Class Details¶
- 
class EBackend.BackendFactory(**kwargs)¶
- Bases: - EDataServer.Extension- Abstract: - Yes - Structure: - EBackend.BackendFactoryClass- Contains only private data that should be read and manipulated using the functions below. - New in version 3.4. - 
get_hash_key()¶
- Returns: - a hash key which uniquely identifies self - Return type: - str- Returns a hash key which uniquely identifies self. - Since only one instance of each - EBackend.BackendFactorysubclass is ever created, the hash key need only be unique among subclasses, not among instances of each subclass.- New in version 3.4. 
 - 
get_module_filename()¶
- Returns: - the filename for the module associated to the self - Return type: - str- Returns the filename of the shared library for the module used to load the backends provided by self. - New in version 3.16. 
 - 
new_backend(source)¶
- Parameters: - source ( - EDataServer.Source) – an- EDataServer.Source- Returns: - a new - EBackend.Backendinstance for source- Return type: - EBackend.Backend- Returns a new - EBackend.Backendinstance for source.- New in version 3.4. 
 - Returns: - Trueif the self shares the subprocess for all its backends. Otherwise,- False.- Return type: - bool- Returns - Trueif the self wants to share the subprocess for all backends provided by itself. Otherwise, returns- False.- New in version 3.16. 
 - 
do_get_hash_key() virtual¶
- Returns: - a hash key which uniquely identifies factory - Return type: - str- Returns a hash key which uniquely identifies factory. - Since only one instance of each - EBackend.BackendFactorysubclass is ever created, the hash key need only be unique among subclasses, not among instances of each subclass.- New in version 3.4. 
 - 
do_new_backend(source) virtual¶
- Parameters: - source ( - EDataServer.Source) – an- EDataServer.Source- Returns: - a new - EBackend.Backendinstance for source- Return type: - EBackend.Backend- Returns a new - EBackend.Backendinstance for source.- New in version 3.4. 
 
-