class documentation
class SimpleResolverComplexifier: (source)
Constructor: SimpleResolverComplexifier(simpleResolver)
Implements interfaces: twisted.internet.interfaces.IHostnameResolver
A converter from IResolverSimple
to IHostnameResolver
.
Method | __init__ |
Construct a SimpleResolverComplexifier with an IResolverSimple . |
Method | resolve |
See IHostnameResolver.resolveHostName |
Class Variable | _log |
Undocumented |
Instance Variable | _simple |
Undocumented |
def resolveHostName(self, resolutionReceiver:
IResolutionReceiver
, hostName: str
, portNumber: int
= 0, addressTypes: Optional[ Sequence[ Type[ IAddress]]]
= None, transportSemantics: str
= 'TCP') -> IHostResolution
:
(source)
¶
See IHostnameResolver.resolveHostName
Parameters | |
resolutionIResolutionReceiver | see interface |
hoststr | see interface |
portint | see interface |
addressOptional[ | see interface |
transportstr | see interface |
Returns | |
IHostResolution | see interface |