Package web2py :: Package gluon :: Module rocket :: Class Worker

[hide private]
[frames] | no frames]

# Class Worker

source code

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

Known Subclasses:
  FileSystemWorker, WSGIWorker

The Worker class is a base class responsible for receiving connections and (a subclass) will run an application to process the the connection

Instance Methods | [hide private]

__init__(self, app_info, active_queue, monitor_queue, *args, **kwargs) | source code

_handleError(self, typ, val, tb) | source code

run(self) | source code

run_app(self, conn) | source code

send_response(self, status) | source code

read_request_line(self, sock_file) | source code

_read_request_line_jython(self, d) | source code

read_headers(self, sock_file) | source code

Inherited from `threading.Thread`: `__repr__`, `getName`, `isAlive`, `isDaemon`, `join`, `setDaemon`, `setName`, `start` 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, app_info, active_queue, monitor_queue, *args, **kwargs)
(Constructor)

source code

Overrides: threading.Thread.__init__

### run(self)

source code

Overrides: threading.Thread.run