Synchronous service controller class implementation.
Definition at line 37 of file ServiceControllerAsync.py.
def RappCloud.ServiceController.ServiceControllerAsync.ServiceControllerAsync.__init__ |
( |
|
self, |
|
|
|
service, |
|
|
|
max_workers = 8 |
|
) |
| |
def RappCloud.ServiceController.ServiceControllerAsync.ServiceControllerAsync._worker_exec |
( |
|
self, |
|
|
|
msg, |
|
|
|
url, |
|
|
|
clb = None |
|
) |
| |
|
private |
def RappCloud.ServiceController.ServiceControllerAsync.ServiceControllerAsync.run_job |
( |
|
self, |
|
|
|
msg, |
|
|
|
url, |
|
|
|
clb = None |
|
) |
| |
Run the service.
Submit callback function to the worker thread and return the future.
- Parameters
-
clb | Function - Callback function to execute on arrival of the response. |
- Returns
- _future - The future.
Definition at line 52 of file ServiceControllerAsync.py.
RappCloud.ServiceController.ServiceControllerAsync.ServiceControllerAsync.__threadPool |
|
private |
The documentation for this class was generated from the following file: