lib.sedna.service.client
¶
Module Contents¶
Classes¶
Inherited thread, which is an entity that periodically report to |
|
send info to LC by http |
|
Client that interacts with the cloud aggregator. |
|
Remote model service |
|
Communicate with Knowledge Base server |
Functions¶
|
- lib.sedna.service.client.http_request(url, method=None, timeout=None, binary=True, no_decode=False, **kwargs)[source]¶
- class lib.sedna.service.client.LCReporter(lc_server, message, period_interval=30)[source]¶
Bases:
threading.Thread
Inherited thread, which is an entity that periodically report to the lc.
- run()[source]¶
Method representing the thread’s activity.
You may override this method in a subclass. The standard run() method invokes the callable object passed to the object’s constructor as the target argument, if any, with sequential and keyword arguments taken from the args and kwargs arguments, respectively.
- class lib.sedna.service.client.AggregationClient(url, client_id, **kwargs)[source]¶
Client that interacts with the cloud aggregator.