Im looking at the common.py and I feel a bit confused about how to wrap a resolver. Would'nt a subclass achieve the same thing. I would only need to implement the changed functions in the subclass. I guess my problem is that I dont exactly know how to write a wrapper in python. Kind regards Tax 2009/10/23 <exarkun@twistedmatrix.com>
On 08:55 pm, jesper@taxboel.dk wrote:
I'm still new to the whole twisted way of doing things, but it sounds very sensible. :)
Could you suggest a class to start studying from ?
twisted/names/common.py is probably a good place to start. It has what comes closest to the definition of a Twisted Names "resolver".
Jean-Paul
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python