Part of twisted.names.dns View Source View In Hierarchy
Method | __init__ | Undocumented |
Method | pickID | Undocumented |
Method | stopProtocol | Called when the transport is disconnected. |
Method | startProtocol | Called when a transport is connected to this protocol. |
Method | writeMessage | Undocumented |
Method | startListening | Undocumented |
Method | datagramReceived | Called when a datagram is received. |
Method | removeResend | Mark message ID as no longer having duplication suppression. |
Method | query | Send out a message with the given queries. |
Method | _clearFailed | Undocumented |
Inherited from DatagramProtocol:
Method | connectionRefused | Called due to error from write in connected mode. |
Inherited from AbstractDatagramProtocol (via DatagramProtocol):
Method | __getstate__ | Undocumented |
Method | doStart | Make sure startProtocol is called. |
Method | doStop | Make sure stopProtocol is called. |
Method | makeConnection | Make a connection to a transport and a server. |
Called when the transport is disconnected.
Will only be called once, after all ports are disconnected.Called when a transport is connected to this protocol.
Will only be called once, even if multiple ports are connected.Parameters | datagram | the string received from the transport. |
addr | tuple of source of datagram. |
Parameters | address | The address to which to send the query
(type: tuple of str and int
) |
queries | The queries to transmit
(type: list of Query instances
) | |
Returns | (type: Deferred
) |