def __init__(self, service, **kwargs): AbstractChecker.__init__(self, service, port=993, **kwargs)
def __init__(self, service, **kwargs): AbstractChecker.__init__(self, service, port=110, **kwargs)
def __init__(self, service, **kwargs): """This handler doesn't obey the port argument""" AbstractChecker.__init__(self, service, port=111, **kwargs)
def __init__(self, service, **kwargs): """Please note that this handler doesn't obey the port directive""" AbstractChecker.__init__(self, service, port=42, **kwargs)
def getAddress(self): ip, port = AbstractChecker.getAddress(self) addr = IP(ip) if addr.version() == 6: ip = '[%s]' % ip return ip, port