Eidolon
|
Inherits object.
Public Member Functions | |
def | __init__ (self) |
def | getProxy (self, obj) |
def | __enter__ (self) |
def | __exit__ (self, exc_type, exc_value, tb) |
def | stop (self) |
def | reset (self) |
def | runProxy (self, obj, proxy) |
Public Attributes | |
objmap | |
doRun | |
threads | |
ObjectServer creates picklable proxies for given objects and instantiates threads to operate the proxies' interactions. This allows objects to be proxied to separate processes which can call these objects' methods and interact with them using other picklable objects. Proxies must not be shared by processes and it is the proxied object's responsibility to ensure concurrent safety. This class uses DynamicProxy and MethodProxy to implement this behaviour.
def __init__ | ( | self | ) |
def __enter__ | ( | self | ) |
def __exit__ | ( | self, | |
exc_type, | |||
exc_value, | |||
tb | |||
) |
def getProxy | ( | self, | |
obj | |||
) |
def reset | ( | self | ) |
def runProxy | ( | self, | |
obj, | |||
proxy | |||
) |
def stop | ( | self | ) |
doRun |
objmap |
threads |