Part of twisted.names.server View Source View In Hierarchy
DNSProtocol
connections. This class also provides records for responses to DNS
queries.Instance Variable | connections | A list of all the connected DNSProtocol
instances using this object as their controller. (type: list of DNSProtocol ) |
Method | __init__ | Undocumented |
Method | buildProtocol | Create an instance of a subclass of Protocol. |
Method | connectionMade | Track a newly connected DNSProtocol . |
Method | connectionLost | Stop tracking a no-longer connected DNSProtocol . |
Method | sendReply | Undocumented |
Method | gotResolverResponse | Undocumented |
Method | gotResolverError | Undocumented |
Method | handleQuery | Undocumented |
Method | handleInverseQuery | Undocumented |
Method | handleStatus | Undocumented |
Method | handleNotify | Undocumented |
Method | handleOther | Undocumented |
Method | messageReceived | Undocumented |
Method | allowQuery | Undocumented |
Inherited from Factory (via ServerFactory):
Method | logPrefix | Describe this factory for log messages. |
Method | doStart | Make sure startFactory is called. |
Method | doStop | Make sure stopFactory is called. |
Method | startFactory | This will be called before I begin listening on a Port or Connector. |
Method | stopFactory | This will be called before I stop listening on all Ports/Connectors. |
DNSProtocol
instances using this object as their controller. (type: list
of DNSProtocol
)
The returned instance will handle input on an incoming server connection, and an attribute "factory" pointing to the creating factory.
Override this method to alter how Protocol instances get created.
Parameters | addr | an object implementing twisted.internet.interfaces.IAddress |