Public Member Functions | Private Member Functions | Static Private Attributes
rosbridge_tools.tornado.netutil.ThreadedResolver Class Reference
Inheritance diagram for rosbridge_tools.tornado.netutil.ThreadedResolver:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def initialize

Private Member Functions

def _create_threadpool

Static Private Attributes

 _threadpool = None
 _threadpool_pid = None

Detailed Description

Multithreaded non-blocking `Resolver` implementation.

Requires the `concurrent.futures` package to be installed
(available in the standard library since Python 3.2,
installable with ``pip install futures`` in older versions).

The thread pool size can be configured with::

    Resolver.configure('tornado.netutil.ThreadedResolver',
                       num_threads=10)

.. versionchanged:: 3.1
   All ``ThreadedResolvers`` share a single thread pool, whose
   size is set by the first one to be created.

Definition at line 343 of file netutil.py.


Member Function Documentation

def rosbridge_tools.tornado.netutil.ThreadedResolver._create_threadpool (   cls,
  num_threads 
) [private]

Definition at line 368 of file netutil.py.

def rosbridge_tools.tornado.netutil.ThreadedResolver.initialize (   self,
  io_loop = None,
  num_threads = 10 
)

Definition at line 362 of file netutil.py.


Member Data Documentation

Definition at line 359 of file netutil.py.

Definition at line 360 of file netutil.py.


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


rosbridge_tools
Author(s): Jonathan Mace
autogenerated on Sat Dec 27 2014 11:25:59