Пример #1
0
 def get_channel_zmq(self, cluster_id, channel_id):
     """ Returns a particular ZMQ channel.
     """
     with closing(self.session()) as session:
         return query.channel_zmq(session, cluster_id, channel_id)
Пример #2
0
Файл: odb.py Проект: dsuch/zato
 def get_channel_zmq(self, cluster_id, channel_id):
     """ Returns a particular ZMQ channel.
     """
     return channel_zmq(self._session, cluster_id, channel_id)
Пример #3
0
 def get_channel_zmq(self, cluster_id, channel_id):
     """ Returns a particular ZMQ channel.
     """
     with closing(self.session()) as session:
         return query.channel_zmq(session, cluster_id, channel_id)
Пример #4
0
 def get_channel_zmq(self, cluster_id, channel_id):
     """ Returns a particular ZMQ channel.
     """
     return channel_zmq(self._session, cluster_id, channel_id)