summaryrefslogtreecommitdiff
path: root/src/leap/common/events/client.py
AgeCommit message (Collapse)Author
2015-05-28[bug] use dict keys to iterateVictor Shyba
We ran into a RuntimeError yesterday on this line, the callback can modify this dict and make the iteration raise an error. Using keys method to iterate is safer. See http://stackoverflow.com/questions/11941817/python-runtimeerror-dictionary-changed-size-during-iteration-how-to-avoid-th/11941855#11941855
2015-05-27[feat] refactor events to use ZMQdrebs
Before this commit, protobuf and protobuf.socketrpc were used to serialize and transmit messages between events clients. This change implements a simpler ZMQ client/server events mechanism that uses ZMQ sockets for transmitting messages from clients to server and to redistribute such messages to subscribed clients. Closes: #6359
2013-09-03change verbosity level in loggingKali Kaneko
2013-09-03cosmetic changes to importsKali Kaneko
2013-09-03Fix Exception useKali Kaneko
2013-07-25Fix events doc about reqcbk signature. Closes #3261drebs
2013-07-24Add doc and tests about events sync/async behaviour.drebs
* Also fix docstrings identation so sphynx doesn't complain.
2013-07-24Trying to init events server raises when given port is not free.drebs
* Also fix and improve some tests.
2013-07-24Refactor events so components become clients.drebs