Beispiel #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)
Beispiel #2
0
Datei: odb.py Projekt: 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)
Beispiel #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)
Beispiel #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)