def _create_delegate ( self, h, name ):

        def delegate ( *args, **kw ):
            method = getattr( h, name )
            return method( *args, **kw )

        return delegate
Called by the rpc protocol whenever it loses a connection.
dataset/ETHPy150Open enthought/traitsui/traitsui/delegating_handler.py/DelegatingHandler._create_delegate--crossover with--dataset/ETHPy150Open bfrog/whizzer/whizzer/rpc/picklerpc.py/PickleProtocolFactory.lost_connection