[Twisted-Python] Handeling unresolved DNS queries?

Jesper Taxbøl jesper at taxboel.dk
Sat Oct 24 14:04:25 MDT 2009


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 at twistedmatrix.com>

> On 08:55 pm, jesper at 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 at twistedmatrix.com
> http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/twisted-python/attachments/20091024/d312cbbc/attachment.html>


More information about the Twisted-Python mailing list