Public Member Functions | |
def | initialize |
def | resolve |
Public Attributes | |
io_loop | |
reactor | |
resolver |
Twisted-based asynchronous resolver. This is a non-blocking and non-threaded resolver. It is recommended only when threads cannot be used, since it has limitations compared to the standard ``getaddrinfo``-based `~tornado.netutil.Resolver` and `~tornado.netutil.ThreadedResolver`. Specifically, it returns at most one result, and arguments other than ``host`` and ``family`` are ignored. It may fail to resolve when ``family`` is not ``socket.AF_UNSPEC``. Requires Twisted 12.1 or newer.
Definition at line 502 of file twisted.py.
def tornado.platform.twisted.TwistedResolver.initialize | ( | self, | |
io_loop = None |
|||
) |
Definition at line 516 of file twisted.py.
def tornado.platform.twisted.TwistedResolver.resolve | ( | self, | |
host, | |||
port, | |||
family = 0 |
|||
) |
Definition at line 530 of file twisted.py.
Definition at line 516 of file twisted.py.
Definition at line 516 of file twisted.py.
Definition at line 516 of file twisted.py.