On 24 Apr, 11:45 pm, clayton.da...@gmail.com wrote:
I have a modular application that communicates over RPC connections
(with
both sync and async server/clients available). I want to migrate some
of
the modules over to Twisted. Currently, all modules inherit important
utility functions from a parent class. On paper, I now need two
versions
of this parent class (synchronous & asynchronous) to be inherited by
modules of the respective types.
You might find that replacing the subclassing with composition helps
simplify the code re-use problem.
You may also be interested in https://github.com/radix/synchronous-
deferred
Jean-Paul
_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python