class documentation

class HostResolution:

Constructor: HostResolution(name)

Implements interfaces: twisted.internet.interfaces.IHostResolution

View In Hierarchy

The in-progress resolution of a given hostname.

Method __init__ Create a HostResolution with the given name.
Method cancel Stop the hostname resolution in progress.
Instance Variable name unicode; the name of the host being resolved.
def __init__(self, name: str):

Create a HostResolution with the given name.

def cancel(self) -> NoReturn:

Stop the hostname resolution in progress.

name =

unicode; the name of the host being resolved.