class DNSDatagramProtocol(DNSMixin, protocol.DatagramProtocol): (source)
| Method | datagramReceived |
Read a datagram, extract the message in it and trigger the associated Deferred. |
| Method | query |
Send out a message with the given queries. |
| Method | removeResend |
Mark message ID as no longer having duplication suppression. |
| Method | startListening |
Undocumented |
| Method | startProtocol |
Upon start, reset internal state. |
| Method | stopProtocol |
Stop protocol: reset state variables. |
| Method | writeMessage |
Send a message holding DNS queries. |
| Instance Variable | liveMessages |
Undocumented |
| Instance Variable | resends |
Undocumented |
| Instance Variable | transport |
Undocumented |
Inherited from DNSMixin:
| Method | __init__ |
Undocumented |
| Method | callLater |
Wrapper around reactor.callLater, mainly for test purpose. |
| Method | pickID |
Return a unique ID for queries. |
| Instance Variable | controller |
Undocumented |
| Instance Variable | id |
Undocumented |
| Method | _clearFailed |
Clean the Deferred after a timeout. |
| Method | _query |
Send out a message with the given queries. |
| Instance Variable | _reactor |
A IReactorTime and IReactorUDP provider which will be used to issue DNS queries and manage request timeouts. |