pyrolab.configure#
Configuration Settings#
Default configuration settings for PyroLab and methods for persisting configurations between settings or using YAML files.
Server Configuration#
Note the difference between the two servertypes:
Threaded server
Every proxy on a client that connects to the daemon will be assigned to a thread to handle the remote method calls. This way multiple calls can potentially be processed concurrently. This means your Pyro object may have to be made thread-safe!
Multiplexed server
This server uses a connection multiplexer to process all remote method calls sequentially. No threads are used in this server. It means only one method call is running at a time, so if it takes a while to complete, all other calls are waiting for their turn (even when they are from different proxies).
Functions
|
Exports the current configuration to a file. |
Resets the configuration to the default. |
|
|
Returns a new class with a unique name that inherits from the original. |
|
Updates the internal configuration file with a user configuration file. |
Classes
|
|
|
Server configuration object. |
A Singleton global configuration object that can read and write configuration files. |
|
|
The NameServer Settings class. |
Mixin for pydantic models, updates fields that are Pyro5 configuration options. |
|
|
Global configuration options for PyroLab. |
|
Groups together information about a PyroLab service. |
|
A loader specific for PyroLab configuration files. |