pySharedObjects Code
Brought to you by:
purgo
File | Date | Author | Commit |
---|---|---|---|
utils | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
.gitignore | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
InstanceProxy.py | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
InstanceServer.py | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
README.rst | 2014-05-30 | Paul Tunison | [f92c2e] Renamed README extension to rst |
ServerHub.py | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
__init__.py | 2014-05-30 | Paul Tunison | [03a268] Initial commit |
Create a system where by an object, through some simple method, may be registered with the SharedObject system. After this registration, any initialization of an instance of the class instead creates a "proxy" object that is operable in the same way the class being proxied. This proxy object manages communication to and from the true instance of the initialized object which lived in a remote process relative to the location of proxy initialization.
When a class is based on the proxy-generating meta-class, the proxy class is registered with a centralized map of class-type -> proxy-type