Part of twisted.names.dns View Source View In Hierarchy
Known subclasses: twisted.names.dns.DNSDatagramProtocol, twisted.names.dns.DNSProtocol
Method | __init__ | Undocumented |
Method | pickID | Return a unique ID for queries. |
Method | callLater | Wrapper around reactor.callLater, mainly for test purpose. |
Instance Variable | _reactor | A IReactorTime and IReactorUDP provider which
will be used to issue DNS queries and manage request timeouts. |
Method | _query | Send out a message with the given queries. |
Method | _clearFailed | Clean the Deferred after a timeout. |
IReactorTime
and IReactorUDP
provider which
will be used to issue DNS queries and manage request timeouts.
Parameters | queries | The queries to transmit (type: list of Query instances) |
timeout | How long to wait before giving up (type: int or float ) | |
id | Unique key for this request (type: int ) | |
writeMessage | One-parameter callback which writes the message (type: callable ) | |
Returns | a Deferred which will be fired with the result of the query,
or errbacked with any errors that could happen (exceptions during writing
of the query, timeout errors, ...). (type: Deferred ) |