Esempio n. 1
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for engine.

        :param rpc_conf_dict: Dict containing RPC configuration.
        """
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Esempio n. 2
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for the Executor."""

        self.topic = cfg.CONF.executor.topic
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Esempio n. 3
0
 def __init__(self, rpc_conf_dict):
     """Constructs an RPC client for the EventEngine service."""
     self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Esempio n. 4
0
 def __init__(self, rpc_conf_dict):
     """Constructs an RPC client for the Notifier service."""
     self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Esempio n. 5
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for the Executor."""

        self.topic = cfg.CONF.executor.topic
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
Esempio n. 6
0
    def __init__(self, rpc_conf_dict):
        """Constructs an RPC client for engine.

        :param rpc_conf_dict: Dict containing RPC configuration.
        """
        self._client = base.get_rpc_client_driver()(rpc_conf_dict)
 def __init__(self):
     self.topic = cfg.CONF.notifier.topic
     self._client = rpc_base.get_rpc_client_driver()(cfg.CONF.notifier)
Esempio n. 8
0
 def __init__(self):
     self.topic = cfg.CONF.executor.topic
     self._client = rpc_base.get_rpc_client_driver()(cfg.CONF.executor)