twisted.internet.endpoints._SimpleHostnameResolver(object) class documentationtwisted.internet.endpoints
(View In Hierarchy)
Implements interfaces: twisted.internet.interfaces.IHostnameResolver
An IHostnameResolver
provider that invokes a provided callable to resolve hostnames.
| Method | __init__ | Create a _SimpleHostnameResolverinstance. | 
| Method | resolveHostName | Initiate a hostname resolution. | 
| Instance Variable | _nameResolution | the callable resolveHostNameinvokes to resolve hostnames. (type: Acallablethat accepts two arguments: the host to resolve and the port number to 
include in the result.) | 
resolveHostName
invokes to resolve hostnames. (type: A callable
that accepts two arguments: the host to resolve and the port number to 
include in the result.)
  Initiate a hostname resolution.
| Parameters | resolutionReceiver | an object that will receive each resolved address as it arrives. (type: IResolutionReceiver) | 
| hostName | see interface | |
| portNumber | see interface | |
| addressTypes | Ignored in this implementation. | |
| transportSemantics | Ignored in this implementation. | |
| Returns | The resolution in progress. (type: IResolutionReceiver) | |