class documentation

class HostResolution: (source)

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): (source)

Create a HostResolution with the given name.

def cancel(self) -> NoReturn: (source)

Stop the hostname resolution in progress.

unicode; the name of the host being resolved.