interface documentation

class IReactorPluggableNameResolver(Interface): (source)

Known implementations: twisted.internet.base.PluggableResolverMixin

View In Hierarchy

An IReactorPluggableNameResolver is a reactor whose name resolver can be set to a user-supplied object.

Method installNameResolver Set the internal resolver to use for name lookups.
Attribute nameResolver Read-only attribute; the resolver installed with installResolver. An IHostnameResolver.
def installNameResolver(resolver: IHostnameResolver) -> IHostnameResolver: (source)

Set the internal resolver to use for name lookups.

Parameters
resolver:IHostnameResolverThe new resolver to use.
Returns
IHostnameResolverThe previously installed resolver.

Read-only attribute; the resolver installed with installResolver. An IHostnameResolver.