Пример #1
0
 def get_out_zmq(self, cluster_id, out_id):
     """ Returns an outgoing ZMQ connection's details.
     """
     with closing(self.session()) as session:
         return query.out_zmq(session, cluster_id, out_id)
Пример #2
0
Файл: odb.py Проект: dsuch/zato
 def get_out_zmq(self, cluster_id, out_id):
     """ Returns an outgoing ZMQ connection's details.
     """
     return out_zmq(self._session, cluster_id, out_id)
Пример #3
0
 def get_out_zmq(self, cluster_id, out_id):
     """ Returns an outgoing ZMQ connection's details.
     """
     with closing(self.session()) as session:
         return query.out_zmq(session, cluster_id, out_id)
Пример #4
0
 def get_out_zmq(self, cluster_id, out_id):
     """ Returns an outgoing ZMQ connection's details.
     """
     return out_zmq(self._session, cluster_id, out_id)