web2py.gluon.rocket.Listener

Package web2py :: Package gluon :: Module rocket :: Class Listener |
[hide private]
[frames] | no frames]

# Class Listener

source code

            object --+
                     |
    threading._Verbose --+
                         |
          threading.Thread --+
                             |
                            Listener

The Listener class is a class responsible for accepting connections and queuing them to be processed by a worker thread.

Instance Methods | [hide private]
__init__(self, interface, queue_size, active_queue, *args, **kwargs) | source code
wrap_socket(self, sock) | source code
start(self) | source code
isAlive(self) | source code
join(self) | source code
listen(self) | source code
Inherited from `threading.Thread`: `__repr__`, `getName`, `isDaemon`, `run`, `setDaemon`, `setName` Inherited from `threading.Thread` (private): `_set_daemon` Inherited from `threading._Verbose` (private): `_note` Inherited from `object`: `__delattr__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__str__`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, interface, queue_size, active_queue, *args, **kwargs) (Constructor) | source code
Overrides: threading.Thread.__init__

### start(self) | source code
Overrides: threading.Thread.start

### isAlive(self) | source code
Overrides: threading.Thread.isAlive

### join(self) | source code
Overrides: threading.Thread.join