コード例 #1
0
ファイル: amqpdriver.py プロジェクト: ox123/oslo.messaging
 def _get_connection(self, purpose=rpc_common.PURPOSE_SEND):
     return rpc_common.ConnectionContext(self._connection_pool,
                                         purpose=purpose)
コード例 #2
0
 def _get_connection(self, purpose):
     return driver_common.ConnectionContext(self.connection_pool, purpose)