s-kostyuk / everpl

The Everthing Platfrom source code
https://everpl.readthedocs.io/
MIT License
0 stars 1 forks source link

[BREAKING] Moved PlatformManager and related modules to 'platforms' package #6

Closed s-kostyuk closed 7 years ago

s-kostyuk commented 7 years ago

Such classes as ConnectionFactory, ThingFactory, ConnectionRegistry and ConnectionFactory are related more to Platforms than to Connections and Things correspondingly. Each platform provides its own Things, Connections and Factories, derived from the base classes and registers them in Registries.

Factories and Registries are support classes for PlatformManager which allow to select and create instances of platform-specific implementations of Connections and Things bases on proveded configuration.