RTC Toolkit 4.0.1
|
Implementation of a processing thread to handle requests to a repository adapter asynchronously. More...
Public Member Functions | |
def | __init__ (self, repository, request_queue, response_queue, logger) |
def | run (self) |
Starts the thread and enters its processing loop to handle requests asynchronously. | |
def | stop (self) |
Stops the thread's processing loop. | |
Protected Member Functions | |
bool | _dispatch_request (self, request) |
Implements the dispatching of a request to the appropriate Qt signals. | |
def | _handle_get_children_request (self, request) |
def | _handle_data_point_exists_request (self, request) |
def | _handle_create_data_point_request (self, request) |
def | _handle_delete_data_point_request (self, request) |
def | _handle_read_meta_data_request (self, request) |
def | _handle_write_meta_data_request (self, request) |
Protected Attributes | |
_terminate | |
_repository | |
_repository_has_server_alias | |
_request_queue | |
_response_queue | |
_logger | |
Implementation of a processing thread to handle requests to a repository adapter asynchronously.
def comms.repository._HandlerThread.__init__ | ( | self, | |
repository, | |||
request_queue, | |||
response_queue, | |||
logger | |||
) |
Reimplemented in comms.repository._PersistentHandlerThread, and comms.repository._RuntimeHandlerThread.
|
protected |
Implements the dispatching of a request to the appropriate Qt signals.
This can be overridden by child thread classes to extent the types of requests to be handled.
Reimplemented in comms.repository._RuntimeHandlerThread.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
def comms.repository._HandlerThread.run | ( | self | ) |
Starts the thread and enters its processing loop to handle requests asynchronously.
def comms.repository._HandlerThread.stop | ( | self | ) |
Stops the thread's processing loop.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |