summaryrefslogtreecommitdiffstats
path: root/openstack/common/rpc/service.py
Commit message (Collapse)AuthorAgeFilesLines
* Enable hacking H403 testSergey Lukjanov2013-05-301-1/+2
| | | | | | H403 multi line docstring end on new line Change-Id: I33249651026b54ef346214965e909835288bb14e
* Added initialize_service_hook for rpc.Service.Lianhao Lu2012-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | This fixes the collector part of the bug 1075463. Declaring a consumer topic on the same rpc connection after the consume thread has started would result the eventlet raise RuntimeError exception. So all the declaring work should be done before calling rpc.conn.consume_in_thread(). If the manager of a rpc.Service wants to declare topic consumers other than the default ones created by rpc.Service.start(), it could define the following hook in the manager class: def initialize_service_hook(self, service): # # Do initialization work after rpc connection is created and before # starting consuming thread. # Params: # service: handle to the rpc.Service instance. Change-Id: I80001c32ee4e51e394fed827c91ad5e1eb0f94dc
* Fix missing import of `rpc.dispatcher` in `rpc.service`Kiall Mac Innes2012-10-021-4/+5
| | | | Change-Id: I7bdd5fbff1addef4a855aa72f3551930630299f5
* Add the rpc service and delete managerAngus Salkeld2012-09-261-0/+69
Part of blueprint service-infrastructure Change-Id: Ie00efcb1c974d699ac6b2a38285abef1b295f3ce