def __init__(self, endpoint):
        """Endpoint is an endpoint of a bidirectional multiprocessing.Pipe"""
        self._endpoint        = endpoint
        self._lock            = threading.Lock()
        self.__method_proxies = dict() # Cache of MethodProxy objects
        self.__proxy          = CallPipe_CallerProxy(self)
Endpoint is an endpoint of a bidirectional multiprocessing.Pipe
recipes/Python/576509_CallPipe_Call_methods_object_remote/recipe-576509.py