Known implementations: twisted.internet._resolver.FirstOneWins

An IResolutionReceiver receives the results of a hostname resolution in progress, initiated by an IHostnameResolver.

Present SinceTwisted 17.1.0
Method resolutionBegan A hostname resolution began.
Method addressResolved No summary
Method resolutionComplete Resolution has completed; no further addresses will be relayed to IResolutionReceiver.addressResolved.
def resolutionBegan(resolutionInProgress): (source)

A hostname resolution began.

ParametersresolutionInProgressan IHostResolution.
def addressResolved(address): (source)

An internet address. This is called when an address for the given name is discovered. In the current implementation this practically means IPv4Address or IPv6Address, but implementations of this interface should be lenient to other types being passed to this interface as well, for future-proofing.

ParametersaddressAn address object. (type: IAddress)
def resolutionComplete(): (source)

Resolution has completed; no further addresses will be relayed to IResolutionReceiver.addressResolved.

API Documentation for Twisted, generated by pydoctor at 2020-03-20 23:54:06.