Public Member Functions | Public Attributes
tornado.netutil.ExecutorResolver Class Reference
Inheritance diagram for tornado.netutil.ExecutorResolver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def close
def initialize
def resolve

Public Attributes

 close_executor
 executor
 io_loop

Detailed Description

Resolver implementation using a `concurrent.futures.Executor`.

Use this instead of `ThreadedResolver` when you require additional
control over the executor being used.

The executor will be shut down when the resolver is closed unless
``close_resolver=False``; use this if you want to reuse the same
executor elsewhere.

Definition at line 295 of file netutil.py.


Member Function Documentation

Closes the `Resolver`, freeing any resources used.

.. versionadded:: 3.1

Reimplemented from tornado.netutil.Resolver.

Definition at line 314 of file netutil.py.

def tornado.netutil.ExecutorResolver.initialize (   self,
  io_loop = None,
  executor = None,
  close_executor = True 
)

Definition at line 305 of file netutil.py.

def tornado.netutil.ExecutorResolver.resolve (   self,
  host,
  port,
  family = socket.AF_UNSPEC 
)

Definition at line 320 of file netutil.py.


Member Data Documentation

Definition at line 305 of file netutil.py.

Definition at line 305 of file netutil.py.

Definition at line 305 of file netutil.py.


The documentation for this class was generated from the following file:


rosbridge_server
Author(s): Jonathan Mace
autogenerated on Wed Sep 13 2017 03:18:20