Closed memetb closed 6 years ago
From your example it's not quite clear what is going on, you should be connecting REQ to REP, and their implementations are not symmetric cause there's additional routing info passed.
You're not supposed to override messageReceived
method, please take a look at the example code https://github.com/smira/txZMQ/blob/master/examples/req_rep.py
Oh, I see. Somehow I missed the addCallback
subtlety which is different than the other socket types.
Thanks for the quick reply.
When I call the following code:
I get the following output:
Comparing
ZmqREPConnection
's andZmqREQConnection
's implementations ofmessageReceived
methods here and here, I'm wondering if there isn't a missing step forZmqREQConnection
's processing of incoming messages.Perhaps I'm missing something obvious? This isn't exactly show stopper bug, but it does seems like an inconsistent API.