oslo.messaging/oslo/messaging/_drivers
Victor Stinner 7fe2ef7334 Add an optional timeout parameter to Listener.poll
For asynchronous programming, a timeout parameter is required on the listener
to allow to stop it at exit. poll() returns None on timeout.

It plan to use it in my new asyncio (Trollius) executor:
https://review.openstack.org/#/c/70983/

See also the related blueprint for the rationale:
https://wiki.openstack.org/wiki/Oslo/blueprints/asyncio

Change-Id: I918ae3c267743a0eaed1d6a210c79fb4a0eb8733
2014-06-13 10:20:39 +02:00
..
__init__.py Remove copyright from empty files 2014-01-04 10:33:58 +08:00
amqp.py Remove amqp default exchange hack 2014-05-28 14:12:30 +02:00
amqpdriver.py Add an optional timeout parameter to Listener.poll 2014-06-13 10:20:39 +02:00
base.py Add an optional timeout parameter to Listener.poll 2014-06-13 10:20:39 +02:00
common.py Removes unused config option 2014-06-11 11:13:09 +02:00
impl_fake.py Add an optional timeout parameter to Listener.poll 2014-06-13 10:20:39 +02:00
impl_qpid.py Remove amqp default exchange hack 2014-05-28 14:12:30 +02:00
impl_rabbit.py Remove amqp default exchange hack 2014-05-28 14:12:30 +02:00
impl_zmq.py Add an optional timeout parameter to Listener.poll 2014-06-13 10:20:39 +02:00
matchmaker.py Remove vim header 2014-03-18 05:51:12 +00:00
matchmaker_redis.py remove default=None for config options 2014-05-28 09:08:51 +02:00
matchmaker_ring.py Remove vim header 2014-03-18 05:51:12 +00:00
pool.py Apply six for metaclass 2013-10-14 14:10:31 -04:00