@Override
    public <T> T createLocalProxy(final Class<T> serviceInterface, final String myService) {


        final Consumer<MethodCall<Object>> callConsumer = this.serviceMapping.get(myService);

        if (callConsumer == null) {
            logger.error("Service requested does not exist " + myService);
        }

        return factory.createLocalProxy(serviceInterface, myService, this, beforeMethodSent);

    }
@Override
    public <T> T createLocalProxy(final Class<T> serviceInterface, final String myService) {


        final Consumer<MethodCall<Object>> callConsumer = this.serviceMapping.get(myService);

        if (callConsumer == null) {
            logger.error("Service requested does not exist " + myService);
        }

        return factory.createLocalProxy(serviceInterface, myService, this, beforeMethodSent);

    }
@ Override public < T > T createLocalProxy ( final Class < T > serviceInterface , final String myService ) { final Consumer < MethodCall < Object > > callConsumer = this . serviceMapping . get ( myService ) ; if ( callConsumer == null ) { logger . error ( "Service requested does not exist " + myService ) ; } return factory . createLocalProxy ( serviceInterface , myService , this , beforeMethodSent ) ; }
Creates a proxy interface to a particular client. Given a particular address.

@param serviceInterface client view interface of client
@param myService        address or name of client
@param <T>              type of client
@return proxy client to client
Creates a proxy interface to a particular client . Given a particular address .