def make_service(self, my_args=None):
        """
        make a new service instance and handle it from driver
        :param my_args: dict like {service_q, treatment_callback [, service_name] }. Default : None
        :return: created service proxy
        """
        LOGGER.debug("natsd.Driver.make_service")
        if my_args is None:
            raise exceptions.ArianeConfError('service factory arguments')
        if not self.configuration_OK or self.connection_args is None:
            raise exceptions.ArianeConfError('NATS connection arguments')
        service = Service.start(my_args, self.connection_args).proxy()
        self.services_registry.append(service)
        return service
def make_service ( self , my_args = None ) : LOGGER . debug ( "natsd.Driver.make_service" ) if my_args is None : raise exceptions . ArianeConfError ( 'service factory arguments' ) if not self . configuration_OK or self . connection_args is None : raise exceptions . ArianeConfError ( 'NATS connection arguments' ) service = Service . start ( my_args , self . connection_args ) . proxy ( ) self . services_registry . append ( service ) return service
make a new service instance and handle it from driver
        :param my_args: dict like {service_q, treatment_callback [, service_name] }. Default : None
        :return: created service proxy