"Brian Jones" <bkjo...@gmail.com> wrote
My app launches threads that each consume messages from a queue, send
them
to a processor object, and then the processor needs to return the message
to
the main thread -- if the processing was successful -- and then the main
thread puts the message into a different queue.
Why don't the messages munge and process themselves?
What is the purpose of the processor and munger classes?
Aren't they just functions and therefore should e metjods of
the thing upon which they operate - ie Message?
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor