|
ADCT Python
Python client API implementation for publishing ADCT data
|
Interface for a group of publishers all being fed the same message(s). More...
Public Member Functions | |
| __init__ (self, bool strict, str|list[str]|dict|None plugins) | |
| str | version (self) |
| None | add (self, Publisher publisher) |
| int | publish (self, builder.Builder b) |
| None | terminate (self) |
| finalize() all configured publishers | |
| None | pause (self) |
| pause() all configured publishers | |
| None | resume (self) |
| resume() all configured publishers | |
| list[str] | get_names (self) |
Public Attributes | |
| defaults | |
| paused | |
| plugin_prefix | |
| strict | |
| factory | |
| pvec | |
Protected Member Functions | |
| _config_from_dict (self, dict[dict[str]] plugins, strict) | |
| _config_from_list (self, list[str] plugins, bool strict) | |
| _config_from_env (self, str env_name, bool strict) | |
Protected Attributes | |
| _version | |
Interface for a group of publishers all being fed the same message(s).
| adctk.publisher.MultiPublisher.__init__ | ( | self, | |
| bool | strict, | ||
| str|list[str]|dict|None | plugins | ||
| ) |
| strict | x |
| plugins |
|
protected |
@brief custom conf plugin X using plugins[X] dictionary.
|
protected |
@brief configure with list following env_name.split(":")
|
protected |
@brief configure each plugin named in the list with defaults & env.
| None adctk.publisher.MultiPublisher.add | ( | self, | |
| Publisher | publisher | ||
| ) |
@param Add publisher to the dispatch list
| list[str] adctk.publisher.MultiPublisher.get_names | ( | self | ) |
| None adctk.publisher.MultiPublisher.pause | ( | self | ) |
pause() all configured publishers
| int adctk.publisher.MultiPublisher.publish | ( | self, | |
| builder.Builder | b | ||
| ) |
| b | builder to publish via all configured publishers. |
| None adctk.publisher.MultiPublisher.resume | ( | self | ) |
resume() all configured publishers
| None adctk.publisher.MultiPublisher.terminate | ( | self | ) |
finalize() all configured publishers
| str adctk.publisher.MultiPublisher.version | ( | self | ) |
@return the version of the MultiPublisher
|
protected |
| adctk.publisher.MultiPublisher.defaults |
| adctk.publisher.MultiPublisher.factory |
| adctk.publisher.MultiPublisher.paused |
| adctk.publisher.MultiPublisher.plugin_prefix |
| adctk.publisher.MultiPublisher.pvec |
| adctk.publisher.MultiPublisher.strict |