Exemplo n.º 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)
Exemplo n.º 2
0
Arquivo: odb.py Projeto: 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)
Exemplo n.º 3
0
Arquivo: odb.py Projeto: bboerner/zato
 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)
Exemplo n.º 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)