amps-python-client 5.3.4.1__zip → 5.3.4.2__zip
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- amps-python-client-5.3.4.2/PKG-INFO +112 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/logon.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/publishing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/removing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_sources/index.rst.txt +36 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/ack-messages.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/content-messages.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/intro.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/logon.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/protocol-reference.html +93 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/publishing.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/query-delimiters.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/query-subscribe.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/removing.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/chapters/utilities.html +95 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/genindex.html +97 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/index.html +98 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/objects.inv +6 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/command-reference/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/html/code.html +6616 -0
- amps-python-client-5.3.4.2/docs/html/genindex.html +1363 -0
- amps-python-client-5.3.4.2/docs/html/index.html +131 -0
- amps-python-client-5.3.4.2/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/html/py-modindex.html +111 -0
- amps-python-client-5.3.4.2/docs/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/advanced-topics.rst.txt +398 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +26 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/creating-commands.rst.txt +159 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/deltas.rst.txt +79 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/error-handling.rst.txt +481 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/exceptions.rst.txt +123 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/first-program.rst.txt +168 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/high-availability.rst.txt +879 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/installing.rst.txt +184 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/introduction.rst.txt +50 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +32 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/performance-tips.rst.txt +432 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/queues.rst.txt +282 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/sow.rst.txt +294 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/subscriptions.rst.txt +374 -0
- amps-python-client-5.3.4.2/docs/python/html/_sources/chapters/utilities.rst.txt +214 -0
- amps-python-client-5.3.4.2/docs/python/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/advanced-topics.html +447 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/cpp-compiler-list.html +92 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/cpp-feature-table.html +156 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/creating-commands.html +2882 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/deltas.html +169 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/error-handling.html +745 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/exceptions.html +266 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/first-program.html +526 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/high-availability.html +1017 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/installing.html +264 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/introduction.html +245 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/moving-from-python-lite.html +118 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/performance-tips.html +499 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/queues.html +352 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/sow.html +383 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/subscriptions.html +535 -0
- amps-python-client-5.3.4.2/docs/python/html/chapters/utilities.html +302 -0
- amps-python-client-5.3.4.2/docs/python/html/genindex.html +351 -0
- amps-python-client-5.3.4.2/docs/python/html/index.html +382 -0
- amps-python-client-5.3.4.2/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/python/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/python/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/chapters/crankitup.html +271 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/chapters/equipment.html +105 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/genindex.html +97 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/index.html +381 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/search.html +107 -0
- amps-python-client-5.3.4.2/docs/python-quickstart/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/.buildinfo +4 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/acks.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/actions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/daemon.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/delta.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/distribution.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/events.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/glossary.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/ha.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/logging.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/oof.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/operation.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/queues.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/replication.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/securing.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/sow.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/transports.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/txlog.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/usecases.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/chapters/views.rst.txt +8 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_sources/index.rst.txt +62 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/acks.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/actions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps-statistics.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps_expressions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/amps_functions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/auxiliary_modules.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/config-file-shortcuts.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/conflated_topics.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/constructing-fields.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/daemon.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/delta.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/distribution.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/enrichment.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/events.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/file_format_versions.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/glossary.html +92 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/ha.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/installing_and_starting.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/intro.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/logging.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/messageTypes.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/monitoring.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/oof.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/operation.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/pub_sub.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/queues.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/replication.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/securing.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/sow.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/sow_queries.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/spark.html +819 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/transports.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/troubleshooting.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/txlog.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/usecases.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/utilities.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/chapters/views.html +94 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/genindex.html +133 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/index.html +96 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/search.html +106 -0
- amps-python-client-5.3.4.2/docs/user-guide/html/searchindex.js +1 -0
- amps-python-client-5.3.4.2/include/ampspy_bookmarkstore.hpp +63 -0
- amps-python-client-5.3.4.2/include/ampspy_compat.h +63 -0
- amps-python-client-5.3.4.2/include/ampspy_defs.hpp +181 -0
- amps-python-client-5.3.4.2/include/ampspy_recoverypointadapter.hpp +52 -0
- amps-python-client-5.3.4.2/include/ampspy_shims.hpp +113 -0
- amps-python-client-5.3.4.2/include/ampspy_type_object.hpp +242 -0
- amps-python-client-5.3.4.2/include/ampspy_types.hpp +1139 -0
- amps-python-client-5.3.4.2/include/ampspyver.h +30 -0
- amps-python-client-5.3.4.2/index.html +66 -0
- amps-python-client-5.3.4.2/samples/AMPSConsolePublisher.py +59 -0
- amps-python-client-5.3.4.2/samples/AMPSConsoleSubscriber.py +63 -0
- amps-python-client-5.3.4.2/samples/AMPSFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.2/samples/AMPSFIXShredderSubscriber.py +69 -0
- amps-python-client-5.3.4.2/samples/AMPSNVFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.2/samples/AMPSNVFIXShredderSubscriber.py +67 -0
- amps-python-client-5.3.4.2/samples/AMPSPublishForReplay.py +81 -0
- amps-python-client-5.3.4.2/samples/AMPSQueueConsumer.py +69 -0
- amps-python-client-5.3.4.2/samples/AMPSQueuePublisher.py +59 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWConsolePublisher.py +67 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWConsoleSubscriber.py +77 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWandSubscribeConsoleSubscriber.py +79 -0
- amps-python-client-5.3.4.2/samples/AMPSSOWandSubscribeWithOOF.py +108 -0
- amps-python-client-5.3.4.2/samples/AMPSSubscribeForReplay.py +128 -0
- amps-python-client-5.3.4.2/samples/AMPSUpdateForOOF.py +123 -0
- amps-python-client-5.3.4.2/samples/CompositeMessagePublisher.py +84 -0
- amps-python-client-5.3.4.2/samples/CompositeMessageSubscriber.py +87 -0
- amps-python-client-5.3.4.2/samples/RandomServerChooser.py +66 -0
- amps-python-client-5.3.4.2/samples/sample.xml +335 -0
- amps-python-client-5.3.4.2/setup.py +210 -0
- amps-python-client-5.3.4.2/setup_amps.py +94 -0
- amps-python-client-5.3.4.2/src/ampspy_shims.cpp +214 -0
- amps-python-client-5.3.4.2/src/ampspy_type_object.cpp +495 -0
- amps-python-client-5.3.4.2/src/authenticator.cpp +128 -0
- amps-python-client-5.3.4.2/src/bookmarkstore.cpp +246 -0
- amps-python-client-5.3.4.2/src/client.cpp +2648 -0
- amps-python-client-5.3.4.2/src/client_docs.h +956 -0
- amps-python-client-5.3.4.2/src/cmessagehandler.cpp +161 -0
- amps-python-client-5.3.4.2/src/command.cpp +164 -0
- amps-python-client-5.3.4.2/src/command_docs.h +269 -0
- amps-python-client-5.3.4.2/src/compositemessagebuilder.cpp +113 -0
- amps-python-client-5.3.4.2/src/compositemessageparser.cpp +151 -0
- amps-python-client-5.3.4.2/src/conflatingrecoverypointadapter.cpp +197 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BlockPublishStore.hpp +2053 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BlockStore.hpp +677 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/BookmarkStore.hpp +542 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Buffer.hpp +214 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/CompositeMessageBuilder.hpp +174 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/CompositeMessageParser.hpp +151 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/DefaultServerChooser.hpp +162 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Field.hpp +719 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HAClient.hpp +370 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HAClientImpl.hpp +460 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/HybridPublishStore.hpp +481 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/LoggedBookmarkStore.hpp +1256 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MMapBookmarkStore.hpp +1283 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MMapStoreBuffer.hpp +290 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryBookmarkStore.hpp +1628 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryPublishStore.hpp +66 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemoryStoreBuffer.hpp +244 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MemorySubscriptionManager.hpp +850 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/Message.hpp +1819 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/MessageRouter.hpp +647 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/PublishStore.hpp +158 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ReconnectDelayStrategy.hpp +106 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +317 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RecoveryPoint.hpp +323 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RecoveryPointAdapter.hpp +501 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/RingBookmarkStore.hpp +669 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +494 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ServerChooser.hpp +145 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ServerChooserImpl.hpp +95 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps.h +803 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps_impl.h +208 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/amps_ssl.h +78 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampscrc.hpp +210 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsplusplus.hpp +8850 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsuri.h +84 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsver.h +41 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/ampsver.h.in +41 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/constants.hpp +194 -0
- amps-python-client-5.3.4.2/src/cpp/include/amps/util.hpp +1722 -0
- amps-python-client-5.3.4.2/src/cpp/src/amps_protocol.c +693 -0
- amps-python-client-5.3.4.2/src/cpp/src/amps_ssl.c +489 -0
- amps-python-client-5.3.4.2/src/cpp/src/atfork.c +451 -0
- amps-python-client-5.3.4.2/src/cpp/src/client.c +498 -0
- amps-python-client-5.3.4.2/src/cpp/src/message.c +837 -0
- amps-python-client-5.3.4.2/src/cpp/src/message_generated.h +611 -0
- amps-python-client-5.3.4.2/src/cpp/src/tcp.c +1517 -0
- amps-python-client-5.3.4.2/src/cpp/src/tcps.c +1885 -0
- amps-python-client-5.3.4.2/src/cpp/src/transports.c +129 -0
- amps-python-client-5.3.4.2/src/cpp/src/unix.c +1002 -0
- amps-python-client-5.3.4.2/src/cpp/src/uri.c +301 -0
- amps-python-client-5.3.4.2/src/exponentialdelaystrategy.cpp +137 -0
- amps-python-client-5.3.4.2/src/failedwritehandler.cpp +116 -0
- amps-python-client-5.3.4.2/src/fixbuilder.cpp +146 -0
- amps-python-client-5.3.4.2/src/fixeddelaystrategy.cpp +114 -0
- amps-python-client-5.3.4.2/src/fixshredder.cpp +105 -0
- amps-python-client-5.3.4.2/src/fixshredder_docs.h +38 -0
- amps-python-client-5.3.4.2/src/haclient.cpp +691 -0
- amps-python-client-5.3.4.2/src/haclient_docs.h +186 -0
- amps-python-client-5.3.4.2/src/hybridpublishstore.cpp +137 -0
- amps-python-client-5.3.4.2/src/hybridpublishstore_docs.h +31 -0
- amps-python-client-5.3.4.2/src/memorybookmarkstore.cpp +373 -0
- amps-python-client-5.3.4.2/src/memorybookmarkstore_docs.h +39 -0
- amps-python-client-5.3.4.2/src/memorypublishstore.cpp +160 -0
- amps-python-client-5.3.4.2/src/memorypublishstore_docs.h +32 -0
- amps-python-client-5.3.4.2/src/message.cpp +765 -0
- amps-python-client-5.3.4.2/src/message_docs.h +306 -0
- amps-python-client-5.3.4.2/src/messagestream.cpp +630 -0
- amps-python-client-5.3.4.2/src/messagestream_docs.h +45 -0
- amps-python-client-5.3.4.2/src/mmapbookmarkstore.cpp +422 -0
- amps-python-client-5.3.4.2/src/nvfixbuilder.cpp +160 -0
- amps-python-client-5.3.4.2/src/nvfixbuilder_docs.h +35 -0
- amps-python-client-5.3.4.2/src/nvfixshredder.cpp +99 -0
- amps-python-client-5.3.4.2/src/nvfixshredder_docs.h +43 -0
- amps-python-client-5.3.4.2/src/publishstore.cpp +183 -0
- amps-python-client-5.3.4.2/src/raw_wrapper.cpp +765 -0
- amps-python-client-5.3.4.2/src/reason.cpp +71 -0
- amps-python-client-5.3.4.2/src/recoverypoint.cpp +135 -0
- amps-python-client-5.3.4.2/src/recoverypointadapter.cpp +171 -0
- amps-python-client-5.3.4.2/src/ringbookmarkstore.cpp +360 -0
- amps-python-client-5.3.4.2/src/serverchooser.cpp +245 -0
- amps-python-client-5.3.4.2/src/serverchooser_docs.h +41 -0
- amps-python-client-5.3.4.2/src/sowrecoverypointadapter.cpp +248 -0
- amps-python-client-5.3.4.2/src/store.cpp +62 -0
- amps-python-client-5.3.4.2/src/versioninfo.cpp +175 -0
- amps-python-client-5.3.4.1/PKG-INFO +0 -112
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/intro.rst.txt +0 -43
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/logon.rst.txt +0 -231
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +0 -1474
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/publishing.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +0 -12
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/removing.rst.txt +0 -6
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/utilities.rst.txt +0 -13
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/index.rst.txt +0 -56
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/ack-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/content-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/intro.html +0 -126
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/logon.html +0 -295
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/protocol-reference.html +0 -1190
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/publishing.html +0 -436
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-delimiters.html +0 -173
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-subscribe.html +0 -2123
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/removing.html +0 -299
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/utilities.html +0 -287
- amps-python-client-5.3.4.1/docs/command-reference/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/command-reference/html/index.html +0 -138
- amps-python-client-5.3.4.1/docs/command-reference/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/command-reference/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/html/code.html +0 -6503
- amps-python-client-5.3.4.1/docs/html/genindex.html +0 -1361
- amps-python-client-5.3.4.1/docs/html/index.html +0 -131
- amps-python-client-5.3.4.1/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/html/py-modindex.html +0 -111
- amps-python-client-5.3.4.1/docs/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/advanced-topics.rst.txt +0 -398
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +0 -26
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/creating-commands.rst.txt +0 -159
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/deltas.rst.txt +0 -79
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/error-handling.rst.txt +0 -482
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/exceptions.rst.txt +0 -128
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/first-program.rst.txt +0 -142
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/high-availability.rst.txt +0 -876
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/installing.rst.txt +0 -184
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/introduction.rst.txt +0 -50
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/performance-tips.rst.txt +0 -434
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/queues.rst.txt +0 -282
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/sow.rst.txt +0 -292
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/subscriptions.rst.txt +0 -374
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/utilities.rst.txt +0 -214
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python/html/chapters/advanced-topics.html +0 -447
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-compiler-list.html +0 -92
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-feature-table.html +0 -156
- amps-python-client-5.3.4.1/docs/python/html/chapters/creating-commands.html +0 -2837
- amps-python-client-5.3.4.1/docs/python/html/chapters/deltas.html +0 -169
- amps-python-client-5.3.4.1/docs/python/html/chapters/error-handling.html +0 -746
- amps-python-client-5.3.4.1/docs/python/html/chapters/exceptions.html +0 -272
- amps-python-client-5.3.4.1/docs/python/html/chapters/first-program.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/high-availability.html +0 -1014
- amps-python-client-5.3.4.1/docs/python/html/chapters/installing.html +0 -264
- amps-python-client-5.3.4.1/docs/python/html/chapters/introduction.html +0 -245
- amps-python-client-5.3.4.1/docs/python/html/chapters/moving-from-python-lite.html +0 -118
- amps-python-client-5.3.4.1/docs/python/html/chapters/performance-tips.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/queues.html +0 -352
- amps-python-client-5.3.4.1/docs/python/html/chapters/sow.html +0 -381
- amps-python-client-5.3.4.1/docs/python/html/chapters/subscriptions.html +0 -535
- amps-python-client-5.3.4.1/docs/python/html/chapters/utilities.html +0 -302
- amps-python-client-5.3.4.1/docs/python/html/genindex.html +0 -351
- amps-python-client-5.3.4.1/docs/python/html/index.html +0 -380
- amps-python-client-5.3.4.1/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/crankitup.html +0 -271
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/equipment.html +0 -105
- amps-python-client-5.3.4.1/docs/python-quickstart/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/python-quickstart/html/index.html +0 -382
- amps-python-client-5.3.4.1/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python-quickstart/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/AMPS-Queues-Intro.svg +0 -1330
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/GeoRepl.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_async_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_sync_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/Hot-Hot-Replication.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/MessageOrdering.svg +0 -235
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF5.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF6.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF7.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF8.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWAndSubscribeAndReplace.svg +0 -684
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery1.svg +0 -402
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery2.svg +0 -505
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig3.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig4.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/chicago_group.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_original_messages.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_update_message.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/inline_view_conflation.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_pub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_sub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/queue_usage_overview.svg +0 -627
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_hub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_scenario_with_ha.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_1.svg +0 -248
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_2.svg +0 -183
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_update_sequence.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.svg +0 -31
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.svg +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/acks.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/actions.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +0 -358
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +0 -83
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +0 -11
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +0 -86
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +0 -9
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +0 -269
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/daemon.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/delta.rst.txt +0 -556
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/distribution.rst.txt +0 -186
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +0 -191
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/events.rst.txt +0 -39
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +0 -203
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/glossary.rst.txt +0 -101
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/ha.rst.txt +0 -465
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/intro.rst.txt +0 -116
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/logging.rst.txt +0 -34
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +0 -1398
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +0 -326
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/oof.rst.txt +0 -312
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/operation.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +0 -49
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/queues.rst.txt +0 -1351
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/replication.rst.txt +0 -1228
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/securing.rst.txt +0 -657
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow.rst.txt +0 -57
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/transports.rst.txt +0 -291
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +0 -517
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/txlog.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/usecases.rst.txt +0 -21
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/utilities.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/views.rst.txt +0 -175
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/index.rst.txt +0 -110
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/acks.html +0 -289
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/actions.html +0 -3782
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps-statistics.html +0 -439
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_expressions.html +0 -1552
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_functions.html +0 -1626
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/auxiliary_modules.html +0 -2548
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/config-file-shortcuts.html +0 -508
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/conflated_topics.html +0 -328
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/constructing-fields.html +0 -447
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/daemon.html +0 -295
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/delta.html +0 -609
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/distribution.html +0 -246
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/enrichment.html +0 -264
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/events.html +0 -449
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/file_format_versions.html +0 -229
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/glossary.html +0 -215
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/ha.html +0 -978
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/installing_and_starting.html +0 -357
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/intro.html +0 -572
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/logging.html +0 -972
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/messageTypes.html +0 -1280
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/monitoring.html +0 -718
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/oof.html +0 -341
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/operation.html +0 -1515
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/pub_sub.html +0 -934
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/queues.html +0 -1767
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/replication.html +0 -1777
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/securing.html +0 -697
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow.html +0 -1038
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow_queries.html +0 -621
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/spark.html +0 -819
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/transports.html +0 -352
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/troubleshooting.html +0 -530
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/txlog.html +0 -1013
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/usecases.html +0 -288
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/utilities.html +0 -133
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/views.html +0 -1120
- amps-python-client-5.3.4.1/docs/user-guide/html/genindex.html +0 -1261
- amps-python-client-5.3.4.1/docs/user-guide/html/index.html +0 -163
- amps-python-client-5.3.4.1/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/search.html +0 -106
- amps-python-client-5.3.4.1/docs/user-guide/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/include/ampspy_bookmarkstore.hpp +0 -63
- amps-python-client-5.3.4.1/include/ampspy_compat.h +0 -63
- amps-python-client-5.3.4.1/include/ampspy_defs.hpp +0 -181
- amps-python-client-5.3.4.1/include/ampspy_recoverypointadapter.hpp +0 -52
- amps-python-client-5.3.4.1/include/ampspy_shims.hpp +0 -113
- amps-python-client-5.3.4.1/include/ampspy_type_object.hpp +0 -242
- amps-python-client-5.3.4.1/include/ampspy_types.hpp +0 -1139
- amps-python-client-5.3.4.1/include/ampspyver.h +0 -30
- amps-python-client-5.3.4.1/index.html +0 -66
- amps-python-client-5.3.4.1/samples/AMPSConsolePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSConsoleSubscriber.py +0 -63
- amps-python-client-5.3.4.1/samples/AMPSFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSFIXShredderSubscriber.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSNVFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSNVFIXShredderSubscriber.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSPublishForReplay.py +0 -81
- amps-python-client-5.3.4.1/samples/AMPSQueueConsumer.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSQueuePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSSOWConsolePublisher.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSSOWConsoleSubscriber.py +0 -77
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeConsoleSubscriber.py +0 -79
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeWithOOF.py +0 -108
- amps-python-client-5.3.4.1/samples/AMPSSubscribeForReplay.py +0 -128
- amps-python-client-5.3.4.1/samples/AMPSUpdateForOOF.py +0 -123
- amps-python-client-5.3.4.1/samples/CompositeMessagePublisher.py +0 -84
- amps-python-client-5.3.4.1/samples/CompositeMessageSubscriber.py +0 -87
- amps-python-client-5.3.4.1/samples/RandomServerChooser.py +0 -41
- amps-python-client-5.3.4.1/samples/sample.xml +0 -335
- amps-python-client-5.3.4.1/setup.py +0 -209
- amps-python-client-5.3.4.1/setup_amps.py +0 -94
- amps-python-client-5.3.4.1/src/ampspy_shims.cpp +0 -203
- amps-python-client-5.3.4.1/src/ampspy_type_object.cpp +0 -484
- amps-python-client-5.3.4.1/src/authenticator.cpp +0 -128
- amps-python-client-5.3.4.1/src/bookmarkstore.cpp +0 -238
- amps-python-client-5.3.4.1/src/client.cpp +0 -2430
- amps-python-client-5.3.4.1/src/client_docs.h +0 -956
- amps-python-client-5.3.4.1/src/cmessagehandler.cpp +0 -151
- amps-python-client-5.3.4.1/src/command.cpp +0 -164
- amps-python-client-5.3.4.1/src/command_docs.h +0 -194
- amps-python-client-5.3.4.1/src/compositemessagebuilder.cpp +0 -111
- amps-python-client-5.3.4.1/src/compositemessageparser.cpp +0 -146
- amps-python-client-5.3.4.1/src/conflatingrecoverypointadapter.cpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockPublishStore.hpp +0 -2053
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockStore.hpp +0 -677
- amps-python-client-5.3.4.1/src/cpp/include/amps/BookmarkStore.hpp +0 -542
- amps-python-client-5.3.4.1/src/cpp/include/amps/Buffer.hpp +0 -214
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageBuilder.hpp +0 -174
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageParser.hpp +0 -151
- amps-python-client-5.3.4.1/src/cpp/include/amps/DefaultServerChooser.hpp +0 -162
- amps-python-client-5.3.4.1/src/cpp/include/amps/Field.hpp +0 -719
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClient.hpp +0 -370
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClientImpl.hpp +0 -460
- amps-python-client-5.3.4.1/src/cpp/include/amps/HybridPublishStore.hpp +0 -481
- amps-python-client-5.3.4.1/src/cpp/include/amps/LoggedBookmarkStore.hpp +0 -1255
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapBookmarkStore.hpp +0 -1283
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapStoreBuffer.hpp +0 -290
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryBookmarkStore.hpp +0 -1622
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryPublishStore.hpp +0 -66
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryStoreBuffer.hpp +0 -244
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemorySubscriptionManager.hpp +0 -850
- amps-python-client-5.3.4.1/src/cpp/include/amps/Message.hpp +0 -1819
- amps-python-client-5.3.4.1/src/cpp/include/amps/MessageRouter.hpp +0 -618
- amps-python-client-5.3.4.1/src/cpp/include/amps/PublishStore.hpp +0 -158
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategy.hpp +0 -106
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +0 -317
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPoint.hpp +0 -323
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPointAdapter.hpp +0 -501
- amps-python-client-5.3.4.1/src/cpp/include/amps/RingBookmarkStore.hpp +0 -669
- amps-python-client-5.3.4.1/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +0 -490
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooser.hpp +0 -145
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooserImpl.hpp +0 -95
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps.h +0 -775
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_impl.h +0 -204
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_ssl.h +0 -78
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampscrc.hpp +0 -210
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsplusplus.hpp +0 -8817
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsuri.h +0 -84
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h.in +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/constants.hpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/util.hpp +0 -1692
- amps-python-client-5.3.4.1/src/cpp/src/amps_protocol.c +0 -688
- amps-python-client-5.3.4.1/src/cpp/src/amps_ssl.c +0 -489
- amps-python-client-5.3.4.1/src/cpp/src/atfork.c +0 -446
- amps-python-client-5.3.4.1/src/cpp/src/client.c +0 -483
- amps-python-client-5.3.4.1/src/cpp/src/message.c +0 -837
- amps-python-client-5.3.4.1/src/cpp/src/message_generated.h +0 -611
- amps-python-client-5.3.4.1/src/cpp/src/tcp.c +0 -1489
- amps-python-client-5.3.4.1/src/cpp/src/tcps.c +0 -1894
- amps-python-client-5.3.4.1/src/cpp/src/transports.c +0 -123
- amps-python-client-5.3.4.1/src/cpp/src/unix.c +0 -984
- amps-python-client-5.3.4.1/src/cpp/src/uri.c +0 -301
- amps-python-client-5.3.4.1/src/exponentialdelaystrategy.cpp +0 -137
- amps-python-client-5.3.4.1/src/failedwritehandler.cpp +0 -116
- amps-python-client-5.3.4.1/src/fixbuilder.cpp +0 -146
- amps-python-client-5.3.4.1/src/fixeddelaystrategy.cpp +0 -114
- amps-python-client-5.3.4.1/src/fixshredder.cpp +0 -105
- amps-python-client-5.3.4.1/src/fixshredder_docs.h +0 -38
- amps-python-client-5.3.4.1/src/haclient.cpp +0 -691
- amps-python-client-5.3.4.1/src/haclient_docs.h +0 -132
- amps-python-client-5.3.4.1/src/hybridpublishstore.cpp +0 -137
- amps-python-client-5.3.4.1/src/hybridpublishstore_docs.h +0 -31
- amps-python-client-5.3.4.1/src/memorybookmarkstore.cpp +0 -373
- amps-python-client-5.3.4.1/src/memorybookmarkstore_docs.h +0 -39
- amps-python-client-5.3.4.1/src/memorypublishstore.cpp +0 -160
- amps-python-client-5.3.4.1/src/memorypublishstore_docs.h +0 -32
- amps-python-client-5.3.4.1/src/message.cpp +0 -765
- amps-python-client-5.3.4.1/src/message_docs.h +0 -306
- amps-python-client-5.3.4.1/src/messagestream.cpp +0 -623
- amps-python-client-5.3.4.1/src/messagestream_docs.h +0 -45
- amps-python-client-5.3.4.1/src/mmapbookmarkstore.cpp +0 -422
- amps-python-client-5.3.4.1/src/nvfixbuilder.cpp +0 -160
- amps-python-client-5.3.4.1/src/nvfixbuilder_docs.h +0 -33
- amps-python-client-5.3.4.1/src/nvfixshredder.cpp +0 -99
- amps-python-client-5.3.4.1/src/nvfixshredder_docs.h +0 -39
- amps-python-client-5.3.4.1/src/publishstore.cpp +0 -183
- amps-python-client-5.3.4.1/src/raw_wrapper.cpp +0 -756
- amps-python-client-5.3.4.1/src/reason.cpp +0 -71
- amps-python-client-5.3.4.1/src/recoverypoint.cpp +0 -135
- amps-python-client-5.3.4.1/src/recoverypointadapter.cpp +0 -171
- amps-python-client-5.3.4.1/src/ringbookmarkstore.cpp +0 -360
- amps-python-client-5.3.4.1/src/serverchooser.cpp +0 -245
- amps-python-client-5.3.4.1/src/serverchooser_docs.h +0 -39
- amps-python-client-5.3.4.1/src/sowrecoverypointadapter.cpp +0 -248
- amps-python-client-5.3.4.1/src/store.cpp +0 -62
- amps-python-client-5.3.4.1/src/versioninfo.cpp +0 -175
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/HISTORY +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/LICENSE +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/README.md +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/command-reference/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_sources/code.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/classic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/default.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/sidebar.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/caution.png +0 -0
- {amps-python-client-5.3.4.1/docs/command-reference → amps-python-client-5.3.4.2/docs/python}/html/_images/caution.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/connection_string.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/important.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/important.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/tip.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/tip.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_images/warning.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_sources/chapters/cpp-compiler-list.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/chapters/crankitup.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/chapters/equipment.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/python-quickstart/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/resources/custom.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/resources/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_sources/chapters/spark.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/docs/user-guide/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/include/amps/amps_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/src/amps_protocol_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.2}/src/cpp/src/makefile +0 -0
|
@@ -1,2837 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
|
6
|
-
<head>
|
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
8
|
-
|
|
9
|
-
<title>10. AMPS Programming: Working with Commands — Python Developer Guide develop
|
|
10
|
-
documentation</title>
|
|
11
|
-
|
|
12
|
-
<link rel="stylesheet" href="../_static/alabaster.css" type="text/css" />
|
|
13
|
-
<link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
|
|
14
|
-
|
|
15
|
-
<script type="text/javascript">
|
|
16
|
-
var DOCUMENTATION_OPTIONS = {
|
|
17
|
-
URL_ROOT: '../',
|
|
18
|
-
VERSION: 'develop',
|
|
19
|
-
COLLAPSE_INDEX: false,
|
|
20
|
-
FILE_SUFFIX: '.html',
|
|
21
|
-
HAS_SOURCE: true,
|
|
22
|
-
SOURCELINK_SUFFIX: '.txt'
|
|
23
|
-
};
|
|
24
|
-
</script>
|
|
25
|
-
<script type="text/javascript" src="../_static/jquery.js"></script>
|
|
26
|
-
<script type="text/javascript" src="../_static/underscore.js"></script>
|
|
27
|
-
<script type="text/javascript" src="../_static/doctools.js"></script>
|
|
28
|
-
<link rel="index" title="Index" href="../genindex.html" />
|
|
29
|
-
<link rel="search" title="Search" href="../search.html" />
|
|
30
|
-
<link rel="next" title="11. Utilities" href="utilities.html" />
|
|
31
|
-
<link rel="prev" title="9. High Availability" href="high-availability.html" />
|
|
32
|
-
|
|
33
|
-
<link rel="stylesheet" href="../_static/custom.css" type="text/css" />
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />
|
|
37
|
-
|
|
38
|
-
</head>
|
|
39
|
-
<body role="document">
|
|
40
|
-
<div class="document">
|
|
41
|
-
|
|
42
|
-
<div class="sphinxsidebar" role="navigation" aria-label="main navigation">
|
|
43
|
-
<div class="sphinxsidebarwrapper">
|
|
44
|
-
<p class="logo"><a href="../index.html">
|
|
45
|
-
<img class="logo" src="../_static/flag_logo.png" alt="Logo"/>
|
|
46
|
-
</a></p>
|
|
47
|
-
<h3><a href="../index.html">Table Of Contents</a></h3>
|
|
48
|
-
<ul>
|
|
49
|
-
<li><a class="reference internal" href="#">10. AMPS Programming: Working with Commands</a><ul>
|
|
50
|
-
<li><a class="reference internal" href="#understanding-amps-messages">Understanding AMPS Messages</a></li>
|
|
51
|
-
<li><a class="reference internal" href="#creating-and-populating-the-command">Creating and Populating the Command</a></li>
|
|
52
|
-
<li><a class="reference internal" href="#using-execute">Using execute</a><ul>
|
|
53
|
-
<li><a class="reference internal" href="#using-execute-to-publish">Using execute to Publish</a></li>
|
|
54
|
-
</ul>
|
|
55
|
-
</li>
|
|
56
|
-
<li><a class="reference internal" href="#command-cookbook">Command Cookbook</a></li>
|
|
57
|
-
<li><a class="reference internal" href="#publishing">Publishing</a><ul>
|
|
58
|
-
<li><a class="reference internal" href="#basic-publish">Basic Publish</a></li>
|
|
59
|
-
<li><a class="reference internal" href="#publish-with-correlationid">Publish With CorrelationId</a></li>
|
|
60
|
-
<li><a class="reference internal" href="#publish-with-explicit-sow-key">Publish With Explicit SOW Key</a></li>
|
|
61
|
-
</ul>
|
|
62
|
-
</li>
|
|
63
|
-
<li><a class="reference internal" href="#command-cookbook-subscribing">Command Cookbook: Subscribing</a><ul>
|
|
64
|
-
<li><a class="reference internal" href="#basic-subscription">Basic Subscription</a></li>
|
|
65
|
-
<li><a class="reference internal" href="#basic-subscription-with-options">Basic Subscription With Options</a></li>
|
|
66
|
-
<li><a class="reference internal" href="#basic-subscription-with-select-list">Basic Subscription With Select List</a></li>
|
|
67
|
-
<li><a class="reference internal" href="#content-filtered-subscription">Content Filtered Subscription</a></li>
|
|
68
|
-
<li><a class="reference internal" href="#conflated-subscription-to-a-sow-topic">Conflated Subscription to a SOW Topic</a></li>
|
|
69
|
-
<li><a class="reference internal" href="#conflated-subscription-to-a-topic-with-no-sow">Conflated Subscription to a Topic With No SOW</a></li>
|
|
70
|
-
<li><a class="reference internal" href="#bookmark-subscription">Bookmark Subscription</a></li>
|
|
71
|
-
<li><a class="reference internal" href="#rate-controlled-bookmark-subscription">Rate Controlled Bookmark Subscription</a></li>
|
|
72
|
-
<li><a class="reference internal" href="#bookmark-subscription-with-completed-acknowledgement">Bookmark Subscription With Completed Acknowledgement</a></li>
|
|
73
|
-
<li><a class="reference internal" href="#bookmark-subscription-with-content-filter">Bookmark Subscription With Content Filter</a></li>
|
|
74
|
-
<li><a class="reference internal" href="#rate-controlled-bookmark-subscription-with-maximum-gap">Rate Controlled Bookmark Subscription With Maximum Gap</a></li>
|
|
75
|
-
<li><a class="reference internal" href="#pausing-a-bookmark-subscription">Pausing a Bookmark Subscription</a></li>
|
|
76
|
-
<li><a class="reference internal" href="#resuming-a-bookmark-subscription">Resuming a Bookmark Subscription</a></li>
|
|
77
|
-
<li><a class="reference internal" href="#replacing-the-filter-on-a-subscription">Replacing the Filter on a Subscription</a></li>
|
|
78
|
-
<li><a class="reference internal" href="#subscribing-to-a-queue-and-requesting-a-max-backlog">Subscribing to a Queue and Requesting a max_backlog</a></li>
|
|
79
|
-
</ul>
|
|
80
|
-
</li>
|
|
81
|
-
<li><a class="reference internal" href="#sow-query">SOW query</a><ul>
|
|
82
|
-
<li><a class="reference internal" href="#basic-sow-query">Basic SOW Query</a></li>
|
|
83
|
-
<li><a class="reference internal" href="#basic-sow-with-options">Basic SOW With Options</a></li>
|
|
84
|
-
<li><a class="reference internal" href="#sow-query-with-ordered-results">SOW Query With Ordered Results</a></li>
|
|
85
|
-
<li><a class="reference internal" href="#sow-query-with-topn-results">SOW Query With TopN Results</a></li>
|
|
86
|
-
<li><a class="reference internal" href="#content-filtered-sow-query">Content Filtered SOW Query</a></li>
|
|
87
|
-
<li><a class="reference internal" href="#historical-sow-query">Historical SOW Query</a></li>
|
|
88
|
-
<li><a class="reference internal" href="#historical-sow-query-with-content-filter">Historical SOW Query With Content Filter</a></li>
|
|
89
|
-
<li><a class="reference internal" href="#sow-query-for-specific-records">SOW Query for Specific Records</a></li>
|
|
90
|
-
<li><a class="reference internal" href="#sow-query-with-pagination">SOW Query with Pagination</a></li>
|
|
91
|
-
<li><a class="reference internal" href="#aggregated-sow-query">Aggregated SOW Query</a></li>
|
|
92
|
-
</ul>
|
|
93
|
-
</li>
|
|
94
|
-
<li><a class="reference internal" href="#sow-and-subscribe">SOW and Subscribe</a><ul>
|
|
95
|
-
<li><a class="reference internal" href="#basic-sow-and-subscribe">Basic SOW and Subscribe</a></li>
|
|
96
|
-
<li><a class="reference internal" href="#sow-and-subscribe-with-options">SOW and Subscribe With Options</a></li>
|
|
97
|
-
<li><a class="reference internal" href="#sow-and-subscribe-with-select-list">SOW and Subscribe With Select List</a></li>
|
|
98
|
-
<li><a class="reference internal" href="#content-filtered-sow-and-subscribe">Content Filtered SOW and Subscribe</a></li>
|
|
99
|
-
<li><a class="reference internal" href="#conflated-sow-and-subscribe">Conflated SOW and Subscribe</a></li>
|
|
100
|
-
<li><a class="reference internal" href="#paginated-sow-and-subscribe">Paginated SOW and Subscribe</a></li>
|
|
101
|
-
<li><a class="reference internal" href="#historical-sow-and-subscribe">Historical SOW and Subscribe</a></li>
|
|
102
|
-
<li><a class="reference internal" href="#historical-sow-and-subscribe-with-content-filter">Historical SOW and Subscribe With Content Filter</a></li>
|
|
103
|
-
<li><a class="reference internal" href="#aggregated-sow-and-subscribe">Aggregated SOW and Subscribe</a></li>
|
|
104
|
-
</ul>
|
|
105
|
-
</li>
|
|
106
|
-
<li><a class="reference internal" href="#delta-publishing">Delta Publishing</a><ul>
|
|
107
|
-
<li><a class="reference internal" href="#basic-delta-publish">Basic Delta Publish</a></li>
|
|
108
|
-
<li><a class="reference internal" href="#delta-publish-with-correlationid">Delta Publish With CorrelationId</a></li>
|
|
109
|
-
<li><a class="reference internal" href="#delta-publish-with-explicit-sow-key">Delta Publish With Explicit SOW Key</a></li>
|
|
110
|
-
</ul>
|
|
111
|
-
</li>
|
|
112
|
-
<li><a class="reference internal" href="#delta-subscribing">Delta Subscribing</a><ul>
|
|
113
|
-
<li><a class="reference internal" href="#basic-delta-subscription">Basic Delta Subscription</a></li>
|
|
114
|
-
<li><a class="reference internal" href="#basic-delta-subscription-with-options">Basic Delta Subscription With Options</a></li>
|
|
115
|
-
<li><a class="reference internal" href="#content-filtered-delta-subscription">Content Filtered Delta Subscription</a></li>
|
|
116
|
-
</ul>
|
|
117
|
-
</li>
|
|
118
|
-
<li><a class="reference internal" href="#sow-and-delta-subscribe">SOW and Delta Subscribe</a><ul>
|
|
119
|
-
<li><a class="reference internal" href="#basic-sow-and-delta-subscribe">Basic SOW and Delta Subscribe</a></li>
|
|
120
|
-
<li><a class="reference internal" href="#sow-and-delta-subscribe-with-options">SOW and Delta Subscribe With Options</a></li>
|
|
121
|
-
<li><a class="reference internal" href="#content-filtered-sow-and-delta-subscribe">Content Filtered SOW and Delta Subscribe</a></li>
|
|
122
|
-
<li><a class="reference internal" href="#paginated-sow-and-delta-subscribe">Paginated SOW and Delta Subscribe</a></li>
|
|
123
|
-
<li><a class="reference internal" href="#aggregated-sow-and-delta-subscribe">Aggregated SOW and Delta Subscribe</a></li>
|
|
124
|
-
</ul>
|
|
125
|
-
</li>
|
|
126
|
-
<li><a class="reference internal" href="#sow-delete">SOW Delete</a><ul>
|
|
127
|
-
<li><a class="reference internal" href="#delete-all-records-in-a-sow">Delete All Records in a SOW</a></li>
|
|
128
|
-
<li><a class="reference internal" href="#delete-sow-records-matching-a-filter">Delete SOW Records Matching a Filter</a></li>
|
|
129
|
-
<li><a class="reference internal" href="#delete-a-specific-message-by-data">Delete A Specific Message By Data</a></li>
|
|
130
|
-
<li><a class="reference internal" href="#deleting-specific-messages-using-keys">Deleting Specific Messages Using Keys</a></li>
|
|
131
|
-
<li><a class="reference internal" href="#acknowledging-messages-from-a-queue">Acknowledging Messages from a Queue</a></li>
|
|
132
|
-
</ul>
|
|
133
|
-
</li>
|
|
134
|
-
</ul>
|
|
135
|
-
</li>
|
|
136
|
-
</ul>
|
|
137
|
-
<div class="relations">
|
|
138
|
-
<h3>Related Topics</h3>
|
|
139
|
-
<ul>
|
|
140
|
-
<li><a href="../index.html">Documentation overview</a><ul>
|
|
141
|
-
<li>Previous: <a href="high-availability.html" title="previous chapter">9. High Availability</a></li>
|
|
142
|
-
<li>Next: <a href="utilities.html" title="next chapter">11. Utilities</a></li>
|
|
143
|
-
</ul></li>
|
|
144
|
-
</ul>
|
|
145
|
-
</div>
|
|
146
|
-
<div id="searchbox" style="display: none" role="search">
|
|
147
|
-
<h3>Quick search</h3>
|
|
148
|
-
<form class="search" action="../search.html" method="get">
|
|
149
|
-
<div><input type="text" name="q" /></div>
|
|
150
|
-
<div><input type="submit" value="Go" /></div>
|
|
151
|
-
<input type="hidden" name="check_keywords" value="yes" />
|
|
152
|
-
<input type="hidden" name="area" value="default" />
|
|
153
|
-
</form>
|
|
154
|
-
</div>
|
|
155
|
-
<script type="text/javascript">$('#searchbox').show(0);</script>
|
|
156
|
-
</div>
|
|
157
|
-
</div>
|
|
158
|
-
<div class="documentwrapper">
|
|
159
|
-
<div class="bodywrapper">
|
|
160
|
-
<div class="body" role="main">
|
|
161
|
-
|
|
162
|
-
<div class="section" id="amps-programming-working-with-commands">
|
|
163
|
-
<h1>10. AMPS Programming: Working with Commands<a class="headerlink" href="#amps-programming-working-with-commands" title="Permalink to this headline">¶</a></h1>
|
|
164
|
-
<p>The AMPS clients provide named convenience methods for core AMPS
|
|
165
|
-
functionality. These named methods work by creating messages and sending
|
|
166
|
-
those messages to AMPS. All communication with AMPS occurs through
|
|
167
|
-
messages.</p>
|
|
168
|
-
<p>You can use the <code class="docutils literal"><span class="pre">Command</span></code> object to customize the messages that AMPS
|
|
169
|
-
sends. This is useful for more advanced scenarios where you need precise
|
|
170
|
-
control over the message, or in cases where you need to use an earlier
|
|
171
|
-
version of the client to communicate with a more recent version of AMPS,
|
|
172
|
-
or in cases where a named method is not available.</p>
|
|
173
|
-
<div class="section" id="understanding-amps-messages">
|
|
174
|
-
<h2>Understanding AMPS Messages<a class="headerlink" href="#understanding-amps-messages" title="Permalink to this headline">¶</a></h2>
|
|
175
|
-
<p>AMPS messages are represented in the client as AMPS.Message objects. The
|
|
176
|
-
Message object is generic, and can represent any type of AMPS message,
|
|
177
|
-
including both outgoing and incoming messages. This section includes a
|
|
178
|
-
brief overview of elements common to AMPS command message. Full details
|
|
179
|
-
of commands to AMPS are provided in the <em>AMPS Command Reference Guide</em>.</p>
|
|
180
|
-
<p>All AMPS command messages contain the following elements:</p>
|
|
181
|
-
<ul class="simple">
|
|
182
|
-
<li><strong>Command</strong>. The <em>command</em> tells AMPS how to interpret the message.
|
|
183
|
-
Without a command, AMPS will reject the message. Examples of commands
|
|
184
|
-
include <code class="docutils literal"><span class="pre">publish</span></code>, <code class="docutils literal"><span class="pre">subscribe</span></code>, and <code class="docutils literal"><span class="pre">sow</span></code>.</li>
|
|
185
|
-
<li><strong>CommandId</strong>. The <em>command id</em>, together with the name of the client,
|
|
186
|
-
uniquely identifies a command to AMPS. The command ID can be used
|
|
187
|
-
later on to refer to the command or the results of the command. For
|
|
188
|
-
example, the command id for a <code class="docutils literal"><span class="pre">subscribe</span></code> message becomes the
|
|
189
|
-
identifier for the subscription. The AMPS client provides a command
|
|
190
|
-
id when the command requires one and no command id is set.</li>
|
|
191
|
-
</ul>
|
|
192
|
-
<p>Most AMPS messages contain the following fields:</p>
|
|
193
|
-
<ul class="simple">
|
|
194
|
-
<li><strong>Topic</strong>. The <em>topic</em> that the command applies to, or a regular
|
|
195
|
-
expression that identifies a set of topics that the command applies
|
|
196
|
-
to. For most commands, the topic is required. Commands such as
|
|
197
|
-
<code class="docutils literal"><span class="pre">logon</span></code>, <code class="docutils literal"><span class="pre">start_timer</span></code>, and <code class="docutils literal"><span class="pre">stop_timer</span></code> do not apply to a
|
|
198
|
-
specific topic, and do not need this field.</li>
|
|
199
|
-
<li><strong>Ack Type</strong>. The <em>ack type</em> tells AMPS how to acknowledge the message
|
|
200
|
-
to the client. Each command has a default acknowledgment type that
|
|
201
|
-
AMPS uses if no other type is provided.</li>
|
|
202
|
-
<li><strong>Options</strong>. The <code class="docutils literal"><span class="pre">options</span></code> are a comma-separated list of options
|
|
203
|
-
that affect how AMPS processes and responds to the message.</li>
|
|
204
|
-
</ul>
|
|
205
|
-
<p>Beyond these fields, different commands include fields that are relevant
|
|
206
|
-
to that particular command. For example, SOW queries, subscriptions, and
|
|
207
|
-
some forms of SOW deletes accept the <strong>Filter</strong> field, which specifies
|
|
208
|
-
the filter to apply to the subscription or query. As another example,
|
|
209
|
-
publish commands accept the <strong>Expiration</strong> field, which sets the SOW
|
|
210
|
-
expiration for the message.</p>
|
|
211
|
-
<p>For full details on the options available for each command and the
|
|
212
|
-
acknowledgment messages returned by AMPS, see the <em>AMPS Command
|
|
213
|
-
Reference Guide</em>.</p>
|
|
214
|
-
</div>
|
|
215
|
-
<div class="section" id="creating-and-populating-the-command">
|
|
216
|
-
<h2>Creating and Populating the Command<a class="headerlink" href="#creating-and-populating-the-command" title="Permalink to this headline">¶</a></h2>
|
|
217
|
-
<p>To create a command, you simply construct a command object of the
|
|
218
|
-
appropriate type:</p>
|
|
219
|
-
<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">command</span> <span class="o">=</span> <span class="n">AMPS</span><span class="o">.</span><span class="n">Command</span><span class="p">(</span><span class="s2">"sow"</span><span class="p">)</span>
|
|
220
|
-
</pre></div>
|
|
221
|
-
</div>
|
|
222
|
-
<p>Once created, you set the appropriate fields on the message. For
|
|
223
|
-
example, the following code creates a sow query, setting the
|
|
224
|
-
command, topic, and filter for the query:</p>
|
|
225
|
-
<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">command</span> <span class="o">=</span> <span class="n">AMPS</span><span class="o">.</span><span class="n">Command</span><span class="p">(</span><span class="s2">"sow"</span><span class="p">)</span> \
|
|
226
|
-
<span class="o">.</span><span class="n">set_topic</span><span class="p">(</span><span class="s2">"messages-sow"</span><span class="p">)</span> \
|
|
227
|
-
<span class="o">.</span><span class="n">set_filter</span><span class="p">(</span><span class="s2">"/id > 20"</span><span class="p">)</span>
|
|
228
|
-
</pre></div>
|
|
229
|
-
</div>
|
|
230
|
-
<p>When sent to AMPS using the <code class="docutils literal"><span class="pre">execute()</span></code> method, AMPS performs a SOW
|
|
231
|
-
query from the topic <code class="docutils literal"><span class="pre">messages-sow</span></code> using a filter of <code class="docutils literal"><span class="pre">/id</span> <span class="pre">></span> <span class="pre">20</span></code>.
|
|
232
|
-
The results of sending this message to AMPS are no different than using
|
|
233
|
-
the form of the <code class="docutils literal"><span class="pre">sow</span></code> method that sets these fields.</p>
|
|
234
|
-
</div>
|
|
235
|
-
<div class="section" id="using-execute">
|
|
236
|
-
<h2>Using execute<a class="headerlink" href="#using-execute" title="Permalink to this headline">¶</a></h2>
|
|
237
|
-
<p>Once you’ve created a message, use the <code class="docutils literal"><span class="pre">execute</span></code> method to send the
|
|
238
|
-
message to AMPS. One form of the <code class="docutils literal"><span class="pre">execute</span></code> method returns a
|
|
239
|
-
<code class="docutils literal"><span class="pre">MessageStream</span></code> that you can use from the calling thread to process
|
|
240
|
-
responses from AMPS. The other form, <code class="docutils literal"><span class="pre">execute_async</span></code>, method sends the
|
|
241
|
-
message to AMPS,waits for a <code class="docutils literal"><span class="pre">processed</span></code> acknowledgment, then returns.
|
|
242
|
-
Messages are processed on the client background thread.</p>
|
|
243
|
-
<p>For example, the following snippet sends the command created above:</p>
|
|
244
|
-
<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">client</span><span class="o">.</span><span class="n">execute</span><span class="p">(</span><span class="n">command</span><span class="p">)</span>
|
|
245
|
-
</pre></div>
|
|
246
|
-
</div>
|
|
247
|
-
<p>This returns a <code class="docutils literal"><span class="pre">MessageStream</span></code> identical to the <code class="docutils literal"><span class="pre">MessageStream</span></code>
|
|
248
|
-
returned by the equivalent <code class="docutils literal"><span class="pre">client.sow()</span></code> method.</p>
|
|
249
|
-
<p>You can also provide a message handler to receive acknowledgments,
|
|
250
|
-
statistics, or the results of subscriptions and SOW queries. The AMPS
|
|
251
|
-
client maintains a background thread that receives and processes
|
|
252
|
-
incoming messages. The call to <code class="docutils literal"><span class="pre">execute_async</span></code> returns on the main
|
|
253
|
-
thread as soon as AMPS acknowledges the command as having been
|
|
254
|
-
processed, and messages are received and processed on the background
|
|
255
|
-
thread:</p>
|
|
256
|
-
<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="k">def</span> <span class="nf">handleMessages</span><span class="p">(</span><span class="n">m</span><span class="p">):</span>
|
|
257
|
-
<span class="nb">print</span> <span class="p">(</span><span class="s2">"</span><span class="si">%s</span><span class="s2"> : </span><span class="si">%s</span><span class="s2">"</span> <span class="o">%</span> <span class="p">(</span><span class="n">m</span><span class="o">.</span><span class="n">get_ack_type</span><span class="p">(),</span> <span class="n">m</span><span class="o">.</span><span class="n">get_reason</span><span class="p">()))</span>
|
|
258
|
-
<span class="c1"># other message handling here</span>
|
|
259
|
-
|
|
260
|
-
<span class="n">client</span><span class="o">.</span><span class="n">execute_async</span><span class="p">(</span><span class="n">command</span><span class="p">,</span> <span class="n">handleMessages</span><span class="p">)</span>
|
|
261
|
-
</pre></div>
|
|
262
|
-
</div>
|
|
263
|
-
<p>While this message handler simply prints the ack type and reason for
|
|
264
|
-
sample purposes, message handlers in production applications are
|
|
265
|
-
typically designed with a specific purpose. For example, your message
|
|
266
|
-
handler may fill a work queue, or check for success and throw an
|
|
267
|
-
exception if the command failed.</p>
|
|
268
|
-
<div class="section" id="using-execute-to-publish">
|
|
269
|
-
<h3>Using execute to Publish<a class="headerlink" href="#using-execute-to-publish" title="Permalink to this headline">¶</a></h3>
|
|
270
|
-
<p>Notice that the <code class="docutils literal"><span class="pre">publish</span></code> command does not provide typically return
|
|
271
|
-
results other than acknowledgment messages. To send a <code class="docutils literal"><span class="pre">publish</span></code>
|
|
272
|
-
command, use the <code class="docutils literal"><span class="pre">execute_async()</span></code> method, providing <code class="docutils literal"><span class="pre">None</span></code> for the
|
|
273
|
-
message handler:</p>
|
|
274
|
-
<div class="code python highlight-default"><div class="highlight"><pre><span></span><span class="n">client</span><span class="o">.</span><span class="n">execute_async</span><span class="p">(</span><span class="n">publishCmd</span><span class="p">,</span> <span class="kc">None</span><span class="p">)</span>
|
|
275
|
-
</pre></div>
|
|
276
|
-
</div>
|
|
277
|
-
<p>Since the code sets the message handler to <code class="docutils literal"><span class="pre">None</span></code>, this code does not
|
|
278
|
-
receive acknowledgments. To detect publish failures, set the
|
|
279
|
-
<code class="docutils literal"><span class="pre">FailedWriteHandler</span></code> for the client.</p>
|
|
280
|
-
</div>
|
|
281
|
-
</div>
|
|
282
|
-
<div class="section" id="command-cookbook">
|
|
283
|
-
<h2>Command Cookbook<a class="headerlink" href="#command-cookbook" title="Permalink to this headline">¶</a></h2>
|
|
284
|
-
<p>This section is a quick guide to commonly used AMPS commands. For the
|
|
285
|
-
full range of options on AMPS commands, see the<em>AMPS Command
|
|
286
|
-
Reference</em>.</p>
|
|
287
|
-
<blockquote>
|
|
288
|
-
<div></div></blockquote>
|
|
289
|
-
</div>
|
|
290
|
-
<div class="section" id="publishing">
|
|
291
|
-
<h2>Publishing<a class="headerlink" href="#publishing" title="Permalink to this headline">¶</a></h2>
|
|
292
|
-
<p>This section presents common recipes for publishing to a topic in AMPS
|
|
293
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
294
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
295
|
-
information to your application and the specific interface you are
|
|
296
|
-
using.</p>
|
|
297
|
-
<p>The AMPS server does not return a stream of messages in response to a
|
|
298
|
-
<code class="docutils literal"><span class="pre">publish</span></code> command.</p>
|
|
299
|
-
<table border="1" class="docutils">
|
|
300
|
-
<colgroup>
|
|
301
|
-
<col width="16%" />
|
|
302
|
-
<col width="84%" />
|
|
303
|
-
</colgroup>
|
|
304
|
-
<tbody valign="top">
|
|
305
|
-
<tr class="row-odd"><td><img alt="important" src="../_images/important.svg" /></td>
|
|
306
|
-
<td>AMPS <code class="docutils literal"><span class="pre">publish</span></code> commands do not return a stream of messages. A
|
|
307
|
-
publish command must be used with asynchronous message
|
|
308
|
-
processing, and should typically pass an empty message handler.</td>
|
|
309
|
-
</tr>
|
|
310
|
-
</tbody>
|
|
311
|
-
</table>
|
|
312
|
-
<div class="section" id="basic-publish">
|
|
313
|
-
<h3>Basic Publish<a class="headerlink" href="#basic-publish" title="Permalink to this headline">¶</a></h3>
|
|
314
|
-
<p>In its simplest form, a subscription needs only the topic to publish to
|
|
315
|
-
and the data to publish. The AMPS client automatically constructs the
|
|
316
|
-
necessary AMPS headers and formats the full <code class="docutils literal"><span class="pre">publish</span></code> command.</p>
|
|
317
|
-
<p>In many cases, a publisher only needs to use the basic publish command.</p>
|
|
318
|
-
<table border="1" class="docutils">
|
|
319
|
-
<colgroup>
|
|
320
|
-
<col width="50%" />
|
|
321
|
-
<col width="50%" />
|
|
322
|
-
</colgroup>
|
|
323
|
-
<thead valign="bottom">
|
|
324
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
325
|
-
<th class="head">Comment</th>
|
|
326
|
-
</tr>
|
|
327
|
-
</thead>
|
|
328
|
-
<tbody valign="top">
|
|
329
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
330
|
-
</pre></div>
|
|
331
|
-
</div>
|
|
332
|
-
</td>
|
|
333
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
334
|
-
topic specified must be a literal
|
|
335
|
-
topic name. Regular expression
|
|
336
|
-
characters in the topic name are not
|
|
337
|
-
interpreted.</p>
|
|
338
|
-
<p class="last">Some topics in AMPS, such as views
|
|
339
|
-
and conflated topics, cannot be
|
|
340
|
-
published to directly. Instead, a
|
|
341
|
-
publisher must publish to the
|
|
342
|
-
underlying topics.</p>
|
|
343
|
-
</td>
|
|
344
|
-
</tr>
|
|
345
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
346
|
-
<td>The data to publish to the topic.
|
|
347
|
-
The AMPS client does not interpret,
|
|
348
|
-
escape, or validate this data: the
|
|
349
|
-
data is provided to the server
|
|
350
|
-
verbatim.</td>
|
|
351
|
-
</tr>
|
|
352
|
-
</tbody>
|
|
353
|
-
</table>
|
|
354
|
-
<p><strong>Table 10.1:</strong> <em>Basic Publish</em></p>
|
|
355
|
-
</div>
|
|
356
|
-
<div class="section" id="publish-with-correlationid">
|
|
357
|
-
<h3>Publish With CorrelationId<a class="headerlink" href="#publish-with-correlationid" title="Permalink to this headline">¶</a></h3>
|
|
358
|
-
<p>AMPS provides publishers with a header field that can be used to contain
|
|
359
|
-
arbitrary data, the <code class="docutils literal"><span class="pre">CorrelationId</span></code>.</p>
|
|
360
|
-
<table border="1" class="docutils">
|
|
361
|
-
<colgroup>
|
|
362
|
-
<col width="50%" />
|
|
363
|
-
<col width="50%" />
|
|
364
|
-
</colgroup>
|
|
365
|
-
<thead valign="bottom">
|
|
366
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
367
|
-
<th class="head">Comment</th>
|
|
368
|
-
</tr>
|
|
369
|
-
</thead>
|
|
370
|
-
<tbody valign="top">
|
|
371
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
372
|
-
</pre></div>
|
|
373
|
-
</div>
|
|
374
|
-
</td>
|
|
375
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
376
|
-
topic specified must be a literal
|
|
377
|
-
topic name. Regular expression
|
|
378
|
-
characters in the topic name are not
|
|
379
|
-
interpreted.</p>
|
|
380
|
-
<p class="last">Some topics in AMPS, such as views
|
|
381
|
-
and conflated topics, cannot be
|
|
382
|
-
published to directly. Instead, a
|
|
383
|
-
publisher must publish to the
|
|
384
|
-
underlying topics.</p>
|
|
385
|
-
</td>
|
|
386
|
-
</tr>
|
|
387
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
388
|
-
<td>The data to publish to the topic.
|
|
389
|
-
The AMPS client does not interpret,
|
|
390
|
-
escape, or validate this data: the
|
|
391
|
-
data is provided to the server
|
|
392
|
-
verbatim.</td>
|
|
393
|
-
</tr>
|
|
394
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">CorrelationId</span></code></td>
|
|
395
|
-
<td><p class="first">The <code class="docutils literal"><span class="pre">CorrelationId</span></code> to provide on
|
|
396
|
-
the message. AMPS provides the
|
|
397
|
-
<code class="docutils literal"><span class="pre">CorrelationId</span></code> to subscribers.
|
|
398
|
-
The <code class="docutils literal"><span class="pre">CorrelationId</span></code> has no
|
|
399
|
-
significance for AMPS.</p>
|
|
400
|
-
<p class="last">The <code class="docutils literal"><span class="pre">CorrelationId</span></code> may only
|
|
401
|
-
contain characters that are valid in
|
|
402
|
-
base-64 encoding.</p>
|
|
403
|
-
</td>
|
|
404
|
-
</tr>
|
|
405
|
-
</tbody>
|
|
406
|
-
</table>
|
|
407
|
-
<p><strong>Table 10.2:</strong> <em>Publish With CorrelationId</em></p>
|
|
408
|
-
</div>
|
|
409
|
-
<div class="section" id="publish-with-explicit-sow-key">
|
|
410
|
-
<h3>Publish With Explicit SOW Key<a class="headerlink" href="#publish-with-explicit-sow-key" title="Permalink to this headline">¶</a></h3>
|
|
411
|
-
<p>When publishing to a SOW topic that is configured to require an explicit
|
|
412
|
-
SOW key, the publisher needs to set the SowKey header on the message.</p>
|
|
413
|
-
<table border="1" class="docutils">
|
|
414
|
-
<colgroup>
|
|
415
|
-
<col width="50%" />
|
|
416
|
-
<col width="50%" />
|
|
417
|
-
</colgroup>
|
|
418
|
-
<thead valign="bottom">
|
|
419
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
420
|
-
<th class="head">Comment</th>
|
|
421
|
-
</tr>
|
|
422
|
-
</thead>
|
|
423
|
-
<tbody valign="top">
|
|
424
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
425
|
-
</pre></div>
|
|
426
|
-
</div>
|
|
427
|
-
</td>
|
|
428
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
429
|
-
topic specified must be a literal
|
|
430
|
-
topic name. Regular expression
|
|
431
|
-
characters in the topic name are not
|
|
432
|
-
interpreted.</p>
|
|
433
|
-
<p class="last">Some topics in AMPS, such as views
|
|
434
|
-
and conflated topics, cannot be
|
|
435
|
-
published to directly. Instead, a
|
|
436
|
-
publisher must publish to the
|
|
437
|
-
underlying topics.</p>
|
|
438
|
-
</td>
|
|
439
|
-
</tr>
|
|
440
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
441
|
-
<td>The data to publish to the topic.
|
|
442
|
-
The AMPS client does not interpret,
|
|
443
|
-
escape, or validate this data: the
|
|
444
|
-
data is provided to the server
|
|
445
|
-
verbatim.</td>
|
|
446
|
-
</tr>
|
|
447
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SowKey</span></code></td>
|
|
448
|
-
<td>The SOW Key to use for this message.
|
|
449
|
-
This header is only supported for
|
|
450
|
-
publishes to a topic that requires
|
|
451
|
-
an explicit SOW Key.</td>
|
|
452
|
-
</tr>
|
|
453
|
-
</tbody>
|
|
454
|
-
</table>
|
|
455
|
-
<p><strong>Table 10.3:</strong> <em>Publish with Explicit SOW Key</em></p>
|
|
456
|
-
</div>
|
|
457
|
-
</div>
|
|
458
|
-
<div class="section" id="command-cookbook-subscribing">
|
|
459
|
-
<h2>Command Cookbook: Subscribing<a class="headerlink" href="#command-cookbook-subscribing" title="Permalink to this headline">¶</a></h2>
|
|
460
|
-
<p>This section presents common recipes for subscribing to a topic in AMPS
|
|
461
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
462
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
463
|
-
information to your application and the specific interface you are
|
|
464
|
-
using.</p>
|
|
465
|
-
<div class="section" id="basic-subscription">
|
|
466
|
-
<h3>Basic Subscription<a class="headerlink" href="#basic-subscription" title="Permalink to this headline">¶</a></h3>
|
|
467
|
-
<p>In its simplest form, a subscription needs only the topic to subscribe
|
|
468
|
-
to.</p>
|
|
469
|
-
<table border="1" class="docutils">
|
|
470
|
-
<colgroup>
|
|
471
|
-
<col width="50%" />
|
|
472
|
-
<col width="50%" />
|
|
473
|
-
</colgroup>
|
|
474
|
-
<thead valign="bottom">
|
|
475
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
476
|
-
<th class="head">Comment</th>
|
|
477
|
-
</tr>
|
|
478
|
-
</thead>
|
|
479
|
-
<tbody valign="top">
|
|
480
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
481
|
-
</pre></div>
|
|
482
|
-
</div>
|
|
483
|
-
</td>
|
|
484
|
-
<td>Sets the topic to subscribe to. All
|
|
485
|
-
messages from the topic will be
|
|
486
|
-
delivered on this subscription. The
|
|
487
|
-
topic specified can be the literal
|
|
488
|
-
topic name, or a regular expression
|
|
489
|
-
that matches multiple topics.</td>
|
|
490
|
-
</tr>
|
|
491
|
-
</tbody>
|
|
492
|
-
</table>
|
|
493
|
-
<p><strong>Table 10.4:</strong> <em>Basic Subscription</em></p>
|
|
494
|
-
</div>
|
|
495
|
-
<div class="section" id="basic-subscription-with-options">
|
|
496
|
-
<h3>Basic Subscription With Options<a class="headerlink" href="#basic-subscription-with-options" title="Permalink to this headline">¶</a></h3>
|
|
497
|
-
<p>In its simplest form, a subscription needs only the topic to subscribe
|
|
498
|
-
to. To add options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> header on
|
|
499
|
-
the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
500
|
-
<table border="1" class="docutils">
|
|
501
|
-
<colgroup>
|
|
502
|
-
<col width="50%" />
|
|
503
|
-
<col width="50%" />
|
|
504
|
-
</colgroup>
|
|
505
|
-
<thead valign="bottom">
|
|
506
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
507
|
-
<th class="head">Comment</th>
|
|
508
|
-
</tr>
|
|
509
|
-
</thead>
|
|
510
|
-
<tbody valign="top">
|
|
511
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
512
|
-
</pre></div>
|
|
513
|
-
</div>
|
|
514
|
-
</td>
|
|
515
|
-
<td>Sets the topic to subscribe to. All
|
|
516
|
-
messages from the topic will be
|
|
517
|
-
delivered on this subscription. The
|
|
518
|
-
topic specified can be the literal
|
|
519
|
-
topic name, or a regular expression
|
|
520
|
-
that matches multiple topics.</td>
|
|
521
|
-
</tr>
|
|
522
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
523
|
-
<td>A comma-delimited set of options for
|
|
524
|
-
this command. See the <em>AMPS Command
|
|
525
|
-
Reference</em> for a description of
|
|
526
|
-
supported options.</td>
|
|
527
|
-
</tr>
|
|
528
|
-
</tbody>
|
|
529
|
-
</table>
|
|
530
|
-
<p><strong>Table 10.4:</strong> <em>Basic Subscription with Options</em></p>
|
|
531
|
-
</div>
|
|
532
|
-
<div class="section" id="basic-subscription-with-select-list">
|
|
533
|
-
<h3>Basic Subscription With Select List<a class="headerlink" href="#basic-subscription-with-select-list" title="Permalink to this headline">¶</a></h3>
|
|
534
|
-
<p>In its simplest form, a subscription needs only the topic to subscribe
|
|
535
|
-
to. To use a select list with the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> header on
|
|
536
|
-
the <code class="docutils literal"><span class="pre">Command</span></code> to the select list specifier.</p>
|
|
537
|
-
<table border="1" class="docutils">
|
|
538
|
-
<colgroup>
|
|
539
|
-
<col width="50%" />
|
|
540
|
-
<col width="50%" />
|
|
541
|
-
</colgroup>
|
|
542
|
-
<thead valign="bottom">
|
|
543
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
544
|
-
<th class="head">Comment</th>
|
|
545
|
-
</tr>
|
|
546
|
-
</thead>
|
|
547
|
-
<tbody valign="top">
|
|
548
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
549
|
-
</pre></div>
|
|
550
|
-
</div>
|
|
551
|
-
</td>
|
|
552
|
-
<td>Sets the topic to subscribe to. All
|
|
553
|
-
messages from the topic will be
|
|
554
|
-
delivered on this subscription. The
|
|
555
|
-
topic specified can be the literal
|
|
556
|
-
topic name, or a regular expression
|
|
557
|
-
that matches multiple topics.</td>
|
|
558
|
-
</tr>
|
|
559
|
-
<tr class="row-odd"><td rowspan="6"><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
560
|
-
<td rowspan="6"><p class="first">A comma-delimited set of options for
|
|
561
|
-
this command. See the <em>AMPS Command
|
|
562
|
-
Reference</em> for a description of
|
|
563
|
-
supported options.</p>
|
|
564
|
-
<p class="last">For example, to remove all fields
|
|
565
|
-
except for <code class="docutils literal"><span class="pre">/id</span></code> and <code class="docutils literal"><span class="pre">/ticker</span></code>,
|
|
566
|
-
you might use an option string of
|
|
567
|
-
<code class="docutils literal"><span class="pre">select=[-/,+/id,+/ticker]</span></code></p>
|
|
568
|
-
</td>
|
|
569
|
-
</tr>
|
|
570
|
-
<tr class="row-even"></tr>
|
|
571
|
-
<tr class="row-odd"></tr>
|
|
572
|
-
<tr class="row-even"></tr>
|
|
573
|
-
<tr class="row-odd"></tr>
|
|
574
|
-
<tr class="row-even"></tr>
|
|
575
|
-
</tbody>
|
|
576
|
-
</table>
|
|
577
|
-
<p><strong>Table 10.5:</strong> <em>Basic Subscription with Select List</em></p>
|
|
578
|
-
</div>
|
|
579
|
-
<div class="section" id="content-filtered-subscription">
|
|
580
|
-
<h3>Content Filtered Subscription<a class="headerlink" href="#content-filtered-subscription" title="Permalink to this headline">¶</a></h3>
|
|
581
|
-
<p>To provide a content filter on a subscription, set the <code class="docutils literal"><span class="pre">Filter</span></code>
|
|
582
|
-
property on the command. The <em>AMPS User Guide</em> provides details on the
|
|
583
|
-
filter syntax.</p>
|
|
584
|
-
<table border="1" class="docutils">
|
|
585
|
-
<colgroup>
|
|
586
|
-
<col width="50%" />
|
|
587
|
-
<col width="50%" />
|
|
588
|
-
</colgroup>
|
|
589
|
-
<thead valign="bottom">
|
|
590
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
591
|
-
<th class="head">Comment</th>
|
|
592
|
-
</tr>
|
|
593
|
-
</thead>
|
|
594
|
-
<tbody valign="top">
|
|
595
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
596
|
-
</pre></div>
|
|
597
|
-
</div>
|
|
598
|
-
</td>
|
|
599
|
-
<td>Sets the topic to subscribe to. The
|
|
600
|
-
topic provided can be either the
|
|
601
|
-
exact name of the topic, or a
|
|
602
|
-
regular expression that matches the
|
|
603
|
-
names of the topics for the
|
|
604
|
-
subscription.</td>
|
|
605
|
-
</tr>
|
|
606
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
607
|
-
<td>Sets the content filter to be
|
|
608
|
-
applied to the subscription. Only
|
|
609
|
-
messages that match the content
|
|
610
|
-
filter will be provided to the
|
|
611
|
-
subscription.</td>
|
|
612
|
-
</tr>
|
|
613
|
-
</tbody>
|
|
614
|
-
</table>
|
|
615
|
-
<p><strong>Table 10.6:</strong> <em>Content Filtered Subscription</em></p>
|
|
616
|
-
</div>
|
|
617
|
-
<div class="section" id="conflated-subscription-to-a-sow-topic">
|
|
618
|
-
<h3>Conflated Subscription to a SOW Topic<a class="headerlink" href="#conflated-subscription-to-a-sow-topic" title="Permalink to this headline">¶</a></h3>
|
|
619
|
-
<p>To request conflation on a subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> property on
|
|
620
|
-
the command to specify the conflation interval. When the topic has a SOW
|
|
621
|
-
(including a view or a conflated topic), there is no need to provide a
|
|
622
|
-
<code class="docutils literal"><span class="pre">conflation_key</span></code>.</p>
|
|
623
|
-
<table border="1" class="docutils">
|
|
624
|
-
<colgroup>
|
|
625
|
-
<col width="50%" />
|
|
626
|
-
<col width="50%" />
|
|
627
|
-
</colgroup>
|
|
628
|
-
<thead valign="bottom">
|
|
629
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
630
|
-
<th class="head">Comment</th>
|
|
631
|
-
</tr>
|
|
632
|
-
</thead>
|
|
633
|
-
<tbody valign="top">
|
|
634
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
635
|
-
</pre></div>
|
|
636
|
-
</div>
|
|
637
|
-
</td>
|
|
638
|
-
<td>Sets the topic to subscribe to. The
|
|
639
|
-
topic provided can be either the
|
|
640
|
-
exact name of the topic, or a
|
|
641
|
-
regular expression that matches the
|
|
642
|
-
names of the topics for the
|
|
643
|
-
subscription.</td>
|
|
644
|
-
</tr>
|
|
645
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
646
|
-
<td><p class="first">A comma-separated list of options
|
|
647
|
-
for the command. Set the conflation
|
|
648
|
-
interval in the options.</p>
|
|
649
|
-
<p>For example, to set a conflation
|
|
650
|
-
interval of 250 milliseconds,
|
|
651
|
-
provide the following option:</p>
|
|
652
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">conflation</span><span class="o">=</span><span class="mi">250</span><span class="n">ms</span>
|
|
653
|
-
</pre></div>
|
|
654
|
-
</div>
|
|
655
|
-
<p>To set the conflation interval to 1
|
|
656
|
-
minute, provide an option of:</p>
|
|
657
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="n">conflation</span><span class="o">=</span><span class="mi">1</span><span class="n">m</span>
|
|
658
|
-
</pre></div>
|
|
659
|
-
</div>
|
|
660
|
-
</td>
|
|
661
|
-
</tr>
|
|
662
|
-
</tbody>
|
|
663
|
-
</table>
|
|
664
|
-
<p><strong>Table 10.7:</strong> <em>Conflated Subscription to a SOW topic</em></p>
|
|
665
|
-
</div>
|
|
666
|
-
<div class="section" id="conflated-subscription-to-a-topic-with-no-sow">
|
|
667
|
-
<h3>Conflated Subscription to a Topic With No SOW<a class="headerlink" href="#conflated-subscription-to-a-topic-with-no-sow" title="Permalink to this headline">¶</a></h3>
|
|
668
|
-
<p>To request conflation on a subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> property on
|
|
669
|
-
the command to specify the conflation interval. When the topic does not
|
|
670
|
-
have a SOW, you must provide a <code class="docutils literal"><span class="pre">conflation_key</span></code>.</p>
|
|
671
|
-
<table border="1" class="docutils">
|
|
672
|
-
<colgroup>
|
|
673
|
-
<col width="50%" />
|
|
674
|
-
<col width="50%" />
|
|
675
|
-
</colgroup>
|
|
676
|
-
<thead valign="bottom">
|
|
677
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
678
|
-
<th class="head">Comment</th>
|
|
679
|
-
</tr>
|
|
680
|
-
</thead>
|
|
681
|
-
<tbody valign="top">
|
|
682
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
683
|
-
</pre></div>
|
|
684
|
-
</div>
|
|
685
|
-
</td>
|
|
686
|
-
<td>Sets the topic to subscribe to. The
|
|
687
|
-
topic provided can be either the
|
|
688
|
-
exact name of the topic, or a
|
|
689
|
-
regular expression that matches the
|
|
690
|
-
names of the topics for the
|
|
691
|
-
subscription.</td>
|
|
692
|
-
</tr>
|
|
693
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
694
|
-
<td><p class="first">A comma-separated list of options
|
|
695
|
-
for the command. Set the conflation
|
|
696
|
-
interval and the fields that
|
|
697
|
-
determine a unique message in the
|
|
698
|
-
options.</p>
|
|
699
|
-
<p>For example, to set a conflation
|
|
700
|
-
interval of 250 milliseconds for
|
|
701
|
-
messages that have the same value
|
|
702
|
-
for <code class="docutils literal"><span class="pre">/id</span></code>, provide the following
|
|
703
|
-
option:</p>
|
|
704
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span> <span class="n">conflation</span><span class="o">=</span><span class="mi">250</span><span class="n">ms</span><span class="p">,</span><span class="n">conflation_key</span><span class="o">=</span>
|
|
705
|
-
<span class="p">[</span><span class="o">/</span><span class="nb">id</span><span class="p">]</span>
|
|
706
|
-
</pre></div>
|
|
707
|
-
</div>
|
|
708
|
-
<p>To set the conflation interval to 1
|
|
709
|
-
minute for messages are the same as
|
|
710
|
-
determined by a combination of
|
|
711
|
-
<code class="docutils literal"><span class="pre">/customerId</span></code> and <code class="docutils literal"><span class="pre">/issueNumber</span></code>
|
|
712
|
-
provide an option of:</p>
|
|
713
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="n">conflation</span><span class="o">=</span><span class="mi">1</span><span class="n">m</span><span class="p">,</span>
|
|
714
|
-
<span class="n">conflation_key</span><span class="o">=</span><span class="p">[</span><span class="o">/</span><span class="n">customerId</span><span class="p">,</span><span class="o">/</span><span class="n">iss</span>
|
|
715
|
-
<span class="n">ueNumber</span><span class="p">]</span>
|
|
716
|
-
</pre></div>
|
|
717
|
-
</div>
|
|
718
|
-
</td>
|
|
719
|
-
</tr>
|
|
720
|
-
</tbody>
|
|
721
|
-
</table>
|
|
722
|
-
<p><strong>Table 10.8:</strong> <em>Conflated Subscription to a SOW topic</em></p>
|
|
723
|
-
</div>
|
|
724
|
-
<div class="section" id="bookmark-subscription">
|
|
725
|
-
<h3>Bookmark Subscription<a class="headerlink" href="#bookmark-subscription" title="Permalink to this headline">¶</a></h3>
|
|
726
|
-
<p>To create a bookmark subscription, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
727
|
-
command. The value of this property can be either a specific bookmark, a
|
|
728
|
-
timestamp, or one of the client-provided constants. The <em>AMPS User
|
|
729
|
-
Guide</em> provides details on creating timestamps. Notice that the
|
|
730
|
-
<code class="docutils literal"><span class="pre">MOST_RECENT</span></code> constant tells the AMPS client to find the appropriate
|
|
731
|
-
message in the client bookmark store and begin the subscription at that
|
|
732
|
-
point. In this case, the client sends that bookmark value to AMPS. The
|
|
733
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> option is only supported for topics that are recorded in an
|
|
734
|
-
AMPS transaction log.</p>
|
|
735
|
-
<table border="1" class="docutils">
|
|
736
|
-
<colgroup>
|
|
737
|
-
<col width="50%" />
|
|
738
|
-
<col width="50%" />
|
|
739
|
-
</colgroup>
|
|
740
|
-
<thead valign="bottom">
|
|
741
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
742
|
-
<th class="head">Comment</th>
|
|
743
|
-
</tr>
|
|
744
|
-
</thead>
|
|
745
|
-
<tbody valign="top">
|
|
746
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
747
|
-
</pre></div>
|
|
748
|
-
</div>
|
|
749
|
-
</td>
|
|
750
|
-
<td>Sets the topic to subscribe to. The
|
|
751
|
-
topic provided can be either the
|
|
752
|
-
exact name of the topic, or a
|
|
753
|
-
regular expression that matches the
|
|
754
|
-
names of the topics for the
|
|
755
|
-
subscription.</td>
|
|
756
|
-
</tr>
|
|
757
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
758
|
-
<td><p class="first">Sets the point in the transaction
|
|
759
|
-
log at which the subscription will
|
|
760
|
-
begin. The bookmark provided can be
|
|
761
|
-
a specific AMPS bookmark, a
|
|
762
|
-
timestamp, or one of the
|
|
763
|
-
client-provided constants.</p>
|
|
764
|
-
<p class="last">AMPS also accepts a comma-delimited
|
|
765
|
-
list of bookmarks. In this case,
|
|
766
|
-
AMPS begins the subscription from
|
|
767
|
-
whichever of the bookmarks is
|
|
768
|
-
earliest in the transaction log.</p>
|
|
769
|
-
</td>
|
|
770
|
-
</tr>
|
|
771
|
-
</tbody>
|
|
772
|
-
</table>
|
|
773
|
-
<p><strong>Table 10.9:</strong> <em>Bookmark Subscription</em></p>
|
|
774
|
-
</div>
|
|
775
|
-
<div class="section" id="rate-controlled-bookmark-subscription">
|
|
776
|
-
<h3>Rate Controlled Bookmark Subscription<a class="headerlink" href="#rate-controlled-bookmark-subscription" title="Permalink to this headline">¶</a></h3>
|
|
777
|
-
<p>To create a bookmark subscription, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
778
|
-
command. The value of this property can be either a specific bookmark, a
|
|
779
|
-
timestamp, or one of the client-provided constants. The <em>AMPS User
|
|
780
|
-
Guide</em> provides details on creating timestamps. Notice that the
|
|
781
|
-
<code class="docutils literal"><span class="pre">MOST_RECENT</span></code> constant tells the AMPS client to find the appropriate
|
|
782
|
-
message in the client bookmark store and begin the subscription at that
|
|
783
|
-
point. In this case, the client sends that bookmark value to AMPS. The
|
|
784
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> option is only supported for topics that are recorded in an
|
|
785
|
-
AMPS transaction log.</p>
|
|
786
|
-
<table border="1" class="docutils">
|
|
787
|
-
<colgroup>
|
|
788
|
-
<col width="50%" />
|
|
789
|
-
<col width="50%" />
|
|
790
|
-
</colgroup>
|
|
791
|
-
<thead valign="bottom">
|
|
792
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
793
|
-
<th class="head">Comment</th>
|
|
794
|
-
</tr>
|
|
795
|
-
</thead>
|
|
796
|
-
<tbody valign="top">
|
|
797
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
798
|
-
</pre></div>
|
|
799
|
-
</div>
|
|
800
|
-
</td>
|
|
801
|
-
<td>Sets the topic to subscribe to. The
|
|
802
|
-
topic provided can be either the
|
|
803
|
-
exact name of the topic, or a
|
|
804
|
-
regular expression that matches the
|
|
805
|
-
names of the topics for the
|
|
806
|
-
subscription.</td>
|
|
807
|
-
</tr>
|
|
808
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
809
|
-
<td><p class="first">Sets the point in the transaction
|
|
810
|
-
log at which the subscription will
|
|
811
|
-
begin. The bookmark provided can be
|
|
812
|
-
a specific AMPS bookmark, a
|
|
813
|
-
timestamp, or one of the
|
|
814
|
-
client-provided constants.</p>
|
|
815
|
-
<p class="last">AMPS also accepts a comma-delimited
|
|
816
|
-
list of bookmarks. In this case,
|
|
817
|
-
AMPS begins the subscription from
|
|
818
|
-
whichever of the bookmarks is
|
|
819
|
-
earliest in the transaction log.</p>
|
|
820
|
-
</td>
|
|
821
|
-
</tr>
|
|
822
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
823
|
-
<td>A comma-separated list of options
|
|
824
|
-
for the command. To control the rate
|
|
825
|
-
at which AMPS delivers messages, the
|
|
826
|
-
options for the command must include
|
|
827
|
-
a rate specifier. For example, to
|
|
828
|
-
specify a limit of 750 messages per
|
|
829
|
-
second, include <code class="docutils literal"><span class="pre">rate=750</span></code> in the
|
|
830
|
-
options string.</td>
|
|
831
|
-
</tr>
|
|
832
|
-
</tbody>
|
|
833
|
-
</table>
|
|
834
|
-
<p><strong>Table 10.10:</strong> <em>Bookmark Subscription</em></p>
|
|
835
|
-
</div>
|
|
836
|
-
<div class="section" id="bookmark-subscription-with-completed-acknowledgement">
|
|
837
|
-
<h3>Bookmark Subscription With Completed Acknowledgement<a class="headerlink" href="#bookmark-subscription-with-completed-acknowledgement" title="Permalink to this headline">¶</a></h3>
|
|
838
|
-
<p>To create a bookmark subscription, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
839
|
-
command. The value of this property can be either a specific bookmark, a
|
|
840
|
-
timestamp, or one of the client-provided constants. The <em>AMPS User
|
|
841
|
-
Guide</em> provides details on creating timestamps. Notice that the
|
|
842
|
-
<code class="docutils literal"><span class="pre">MOST_RECENT</span></code> constant tells the AMPS client to find the appropriate
|
|
843
|
-
message in the client bookmark store and begin the subscription at that
|
|
844
|
-
point. In this case, the client sends that bookmark value to AMPS. The
|
|
845
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> option is only supported for topics that are recorded in an
|
|
846
|
-
AMPS transaction log.</p>
|
|
847
|
-
<table border="1" class="docutils">
|
|
848
|
-
<colgroup>
|
|
849
|
-
<col width="50%" />
|
|
850
|
-
<col width="50%" />
|
|
851
|
-
</colgroup>
|
|
852
|
-
<thead valign="bottom">
|
|
853
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
854
|
-
<th class="head">Comment</th>
|
|
855
|
-
</tr>
|
|
856
|
-
</thead>
|
|
857
|
-
<tbody valign="top">
|
|
858
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
859
|
-
</pre></div>
|
|
860
|
-
</div>
|
|
861
|
-
</td>
|
|
862
|
-
<td>Sets the topic to subscribe to. The
|
|
863
|
-
topic provided can be either the
|
|
864
|
-
exact name of the topic, or a
|
|
865
|
-
regular expression that matches the
|
|
866
|
-
names of the topics for the
|
|
867
|
-
subscription.</td>
|
|
868
|
-
</tr>
|
|
869
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
870
|
-
<td><p class="first">Sets the point in the transaction
|
|
871
|
-
log at which the subscription will
|
|
872
|
-
begin. The bookmark provided can be
|
|
873
|
-
a specific AMPS bookmark, a
|
|
874
|
-
timestamp, or one of the
|
|
875
|
-
client-provided constants.</p>
|
|
876
|
-
<p class="last">AMPS also accepts a comma-delimited
|
|
877
|
-
list of bookmarks. In this case,
|
|
878
|
-
AMPS begins the subscription from
|
|
879
|
-
whichever of the bookmarks is
|
|
880
|
-
earliest in the transaction log.</p>
|
|
881
|
-
</td>
|
|
882
|
-
</tr>
|
|
883
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Acknowledgements</span></code></td>
|
|
884
|
-
<td><p class="first">Sets the acknowledgement messages
|
|
885
|
-
that AMPS returns. The AMPS clients
|
|
886
|
-
typically request a <code class="docutils literal"><span class="pre">processed</span></code>
|
|
887
|
-
acknowledgement for a subscription
|
|
888
|
-
to verify whether the subscription
|
|
889
|
-
succeeded.</p>
|
|
890
|
-
<p class="last">To receive a <code class="docutils literal"><span class="pre">completed</span></code>
|
|
891
|
-
acknowledgement, which indicates the
|
|
892
|
-
point at which replay is complete
|
|
893
|
-
for the subscription, include
|
|
894
|
-
<code class="docutils literal"><span class="pre">completed</span></code> in the set of
|
|
895
|
-
acknowledgements requested. AMPS
|
|
896
|
-
will return a message with a
|
|
897
|
-
command type of <code class="docutils literal"><span class="pre">ack</span></code> and an
|
|
898
|
-
ack type of <code class="docutils literal"><span class="pre">completed</span></code> at that
|
|
899
|
-
point in the subscription.</p>
|
|
900
|
-
</td>
|
|
901
|
-
</tr>
|
|
902
|
-
</tbody>
|
|
903
|
-
</table>
|
|
904
|
-
<p><strong>Table 10.11:</strong> <em>Bookmark Subscription With Completed Acknowledgement</em></p>
|
|
905
|
-
</div>
|
|
906
|
-
<div class="section" id="bookmark-subscription-with-content-filter">
|
|
907
|
-
<h3>Bookmark Subscription With Content Filter<a class="headerlink" href="#bookmark-subscription-with-content-filter" title="Permalink to this headline">¶</a></h3>
|
|
908
|
-
<p>To create a bookmark subscription, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
909
|
-
command. The property can be either a specific bookmark, a timestamp, or
|
|
910
|
-
one of the client-provided constants. The <em>AMPS User Guide</em> provides
|
|
911
|
-
details on creating timestamps. Notice that the <code class="docutils literal"><span class="pre">MOST_RECENT</span></code> constant
|
|
912
|
-
tells the AMPS client to find the appropriate message in the client
|
|
913
|
-
bookmark store and begin the subscription at that point. In this case,
|
|
914
|
-
the client sends that bookmark value to AMPS.</p>
|
|
915
|
-
<p>To add a filter to a bookmark subscription, set the <code class="docutils literal"><span class="pre">Filter</span></code> property
|
|
916
|
-
on the command. The <em>AMPS User Guide</em> provides details on the filter
|
|
917
|
-
syntax.</p>
|
|
918
|
-
<table border="1" class="docutils">
|
|
919
|
-
<colgroup>
|
|
920
|
-
<col width="50%" />
|
|
921
|
-
<col width="50%" />
|
|
922
|
-
</colgroup>
|
|
923
|
-
<thead valign="bottom">
|
|
924
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
925
|
-
<th class="head">Comment</th>
|
|
926
|
-
</tr>
|
|
927
|
-
</thead>
|
|
928
|
-
<tbody valign="top">
|
|
929
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
930
|
-
</pre></div>
|
|
931
|
-
</div>
|
|
932
|
-
</td>
|
|
933
|
-
<td>Sets the topic to subscribe to. The
|
|
934
|
-
topic provided can be either the
|
|
935
|
-
exact name of the topic, or a
|
|
936
|
-
regular expression that matches the
|
|
937
|
-
names of the topics for the
|
|
938
|
-
subscription.</td>
|
|
939
|
-
</tr>
|
|
940
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
941
|
-
<td><p class="first">Sets the point in the transaction
|
|
942
|
-
log at which the subscription will
|
|
943
|
-
begin. The bookmark provided can be
|
|
944
|
-
a specific AMPS bookmark, a
|
|
945
|
-
timestamp, or one of the
|
|
946
|
-
client-provided constants.</p>
|
|
947
|
-
<p class="last">AMPS also accepts a comma-delimited
|
|
948
|
-
list of bookmarks. In this case,
|
|
949
|
-
AMPS begins the subscription from
|
|
950
|
-
whichever of the bookmarks is
|
|
951
|
-
earliest in the transaction log.</p>
|
|
952
|
-
</td>
|
|
953
|
-
</tr>
|
|
954
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
955
|
-
<td>Sets the content filter to be
|
|
956
|
-
applied to the subscription. Only
|
|
957
|
-
messages that match the content
|
|
958
|
-
filter will be provided to the
|
|
959
|
-
subscription.</td>
|
|
960
|
-
</tr>
|
|
961
|
-
</tbody>
|
|
962
|
-
</table>
|
|
963
|
-
<p><strong>Table 10.12:</strong> <em>Bookmark Subscription With Content Filter</em></p>
|
|
964
|
-
</div>
|
|
965
|
-
<div class="section" id="rate-controlled-bookmark-subscription-with-maximum-gap">
|
|
966
|
-
<h3>Rate Controlled Bookmark Subscription With Maximum Gap<a class="headerlink" href="#rate-controlled-bookmark-subscription-with-maximum-gap" title="Permalink to this headline">¶</a></h3>
|
|
967
|
-
<p>To create a bookmark subscription, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
968
|
-
command. The value of this property can be either a specific bookmark, a
|
|
969
|
-
timestamp, or one of the client-provided constants. The <em>AMPS User
|
|
970
|
-
Guide</em> provides details on creating timestamps. Notice that the
|
|
971
|
-
<code class="docutils literal"><span class="pre">MOST_RECENT</span></code> constant tells the AMPS client to find the appropriate
|
|
972
|
-
message in the client bookmark store and begin the subscription at that
|
|
973
|
-
point. In this case, the client sends that bookmark value to AMPS. The
|
|
974
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> option is only supported for topics that are recorded in an
|
|
975
|
-
AMPS transaction log.</p>
|
|
976
|
-
<p>The <code class="docutils literal"><span class="pre">rate</span></code> option specifies the rate at which to replay messages,
|
|
977
|
-
while the <code class="docutils literal"><span class="pre">max_gap</span></code> option specifies the maximum amount of time for
|
|
978
|
-
AMPS to allow between messages.</p>
|
|
979
|
-
<table border="1" class="docutils">
|
|
980
|
-
<colgroup>
|
|
981
|
-
<col width="50%" />
|
|
982
|
-
<col width="50%" />
|
|
983
|
-
</colgroup>
|
|
984
|
-
<thead valign="bottom">
|
|
985
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
986
|
-
<th class="head">Comment</th>
|
|
987
|
-
</tr>
|
|
988
|
-
</thead>
|
|
989
|
-
<tbody valign="top">
|
|
990
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
991
|
-
</pre></div>
|
|
992
|
-
</div>
|
|
993
|
-
</td>
|
|
994
|
-
<td>Sets the topic to subscribe to. The
|
|
995
|
-
topic provided can be either the
|
|
996
|
-
exact name of the topic, or a
|
|
997
|
-
regular expression that matches the
|
|
998
|
-
names of the topics for the
|
|
999
|
-
subscription.</td>
|
|
1000
|
-
</tr>
|
|
1001
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
1002
|
-
<td><p class="first">Sets the point in the transaction
|
|
1003
|
-
log at which the subscription will
|
|
1004
|
-
begin. The bookmark provided can be
|
|
1005
|
-
a specific AMPS bookmark, a
|
|
1006
|
-
timestamp, or one of the
|
|
1007
|
-
client-provided constants.</p>
|
|
1008
|
-
<p class="last">AMPS also accepts a comma-delimited
|
|
1009
|
-
list of bookmarks. In this case,
|
|
1010
|
-
AMPS begins the subscription from
|
|
1011
|
-
whichever of the bookmarks is
|
|
1012
|
-
earliest in the transaction log.</p>
|
|
1013
|
-
</td>
|
|
1014
|
-
</tr>
|
|
1015
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1016
|
-
<td><p class="first">A comma-separated list of options
|
|
1017
|
-
for the command. To control the rate
|
|
1018
|
-
at which AMPS delivers messages, the
|
|
1019
|
-
options for the command must include
|
|
1020
|
-
a rate specifier. For example, to
|
|
1021
|
-
specify that AMPS replays no faster
|
|
1022
|
-
than twice the original rate,
|
|
1023
|
-
include <code class="docutils literal"><span class="pre">2X</span></code> in the options
|
|
1024
|
-
string. To specify that AMPS will
|
|
1025
|
-
go no more than 3 seconds without
|
|
1026
|
-
producing a message, regardless of
|
|
1027
|
-
the original replay timing, use a
|
|
1028
|
-
<code class="docutils literal"><span class="pre">rate_max_gap</span></code> of <code class="docutils literal"><span class="pre">3s</span></code>.</p>
|
|
1029
|
-
<p class="last">To provide the options described ,
|
|
1030
|
-
above, you would use the options
|
|
1031
|
-
string:
|
|
1032
|
-
<code class="docutils literal"><span class="pre">rate=2X,rate_max_gap=3s</span></code></p>
|
|
1033
|
-
</td>
|
|
1034
|
-
</tr>
|
|
1035
|
-
</tbody>
|
|
1036
|
-
</table>
|
|
1037
|
-
<p><strong>Table 10.13:</strong> <em>Bookmark Subscription with Maximum Gap Between Messages</em></p>
|
|
1038
|
-
</div>
|
|
1039
|
-
<div class="section" id="pausing-a-bookmark-subscription">
|
|
1040
|
-
<h3>Pausing a Bookmark Subscription<a class="headerlink" href="#pausing-a-bookmark-subscription" title="Permalink to this headline">¶</a></h3>
|
|
1041
|
-
<p>To pause a bookmark subscription, you must provide the subscription ID
|
|
1042
|
-
and the <code class="docutils literal"><span class="pre">pause</span></code> option on a subscribe command.</p>
|
|
1043
|
-
<table border="1" class="docutils">
|
|
1044
|
-
<colgroup>
|
|
1045
|
-
<col width="50%" />
|
|
1046
|
-
<col width="50%" />
|
|
1047
|
-
</colgroup>
|
|
1048
|
-
<thead valign="bottom">
|
|
1049
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1050
|
-
<th class="head">Comment</th>
|
|
1051
|
-
</tr>
|
|
1052
|
-
</thead>
|
|
1053
|
-
<tbody valign="top">
|
|
1054
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1055
|
-
</pre></div>
|
|
1056
|
-
</div>
|
|
1057
|
-
</td>
|
|
1058
|
-
<td>Sets the topic to subscribe to. The
|
|
1059
|
-
topic provided can be either the
|
|
1060
|
-
exact name of the topic, or a
|
|
1061
|
-
regular expression that matches the
|
|
1062
|
-
names of the topics for the
|
|
1063
|
-
subscription.</td>
|
|
1064
|
-
</tr>
|
|
1065
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SubId</span></code></td>
|
|
1066
|
-
<td>A comma-delimited list of
|
|
1067
|
-
subscription IDs to pause.</td>
|
|
1068
|
-
</tr>
|
|
1069
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1070
|
-
<td>A comma-delimited list of options
|
|
1071
|
-
for the command. To pause a
|
|
1072
|
-
subscription, the options must
|
|
1073
|
-
include <code class="docutils literal"><span class="pre">pause</span></code>.</td>
|
|
1074
|
-
</tr>
|
|
1075
|
-
</tbody>
|
|
1076
|
-
</table>
|
|
1077
|
-
<p><strong>Table 10.14:</strong> <em>Pause a Bookmark Subscription</em></p>
|
|
1078
|
-
</div>
|
|
1079
|
-
<div class="section" id="resuming-a-bookmark-subscription">
|
|
1080
|
-
<h3>Resuming a Bookmark Subscription<a class="headerlink" href="#resuming-a-bookmark-subscription" title="Permalink to this headline">¶</a></h3>
|
|
1081
|
-
<p>To resume a bookmark subscription, you must provide the subscription ID
|
|
1082
|
-
and the <code class="docutils literal"><span class="pre">resume</span></code> option on a subscribe command.</p>
|
|
1083
|
-
<table border="1" class="docutils">
|
|
1084
|
-
<colgroup>
|
|
1085
|
-
<col width="50%" />
|
|
1086
|
-
<col width="50%" />
|
|
1087
|
-
</colgroup>
|
|
1088
|
-
<thead valign="bottom">
|
|
1089
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1090
|
-
<th class="head">Comment</th>
|
|
1091
|
-
</tr>
|
|
1092
|
-
</thead>
|
|
1093
|
-
<tbody valign="top">
|
|
1094
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1095
|
-
</pre></div>
|
|
1096
|
-
</div>
|
|
1097
|
-
</td>
|
|
1098
|
-
<td>Sets the topic to subscribe to. The
|
|
1099
|
-
topic provided can be either the
|
|
1100
|
-
exact name of the topic, or a
|
|
1101
|
-
regular expression that matches the
|
|
1102
|
-
names of the topics for the
|
|
1103
|
-
subscription.</td>
|
|
1104
|
-
</tr>
|
|
1105
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">SubId</span>
|
|
1106
|
-
</pre></div>
|
|
1107
|
-
</div>
|
|
1108
|
-
</td>
|
|
1109
|
-
<td>A comma-delimited list of
|
|
1110
|
-
subscription IDs to resume.</td>
|
|
1111
|
-
</tr>
|
|
1112
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Options</span>
|
|
1113
|
-
</pre></div>
|
|
1114
|
-
</div>
|
|
1115
|
-
</td>
|
|
1116
|
-
<td>A comma-delimited list of options
|
|
1117
|
-
for the command. To resume a
|
|
1118
|
-
subscription, the options must
|
|
1119
|
-
include <code class="docutils literal"><span class="pre">resume</span></code>.</td>
|
|
1120
|
-
</tr>
|
|
1121
|
-
</tbody>
|
|
1122
|
-
</table>
|
|
1123
|
-
<p><strong>Table 10.15:</strong> <em>Resume a Bookmark Subscription</em></p>
|
|
1124
|
-
</div>
|
|
1125
|
-
<div class="section" id="replacing-the-filter-on-a-subscription">
|
|
1126
|
-
<h3>Replacing the Filter on a Subscription<a class="headerlink" href="#replacing-the-filter-on-a-subscription" title="Permalink to this headline">¶</a></h3>
|
|
1127
|
-
<p>To replace the content filter on a subscription, provide the <code class="docutils literal"><span class="pre">SubId</span></code>
|
|
1128
|
-
of the subscription to be replaced, add the <code class="docutils literal"><span class="pre">replace</span></code> option, and set
|
|
1129
|
-
the <code class="docutils literal"><span class="pre">Filter</span></code> property on the command with the new filter. The <em>AMPS
|
|
1130
|
-
User Guide</em> provides details on the filter syntax.</p>
|
|
1131
|
-
<table border="1" class="docutils">
|
|
1132
|
-
<colgroup>
|
|
1133
|
-
<col width="50%" />
|
|
1134
|
-
<col width="50%" />
|
|
1135
|
-
</colgroup>
|
|
1136
|
-
<thead valign="bottom">
|
|
1137
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1138
|
-
<th class="head">Comment</th>
|
|
1139
|
-
</tr>
|
|
1140
|
-
</thead>
|
|
1141
|
-
<tbody valign="top">
|
|
1142
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1143
|
-
</pre></div>
|
|
1144
|
-
</div>
|
|
1145
|
-
</td>
|
|
1146
|
-
<td>Sets the topic to subscribe to. The
|
|
1147
|
-
topic provided can be either the
|
|
1148
|
-
exact name of the topic, or a
|
|
1149
|
-
regular expression that matches the
|
|
1150
|
-
names of the topics for the
|
|
1151
|
-
subscription.</td>
|
|
1152
|
-
</tr>
|
|
1153
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SubId</span></code></td>
|
|
1154
|
-
<td>The identifier for the subscription
|
|
1155
|
-
to update. The <code class="docutils literal"><span class="pre">SubId</span></code> is the
|
|
1156
|
-
<code class="docutils literal"><span class="pre">CommandId</span></code> for the original
|
|
1157
|
-
<code class="docutils literal"><span class="pre">subscribe</span></code> command.</td>
|
|
1158
|
-
</tr>
|
|
1159
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1160
|
-
<td>A comma-separated list of options.
|
|
1161
|
-
To replace the filter on a
|
|
1162
|
-
subscription, include <code class="docutils literal"><span class="pre">replace</span></code> in
|
|
1163
|
-
the list of options.</td>
|
|
1164
|
-
</tr>
|
|
1165
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
1166
|
-
<td>Sets the content filter to be
|
|
1167
|
-
applied to the subscription. Only
|
|
1168
|
-
messages that match the content
|
|
1169
|
-
filter will be provided to the
|
|
1170
|
-
subscription.</td>
|
|
1171
|
-
</tr>
|
|
1172
|
-
</tbody>
|
|
1173
|
-
</table>
|
|
1174
|
-
<p><strong>Table 10.16:</strong> <em>Replacing the Filter on a Subscription</em></p>
|
|
1175
|
-
</div>
|
|
1176
|
-
<div class="section" id="subscribing-to-a-queue-and-requesting-a-max-backlog">
|
|
1177
|
-
<h3>Subscribing to a Queue and Requesting a max_backlog<a class="headerlink" href="#subscribing-to-a-queue-and-requesting-a-max-backlog" title="Permalink to this headline">¶</a></h3>
|
|
1178
|
-
<p>To subscribe to a queue and request a <code class="docutils literal"><span class="pre">max_backlog</span></code> greater than
|
|
1179
|
-
<code class="docutils literal"><span class="pre">1</span></code>, use the <code class="docutils literal"><span class="pre">Options</span></code> field of the <code class="docutils literal"><span class="pre">subscribe</span></code> command to set the
|
|
1180
|
-
requested <code class="docutils literal"><span class="pre">max_backlog</span></code>.</p>
|
|
1181
|
-
<table border="1" class="docutils">
|
|
1182
|
-
<colgroup>
|
|
1183
|
-
<col width="50%" />
|
|
1184
|
-
<col width="50%" />
|
|
1185
|
-
</colgroup>
|
|
1186
|
-
<thead valign="bottom">
|
|
1187
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1188
|
-
<th class="head">Comment</th>
|
|
1189
|
-
</tr>
|
|
1190
|
-
</thead>
|
|
1191
|
-
<tbody valign="top">
|
|
1192
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1193
|
-
</pre></div>
|
|
1194
|
-
</div>
|
|
1195
|
-
</td>
|
|
1196
|
-
<td>Sets the topic to subscribe to. The
|
|
1197
|
-
topic provided can be either the
|
|
1198
|
-
exact name of the topic, or a
|
|
1199
|
-
regular expression that matches the
|
|
1200
|
-
names of the topics for the
|
|
1201
|
-
subscription.</td>
|
|
1202
|
-
</tr>
|
|
1203
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1204
|
-
<td><p class="first">A comma-separated list of options.
|
|
1205
|
-
To request a value for the
|
|
1206
|
-
max_backlog, pass the value in the
|
|
1207
|
-
options as follows:</p>
|
|
1208
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">max_backlog</span><span class="o">=</span>
|
|
1209
|
-
<span class="n">NN</span>
|
|
1210
|
-
</pre></div>
|
|
1211
|
-
</div>
|
|
1212
|
-
<p>For example, to request a max
|
|
1213
|
-
backlog of 7, your application would
|
|
1214
|
-
pass the following option:</p>
|
|
1215
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="n">max_backlog</span><span class="o">=</span><span class="mi">7</span>
|
|
1216
|
-
</pre></div>
|
|
1217
|
-
</div>
|
|
1218
|
-
</td>
|
|
1219
|
-
</tr>
|
|
1220
|
-
</tbody>
|
|
1221
|
-
</table>
|
|
1222
|
-
<p><strong>Table 10.17:</strong> <em>Requesting a max_backlog</em></p>
|
|
1223
|
-
</div>
|
|
1224
|
-
</div>
|
|
1225
|
-
<div class="section" id="sow-query">
|
|
1226
|
-
<h2>SOW query<a class="headerlink" href="#sow-query" title="Permalink to this headline">¶</a></h2>
|
|
1227
|
-
<p>This section presents common recipes for querying a SOW topic in AMPS
|
|
1228
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
1229
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
1230
|
-
information to your application and the specific interface you are
|
|
1231
|
-
using.</p>
|
|
1232
|
-
<div class="section" id="basic-sow-query">
|
|
1233
|
-
<h3>Basic SOW Query<a class="headerlink" href="#basic-sow-query" title="Permalink to this headline">¶</a></h3>
|
|
1234
|
-
<p>In its simplest form, a SOW query needs only the topic to query.</p>
|
|
1235
|
-
<table border="1" class="docutils">
|
|
1236
|
-
<colgroup>
|
|
1237
|
-
<col width="50%" />
|
|
1238
|
-
<col width="50%" />
|
|
1239
|
-
</colgroup>
|
|
1240
|
-
<thead valign="bottom">
|
|
1241
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1242
|
-
<th class="head">Comment</th>
|
|
1243
|
-
</tr>
|
|
1244
|
-
</thead>
|
|
1245
|
-
<tbody valign="top">
|
|
1246
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1247
|
-
</pre></div>
|
|
1248
|
-
</div>
|
|
1249
|
-
</td>
|
|
1250
|
-
<td>Sets the topic to query. The SOW
|
|
1251
|
-
query returns all messages in the
|
|
1252
|
-
SOW. The topic specified can be the
|
|
1253
|
-
literal topic name, or a regular
|
|
1254
|
-
expression that matches multiple
|
|
1255
|
-
topics.</td>
|
|
1256
|
-
</tr>
|
|
1257
|
-
</tbody>
|
|
1258
|
-
</table>
|
|
1259
|
-
<p><strong>Table 10.18:</strong> <em>Basic SOW Query</em></p>
|
|
1260
|
-
</div>
|
|
1261
|
-
<div class="section" id="basic-sow-with-options">
|
|
1262
|
-
<h3>Basic SOW With Options<a class="headerlink" href="#basic-sow-with-options" title="Permalink to this headline">¶</a></h3>
|
|
1263
|
-
<p>In its simplest form, a SOW needs only the topic to subscribe to. To add
|
|
1264
|
-
options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> header on the
|
|
1265
|
-
<code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
1266
|
-
<table border="1" class="docutils">
|
|
1267
|
-
<colgroup>
|
|
1268
|
-
<col width="50%" />
|
|
1269
|
-
<col width="50%" />
|
|
1270
|
-
</colgroup>
|
|
1271
|
-
<thead valign="bottom">
|
|
1272
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1273
|
-
<th class="head">Comment</th>
|
|
1274
|
-
</tr>
|
|
1275
|
-
</thead>
|
|
1276
|
-
<tbody valign="top">
|
|
1277
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1278
|
-
</pre></div>
|
|
1279
|
-
</div>
|
|
1280
|
-
</td>
|
|
1281
|
-
<td>Sets the topic to query. The SOW
|
|
1282
|
-
query returns all messages in the
|
|
1283
|
-
SOW. The topic specified can be the
|
|
1284
|
-
literal topic name, or a regular
|
|
1285
|
-
expression that matches multiple
|
|
1286
|
-
topics.</td>
|
|
1287
|
-
</tr>
|
|
1288
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1289
|
-
<td>A comma-delimited set of options for
|
|
1290
|
-
this command. See the
|
|
1291
|
-
<code class="docutils literal"><span class="pre">AMPS</span> <span class="pre">Command</span> <span class="pre">Reference</span></code> for a
|
|
1292
|
-
description of supported options.</td>
|
|
1293
|
-
</tr>
|
|
1294
|
-
</tbody>
|
|
1295
|
-
</table>
|
|
1296
|
-
<p><strong>Table 10.19:</strong> <em>Basic SOW Query with Options</em></p>
|
|
1297
|
-
</div>
|
|
1298
|
-
<div class="section" id="sow-query-with-ordered-results">
|
|
1299
|
-
<h3>SOW Query With Ordered Results<a class="headerlink" href="#sow-query-with-ordered-results" title="Permalink to this headline">¶</a></h3>
|
|
1300
|
-
<p>In its simplest form, a SOW needs only the topic to subscribe to. To
|
|
1301
|
-
return the results in a specific order, provide an ordering expression
|
|
1302
|
-
in the <code class="docutils literal"><span class="pre">OrderBy</span></code> header.</p>
|
|
1303
|
-
<table border="1" class="docutils">
|
|
1304
|
-
<colgroup>
|
|
1305
|
-
<col width="37%" />
|
|
1306
|
-
<col width="63%" />
|
|
1307
|
-
</colgroup>
|
|
1308
|
-
<thead valign="bottom">
|
|
1309
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1310
|
-
<th class="head">Comment</th>
|
|
1311
|
-
</tr>
|
|
1312
|
-
</thead>
|
|
1313
|
-
<tbody valign="top">
|
|
1314
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1315
|
-
</pre></div>
|
|
1316
|
-
</div>
|
|
1317
|
-
</td>
|
|
1318
|
-
<td>Sets the topic to query. The SOW
|
|
1319
|
-
query returns all messages in the
|
|
1320
|
-
SOW. The topic specified can be the
|
|
1321
|
-
literal topic name, or a regular
|
|
1322
|
-
expression that matches multiple
|
|
1323
|
-
topics.</td>
|
|
1324
|
-
</tr>
|
|
1325
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">OrderBy</span></code></td>
|
|
1326
|
-
<td><p class="first">Orders the results returned as
|
|
1327
|
-
specified. Requires a comma-separated
|
|
1328
|
-
list of identifiers of the form:</p>
|
|
1329
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">field</span><span class="o">/</span><span class="p">[</span><span class="n">ASC</span> <span class="o">|</span> <span class="n">DESC</span><span class="p">]</span>
|
|
1330
|
-
</pre></div>
|
|
1331
|
-
</div>
|
|
1332
|
-
<p>For example, to sort in descending order by <code class="docutils literal"><span class="pre">orderDate</span></code>
|
|
1333
|
-
so that the most recent orders are first, and ascending order
|
|
1334
|
-
by <code class="docutils literal"><span class="pre">customerName</span></code> for orders with the same date,
|
|
1335
|
-
you might use a specifier such as:</p>
|
|
1336
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">orderDate</span> <span class="n">DESC</span><span class="p">,</span> <span class="o">/</span><span class="n">customerName</span> <span class="n">ASC</span>
|
|
1337
|
-
</pre></div>
|
|
1338
|
-
</div>
|
|
1339
|
-
</td>
|
|
1340
|
-
</tr>
|
|
1341
|
-
</tbody>
|
|
1342
|
-
</table>
|
|
1343
|
-
<p><strong>Table 10.20:</strong> <em>Basic SOW Query with Ordered Results</em></p>
|
|
1344
|
-
</div>
|
|
1345
|
-
<div class="section" id="sow-query-with-topn-results">
|
|
1346
|
-
<h3>SOW Query With TopN Results<a class="headerlink" href="#sow-query-with-topn-results" title="Permalink to this headline">¶</a></h3>
|
|
1347
|
-
<p>In its simplest form, a SOW needs only the topic to subscribe to. To
|
|
1348
|
-
return only a specific number of records, provide the number of records
|
|
1349
|
-
to return in the <code class="docutils literal"><span class="pre">TopN</span></code> header.</p>
|
|
1350
|
-
<table border="1" class="docutils">
|
|
1351
|
-
<colgroup>
|
|
1352
|
-
<col width="37%" />
|
|
1353
|
-
<col width="63%" />
|
|
1354
|
-
</colgroup>
|
|
1355
|
-
<thead valign="bottom">
|
|
1356
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1357
|
-
<th class="head">Comment</th>
|
|
1358
|
-
</tr>
|
|
1359
|
-
</thead>
|
|
1360
|
-
<tbody valign="top">
|
|
1361
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1362
|
-
</pre></div>
|
|
1363
|
-
</div>
|
|
1364
|
-
</td>
|
|
1365
|
-
<td>Sets the topic to query. The SOW
|
|
1366
|
-
query returns all messages in the
|
|
1367
|
-
SOW. The topic specified can be the
|
|
1368
|
-
literal topic name, or a regular
|
|
1369
|
-
expression that matches multiple
|
|
1370
|
-
topics.</td>
|
|
1371
|
-
</tr>
|
|
1372
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">TopN</span></code></td>
|
|
1373
|
-
<td><p class="first">The maximum number of records to
|
|
1374
|
-
return. AMPS uses the <code class="docutils literal"><span class="pre">OrderBy</span></code>
|
|
1375
|
-
header to determine the order of the
|
|
1376
|
-
records.</p>
|
|
1377
|
-
<p class="last">If no <code class="docutils literal"><span class="pre">OrderBy</span></code> header is
|
|
1378
|
-
provided, records are returned in an
|
|
1379
|
-
indeterminate order. In most cases,
|
|
1380
|
-
using an OrderBy header when you use
|
|
1381
|
-
the TopN header will guarantee that
|
|
1382
|
-
you get the records of interest.</p>
|
|
1383
|
-
</td>
|
|
1384
|
-
</tr>
|
|
1385
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">OrderBy</span></code></td>
|
|
1386
|
-
<td><p class="first">Orders the results returned as
|
|
1387
|
-
specified. Requires a comma-separated
|
|
1388
|
-
list of identifiers of the form:</p>
|
|
1389
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">field</span><span class="o">/</span><span class="p">[</span><span class="n">ASC</span> <span class="o">|</span> <span class="n">DESC</span><span class="p">]</span>
|
|
1390
|
-
</pre></div>
|
|
1391
|
-
</div>
|
|
1392
|
-
<p>For example, to sort in descending order by <code class="docutils literal"><span class="pre">orderDate</span></code>
|
|
1393
|
-
so that the most recent orders are first, and ascending order
|
|
1394
|
-
by <code class="docutils literal"><span class="pre">customerName</span></code> for orders with the same date,
|
|
1395
|
-
you might use a specifier such as:</p>
|
|
1396
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">orderDate</span> <span class="n">DESC</span><span class="p">,</span> <span class="o">/</span><span class="n">customerName</span> <span class="n">ASC</span>
|
|
1397
|
-
</pre></div>
|
|
1398
|
-
</div>
|
|
1399
|
-
</td>
|
|
1400
|
-
</tr>
|
|
1401
|
-
</tbody>
|
|
1402
|
-
</table>
|
|
1403
|
-
<p><strong>Table 10.21:</strong> <em>SOW Query with TopN Results</em></p>
|
|
1404
|
-
</div>
|
|
1405
|
-
<div class="section" id="content-filtered-sow-query">
|
|
1406
|
-
<h3>Content Filtered SOW Query<a class="headerlink" href="#content-filtered-sow-query" title="Permalink to this headline">¶</a></h3>
|
|
1407
|
-
<p>To provide a content filter on a SOW query, set the <code class="docutils literal"><span class="pre">Filter</span></code> property
|
|
1408
|
-
on the command. The <em>AMPS User Guide</em> provides details on the filter
|
|
1409
|
-
syntax.</p>
|
|
1410
|
-
<table border="1" class="docutils">
|
|
1411
|
-
<colgroup>
|
|
1412
|
-
<col width="50%" />
|
|
1413
|
-
<col width="50%" />
|
|
1414
|
-
</colgroup>
|
|
1415
|
-
<thead valign="bottom">
|
|
1416
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1417
|
-
<th class="head">Comment</th>
|
|
1418
|
-
</tr>
|
|
1419
|
-
</thead>
|
|
1420
|
-
<tbody valign="top">
|
|
1421
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1422
|
-
</pre></div>
|
|
1423
|
-
</div>
|
|
1424
|
-
</td>
|
|
1425
|
-
<td>Sets the topic to query. The topic
|
|
1426
|
-
specified can be the literal topic
|
|
1427
|
-
name, or a regular expression that
|
|
1428
|
-
matches multiple topics.</td>
|
|
1429
|
-
</tr>
|
|
1430
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
1431
|
-
<td>Sets the content filter to be
|
|
1432
|
-
applied to the query. Only messages
|
|
1433
|
-
that match the content filter will
|
|
1434
|
-
be returned in response to the
|
|
1435
|
-
query.</td>
|
|
1436
|
-
</tr>
|
|
1437
|
-
</tbody>
|
|
1438
|
-
</table>
|
|
1439
|
-
<p><strong>Table 10.22:</strong> <em>Content Filtered SOW Query Subscription</em></p>
|
|
1440
|
-
</div>
|
|
1441
|
-
<div class="section" id="historical-sow-query">
|
|
1442
|
-
<h3>Historical SOW Query<a class="headerlink" href="#historical-sow-query" title="Permalink to this headline">¶</a></h3>
|
|
1443
|
-
<p>To create a historical SOW query, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
1444
|
-
command. The property can be either a specific bookmark or a timestamp.
|
|
1445
|
-
The <em>AMPS User Guide</em> provides details on creating timestamps.</p>
|
|
1446
|
-
<p>This command is only supported on SOW topics that have <code class="docutils literal"><span class="pre">History</span></code>
|
|
1447
|
-
enabled.</p>
|
|
1448
|
-
<table border="1" class="docutils">
|
|
1449
|
-
<colgroup>
|
|
1450
|
-
<col width="50%" />
|
|
1451
|
-
<col width="50%" />
|
|
1452
|
-
</colgroup>
|
|
1453
|
-
<thead valign="bottom">
|
|
1454
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1455
|
-
<th class="head">Comment</th>
|
|
1456
|
-
</tr>
|
|
1457
|
-
</thead>
|
|
1458
|
-
<tbody valign="top">
|
|
1459
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1460
|
-
</pre></div>
|
|
1461
|
-
</div>
|
|
1462
|
-
</td>
|
|
1463
|
-
<td>Sets the topic to query. The topic
|
|
1464
|
-
specified can be the literal topic
|
|
1465
|
-
name, or a regular expression that
|
|
1466
|
-
matches multiple topics.</td>
|
|
1467
|
-
</tr>
|
|
1468
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
1469
|
-
<td>Sets the historical point in the SOW
|
|
1470
|
-
at which to query. The query returns
|
|
1471
|
-
the saved state of the records in
|
|
1472
|
-
the SOW as of the point in time
|
|
1473
|
-
specified in this header.</td>
|
|
1474
|
-
</tr>
|
|
1475
|
-
</tbody>
|
|
1476
|
-
</table>
|
|
1477
|
-
<p><strong>Table 10.23:</strong> <em>Historical SOW Query</em></p>
|
|
1478
|
-
</div>
|
|
1479
|
-
<div class="section" id="historical-sow-query-with-content-filter">
|
|
1480
|
-
<h3>Historical SOW Query With Content Filter<a class="headerlink" href="#historical-sow-query-with-content-filter" title="Permalink to this headline">¶</a></h3>
|
|
1481
|
-
<p>To create a historical SOW query, set the <code class="docutils literal"><span class="pre">Bookmark</span></code> property on the
|
|
1482
|
-
command. The property can be either a specific bookmark or a timestamp.
|
|
1483
|
-
The <em>AMPS User Guide</em> provides details on creating timestamps. To add a
|
|
1484
|
-
filter to the query, set the <code class="docutils literal"><span class="pre">Filter</span></code> property on the command. The
|
|
1485
|
-
<em>AMPS User Guide</em> provides details on the filter syntax.</p>
|
|
1486
|
-
<p>This command is only supported on SOW topics that have <code class="docutils literal"><span class="pre">History</span></code>
|
|
1487
|
-
enabled.</p>
|
|
1488
|
-
<table border="1" class="docutils">
|
|
1489
|
-
<colgroup>
|
|
1490
|
-
<col width="50%" />
|
|
1491
|
-
<col width="50%" />
|
|
1492
|
-
</colgroup>
|
|
1493
|
-
<thead valign="bottom">
|
|
1494
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1495
|
-
<th class="head">Comment</th>
|
|
1496
|
-
</tr>
|
|
1497
|
-
</thead>
|
|
1498
|
-
<tbody valign="top">
|
|
1499
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1500
|
-
</pre></div>
|
|
1501
|
-
</div>
|
|
1502
|
-
</td>
|
|
1503
|
-
<td>Sets the topic to query. The topic
|
|
1504
|
-
specified can be the literal topic
|
|
1505
|
-
name, or a regular expression that
|
|
1506
|
-
matches multiple topics.</td>
|
|
1507
|
-
</tr>
|
|
1508
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
1509
|
-
<td>Sets the historical point in the SOW
|
|
1510
|
-
at which to query. The query returns
|
|
1511
|
-
the saved state of the records in
|
|
1512
|
-
the SOW as of the point in time
|
|
1513
|
-
specified in this header.</td>
|
|
1514
|
-
</tr>
|
|
1515
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
1516
|
-
<td>Sets the content filter to be
|
|
1517
|
-
applied to the query. Only messages
|
|
1518
|
-
that match the content filter will
|
|
1519
|
-
be provided to the query.</td>
|
|
1520
|
-
</tr>
|
|
1521
|
-
</tbody>
|
|
1522
|
-
</table>
|
|
1523
|
-
<p><strong>Table 10.24:</strong> <em>Historical SOW Query With Content Filter</em></p>
|
|
1524
|
-
</div>
|
|
1525
|
-
<div class="section" id="sow-query-for-specific-records">
|
|
1526
|
-
<h3>SOW Query for Specific Records<a class="headerlink" href="#sow-query-for-specific-records" title="Permalink to this headline">¶</a></h3>
|
|
1527
|
-
<p>AMPS allows a consumer to query for specific records as identified by a
|
|
1528
|
-
set of <code class="docutils literal"><span class="pre">SowKeys</span></code>. For topics where AMPS assigns the <code class="docutils literal"><span class="pre">SowKey</span></code>, the
|
|
1529
|
-
SowKey for the record is the AMPS-assigned identifier. For topics
|
|
1530
|
-
configured to require a user-provided <code class="docutils literal"><span class="pre">SowKey</span></code>, the <code class="docutils literal"><span class="pre">SowKey</span></code> for the
|
|
1531
|
-
record is the original key provided when the record was published. The
|
|
1532
|
-
<em>AMPS User Guide</em> provides more details on SOW keys.</p>
|
|
1533
|
-
<table border="1" class="docutils">
|
|
1534
|
-
<colgroup>
|
|
1535
|
-
<col width="50%" />
|
|
1536
|
-
<col width="50%" />
|
|
1537
|
-
</colgroup>
|
|
1538
|
-
<thead valign="bottom">
|
|
1539
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1540
|
-
<th class="head">Comment</th>
|
|
1541
|
-
</tr>
|
|
1542
|
-
</thead>
|
|
1543
|
-
<tbody valign="top">
|
|
1544
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1545
|
-
</pre></div>
|
|
1546
|
-
</div>
|
|
1547
|
-
</td>
|
|
1548
|
-
<td>Sets the topic to query. The topic
|
|
1549
|
-
specified can be the literal topic
|
|
1550
|
-
name, or a regular expression that
|
|
1551
|
-
matches multiple topics.</td>
|
|
1552
|
-
</tr>
|
|
1553
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">SowKeys</span></code></td>
|
|
1554
|
-
<td><p class="first">A comma-delimited list of <code class="docutils literal"><span class="pre">SowKey</span></code>
|
|
1555
|
-
values. AMPS returns only the
|
|
1556
|
-
records specified in this list.</p>
|
|
1557
|
-
<p>For example, a valid format for a
|
|
1558
|
-
list of keys would be:</p>
|
|
1559
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span> <span class="mi">1853097931817257202</span><span class="p">,</span><span class="mi">104027799402</span>
|
|
1560
|
-
<span class="mi">01650075</span><span class="p">,</span><span class="mi">22363879930342650852</span>
|
|
1561
|
-
</pre></div>
|
|
1562
|
-
</div>
|
|
1563
|
-
</td>
|
|
1564
|
-
</tr>
|
|
1565
|
-
</tbody>
|
|
1566
|
-
</table>
|
|
1567
|
-
<p><strong>Table 10.25:</strong> <em>SOW Query by SOW Key</em></p>
|
|
1568
|
-
</div>
|
|
1569
|
-
<div class="section" id="sow-query-with-pagination">
|
|
1570
|
-
<h3>SOW Query with Pagination<a class="headerlink" href="#sow-query-with-pagination" title="Permalink to this headline">¶</a></h3>
|
|
1571
|
-
<p>AMPS allows a consumer to page through records in the SOW using the
|
|
1572
|
-
<code class="docutils literal"><span class="pre">top_n</span></code> and <code class="docutils literal"><span class="pre">skip_n</span></code> options. With this approach, the application
|
|
1573
|
-
uses the <code class="docutils literal"><span class="pre">top_n</span></code> option to limit the number of records returned to a
|
|
1574
|
-
single page worth of records. The application uses the <code class="docutils literal"><span class="pre">skip_n</span></code> option
|
|
1575
|
-
to set the number of records to skip ahead to get to the page to
|
|
1576
|
-
display, and sets the <code class="docutils literal"><span class="pre">OrderBy</span></code> header to specify the ordering for the
|
|
1577
|
-
records. For example, if 10 records fit on a page, and the pages are
|
|
1578
|
-
ordered by the <code class="docutils literal"><span class="pre">ClientName</span></code> field of the records, to display the
|
|
1579
|
-
fourth page, the application would set <code class="docutils literal"><span class="pre">top_n</span></code> to <code class="docutils literal"><span class="pre">10</span></code>, <code class="docutils literal"><span class="pre">skip_n</span></code>
|
|
1580
|
-
to <code class="docutils literal"><span class="pre">30</span></code> (to skip the first three pages of records), and <code class="docutils literal"><span class="pre">OrderBy</span></code> to
|
|
1581
|
-
<code class="docutils literal"><span class="pre">/ClientName</span></code>.</p>
|
|
1582
|
-
<table border="1" class="docutils">
|
|
1583
|
-
<colgroup>
|
|
1584
|
-
<col width="37%" />
|
|
1585
|
-
<col width="63%" />
|
|
1586
|
-
</colgroup>
|
|
1587
|
-
<thead valign="bottom">
|
|
1588
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1589
|
-
<th class="head">Comment</th>
|
|
1590
|
-
</tr>
|
|
1591
|
-
</thead>
|
|
1592
|
-
<tbody valign="top">
|
|
1593
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1594
|
-
</pre></div>
|
|
1595
|
-
</div>
|
|
1596
|
-
</td>
|
|
1597
|
-
<td>Sets the topic to query. The topic
|
|
1598
|
-
specified must be a literal topic name. Pagination is not
|
|
1599
|
-
supported with regular expression subscriptions.</td>
|
|
1600
|
-
</tr>
|
|
1601
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">OrderBy</span></code></td>
|
|
1602
|
-
<td><p class="first">Orders the results returned as
|
|
1603
|
-
specified. Requires a comma-separated
|
|
1604
|
-
list of identifiers of the form:</p>
|
|
1605
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">field</span><span class="o">/</span><span class="p">[</span><span class="n">ASC</span> <span class="o">|</span> <span class="n">DESC</span><span class="p">]</span>
|
|
1606
|
-
</pre></div>
|
|
1607
|
-
</div>
|
|
1608
|
-
<p>For example, to sort in descending order by <code class="docutils literal"><span class="pre">orderDate</span></code>
|
|
1609
|
-
so that the most recent orders are first, and ascending order
|
|
1610
|
-
by <code class="docutils literal"><span class="pre">customerName</span></code> for orders with the same date,
|
|
1611
|
-
you might use a specifier such as:</p>
|
|
1612
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="o">/</span><span class="n">orderDate</span> <span class="n">DESC</span><span class="p">,</span> <span class="o">/</span><span class="n">customerName</span> <span class="n">ASC</span>
|
|
1613
|
-
</pre></div>
|
|
1614
|
-
</div>
|
|
1615
|
-
</td>
|
|
1616
|
-
</tr>
|
|
1617
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1618
|
-
<td><p class="first">An options string that sets the
|
|
1619
|
-
<code class="docutils literal"><span class="pre">top_n</span></code> and <code class="docutils literal"><span class="pre">skip_n</span></code> values for
|
|
1620
|
-
this query. For example, to skip 100
|
|
1621
|
-
records and return the next 10
|
|
1622
|
-
records, use an options string such
|
|
1623
|
-
as:</p>
|
|
1624
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="n">top_n</span><span class="o">=</span><span class="mi">10</span><span class="p">,</span><span class="n">skip_n</span><span class="o">=</span><span class="mi">100</span>
|
|
1625
|
-
</pre></div>
|
|
1626
|
-
</div>
|
|
1627
|
-
</td>
|
|
1628
|
-
</tr>
|
|
1629
|
-
</tbody>
|
|
1630
|
-
</table>
|
|
1631
|
-
<p><strong>Table 10.26:</strong> <em>SOW Query With Pagination</em></p>
|
|
1632
|
-
</div>
|
|
1633
|
-
<div class="section" id="aggregated-sow-query">
|
|
1634
|
-
<h3>Aggregated SOW Query<a class="headerlink" href="#aggregated-sow-query" title="Permalink to this headline">¶</a></h3>
|
|
1635
|
-
<p>An aggregated SOW query is a SOW query that provides aggregation options
|
|
1636
|
-
in the options field. To add these options to the subscription, set
|
|
1637
|
-
the <code class="docutils literal"><span class="pre">Options</span></code> header on the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
1638
|
-
<table border="1" class="docutils">
|
|
1639
|
-
<colgroup>
|
|
1640
|
-
<col width="50%" />
|
|
1641
|
-
<col width="50%" />
|
|
1642
|
-
</colgroup>
|
|
1643
|
-
<thead valign="bottom">
|
|
1644
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1645
|
-
<th class="head">Comment</th>
|
|
1646
|
-
</tr>
|
|
1647
|
-
</thead>
|
|
1648
|
-
<tbody valign="top">
|
|
1649
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1650
|
-
</pre></div>
|
|
1651
|
-
</div>
|
|
1652
|
-
</td>
|
|
1653
|
-
<td>Sets the topic to query. The SOW
|
|
1654
|
-
query returns all messages in the
|
|
1655
|
-
SOW. The topic specified can be the
|
|
1656
|
-
literal topic name, or a regular
|
|
1657
|
-
expression that matches multiple
|
|
1658
|
-
topics.</td>
|
|
1659
|
-
</tr>
|
|
1660
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1661
|
-
<td><p class="first">A comma-delimited set of options for
|
|
1662
|
-
this command. For an aggregated
|
|
1663
|
-
SOW query, the options provide the
|
|
1664
|
-
<code class="docutils literal"><span class="pre">projection</span></code> and <code class="docutils literal"><span class="pre">grouping</span></code>
|
|
1665
|
-
for the aggregation.</p>
|
|
1666
|
-
<p class="last">See the <em>AMPS Command Reference</em>
|
|
1667
|
-
for a description of supported
|
|
1668
|
-
options.</p>
|
|
1669
|
-
</td>
|
|
1670
|
-
</tr>
|
|
1671
|
-
</tbody>
|
|
1672
|
-
</table>
|
|
1673
|
-
<p><strong>Table 10.27:</strong> <em>Aggregated SOW Query</em></p>
|
|
1674
|
-
</div>
|
|
1675
|
-
</div>
|
|
1676
|
-
<div class="section" id="sow-and-subscribe">
|
|
1677
|
-
<h2>SOW and Subscribe<a class="headerlink" href="#sow-and-subscribe" title="Permalink to this headline">¶</a></h2>
|
|
1678
|
-
<p>This section presents common recipes for atomic sow and subscribe in
|
|
1679
|
-
AMPS using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section
|
|
1680
|
-
provides information on how to configure the request to AMPS. You can
|
|
1681
|
-
adapt this information to your application and the specific interface
|
|
1682
|
-
you are using.</p>
|
|
1683
|
-
<div class="section" id="basic-sow-and-subscribe">
|
|
1684
|
-
<h3>Basic SOW and Subscribe<a class="headerlink" href="#basic-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
1685
|
-
<p>In its simplest form, a SOW and Subscribe needs only the topic to
|
|
1686
|
-
subscribe to.</p>
|
|
1687
|
-
<table border="1" class="docutils">
|
|
1688
|
-
<colgroup>
|
|
1689
|
-
<col width="51%" />
|
|
1690
|
-
<col width="49%" />
|
|
1691
|
-
</colgroup>
|
|
1692
|
-
<thead valign="bottom">
|
|
1693
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1694
|
-
<th class="head">Comment</th>
|
|
1695
|
-
</tr>
|
|
1696
|
-
</thead>
|
|
1697
|
-
<tbody valign="top">
|
|
1698
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1699
|
-
</pre></div>
|
|
1700
|
-
</div>
|
|
1701
|
-
</td>
|
|
1702
|
-
<td>Sets the topic to query and
|
|
1703
|
-
subscribe to. The topic specified
|
|
1704
|
-
can be the literal topic name, or a
|
|
1705
|
-
regular expression that matches
|
|
1706
|
-
multiple topics.</td>
|
|
1707
|
-
</tr>
|
|
1708
|
-
</tbody>
|
|
1709
|
-
</table>
|
|
1710
|
-
<p><strong>Table 10.28:</strong> <em>Basic SOW and Subscribe</em></p>
|
|
1711
|
-
</div>
|
|
1712
|
-
<div class="section" id="sow-and-subscribe-with-options">
|
|
1713
|
-
<h3>SOW and Subscribe With Options<a class="headerlink" href="#sow-and-subscribe-with-options" title="Permalink to this headline">¶</a></h3>
|
|
1714
|
-
<p>In its simplest form, a SOW and subscribe command needs only the topic
|
|
1715
|
-
to subscribe to. To add options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code>
|
|
1716
|
-
header on the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
1717
|
-
<table border="1" class="docutils">
|
|
1718
|
-
<colgroup>
|
|
1719
|
-
<col width="48%" />
|
|
1720
|
-
<col width="52%" />
|
|
1721
|
-
</colgroup>
|
|
1722
|
-
<thead valign="bottom">
|
|
1723
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1724
|
-
<th class="head">Comment</th>
|
|
1725
|
-
</tr>
|
|
1726
|
-
</thead>
|
|
1727
|
-
<tbody valign="top">
|
|
1728
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1729
|
-
</pre></div>
|
|
1730
|
-
</div>
|
|
1731
|
-
</td>
|
|
1732
|
-
<td>Sets the topic to query and
|
|
1733
|
-
subscribe to. The topic specified
|
|
1734
|
-
can be the literal topic name, or a
|
|
1735
|
-
regular expression that matches
|
|
1736
|
-
multiple topics.</td>
|
|
1737
|
-
</tr>
|
|
1738
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1739
|
-
<td><p class="first">A comma-delimited set of options for
|
|
1740
|
-
this command. See the
|
|
1741
|
-
<code class="docutils literal"><span class="pre">AMPS</span> <span class="pre">Command</span> <span class="pre">Reference</span></code> for a
|
|
1742
|
-
full description of supported
|
|
1743
|
-
options.</p>
|
|
1744
|
-
<p>The most common options for this
|
|
1745
|
-
command are:</p>
|
|
1746
|
-
<table border="1" class="last docutils">
|
|
1747
|
-
<colgroup>
|
|
1748
|
-
<col width="39%" />
|
|
1749
|
-
<col width="61%" />
|
|
1750
|
-
</colgroup>
|
|
1751
|
-
<tbody valign="top">
|
|
1752
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oof</span></code></td>
|
|
1753
|
-
<td>Request out of focus
|
|
1754
|
-
notifications</td>
|
|
1755
|
-
</tr>
|
|
1756
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">timestamp</span></code></td>
|
|
1757
|
-
<td>Include timestamps
|
|
1758
|
-
on messages</td>
|
|
1759
|
-
</tr>
|
|
1760
|
-
</tbody>
|
|
1761
|
-
</table>
|
|
1762
|
-
</td>
|
|
1763
|
-
</tr>
|
|
1764
|
-
</tbody>
|
|
1765
|
-
</table>
|
|
1766
|
-
<p><strong>Table 10.29:</strong> <em>Basic SOW and Subscribe with Options</em></p>
|
|
1767
|
-
</div>
|
|
1768
|
-
<div class="section" id="sow-and-subscribe-with-select-list">
|
|
1769
|
-
<h3>SOW and Subscribe With Select List<a class="headerlink" href="#sow-and-subscribe-with-select-list" title="Permalink to this headline">¶</a></h3>
|
|
1770
|
-
<p>In its simplest form, a SOW and subscribe command needs only the topic
|
|
1771
|
-
to subscribe to. To add options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code>
|
|
1772
|
-
header on the <code class="docutils literal"><span class="pre">Command</span></code>. To use a select list, include the specifier
|
|
1773
|
-
for the select list in the options provided.</p>
|
|
1774
|
-
<table border="1" class="docutils">
|
|
1775
|
-
<colgroup>
|
|
1776
|
-
<col width="48%" />
|
|
1777
|
-
<col width="52%" />
|
|
1778
|
-
</colgroup>
|
|
1779
|
-
<thead valign="bottom">
|
|
1780
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1781
|
-
<th class="head">Comment</th>
|
|
1782
|
-
</tr>
|
|
1783
|
-
</thead>
|
|
1784
|
-
<tbody valign="top">
|
|
1785
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1786
|
-
</pre></div>
|
|
1787
|
-
</div>
|
|
1788
|
-
</td>
|
|
1789
|
-
<td>Sets the topic to query and
|
|
1790
|
-
subscribe to. The topic specified
|
|
1791
|
-
can be the literal topic name, or a
|
|
1792
|
-
regular expression that matches
|
|
1793
|
-
multiple topics.</td>
|
|
1794
|
-
</tr>
|
|
1795
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1796
|
-
<td><p class="first">A comma-delimited set of options for
|
|
1797
|
-
this command. See the
|
|
1798
|
-
<code class="docutils literal"><span class="pre">AMPS</span> <span class="pre">Command</span> <span class="pre">Reference</span></code> for a
|
|
1799
|
-
full description of supported
|
|
1800
|
-
options.</p>
|
|
1801
|
-
<p class="last">For example, to remove all fields
|
|
1802
|
-
except for <code class="docutils literal"><span class="pre">id</span></code> and <code class="docutils literal"><span class="pre">ticker</span></code>, and
|
|
1803
|
-
also request out of focus notifications,
|
|
1804
|
-
you might use an options string of:
|
|
1805
|
-
<code class="docutils literal"><span class="pre">oof,select=[-/,+/id,+/ticker]</span></code></p>
|
|
1806
|
-
</td>
|
|
1807
|
-
</tr>
|
|
1808
|
-
</tbody>
|
|
1809
|
-
</table>
|
|
1810
|
-
<p><strong>Table 10.30:</strong> <em>Basic SOW and Subscribe with Select List</em></p>
|
|
1811
|
-
</div>
|
|
1812
|
-
<div class="section" id="content-filtered-sow-and-subscribe">
|
|
1813
|
-
<h3>Content Filtered SOW and Subscribe<a class="headerlink" href="#content-filtered-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
1814
|
-
<p>To provide a content filter on a SOW and Subscribe, set the <code class="docutils literal"><span class="pre">Filter</span></code>
|
|
1815
|
-
property on the command. The <em>AMPS User Guide</em> provides details on the
|
|
1816
|
-
filter syntax.</p>
|
|
1817
|
-
<table border="1" class="docutils">
|
|
1818
|
-
<colgroup>
|
|
1819
|
-
<col width="50%" />
|
|
1820
|
-
<col width="50%" />
|
|
1821
|
-
</colgroup>
|
|
1822
|
-
<thead valign="bottom">
|
|
1823
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1824
|
-
<th class="head">Comment</th>
|
|
1825
|
-
</tr>
|
|
1826
|
-
</thead>
|
|
1827
|
-
<tbody valign="top">
|
|
1828
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1829
|
-
</pre></div>
|
|
1830
|
-
</div>
|
|
1831
|
-
</td>
|
|
1832
|
-
<td>Sets the topic to query and
|
|
1833
|
-
subscribe to. The topic specified
|
|
1834
|
-
can be the literal topic name, or a
|
|
1835
|
-
regular expression that matches
|
|
1836
|
-
multiple topics.</td>
|
|
1837
|
-
</tr>
|
|
1838
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
1839
|
-
<td>Sets the content filter to be
|
|
1840
|
-
applied to the query. Only messages
|
|
1841
|
-
that match the content filter will
|
|
1842
|
-
be returned in response to the
|
|
1843
|
-
query.</td>
|
|
1844
|
-
</tr>
|
|
1845
|
-
</tbody>
|
|
1846
|
-
</table>
|
|
1847
|
-
<p><strong>Table 10.31:</strong> <em>Content Filtered SOW and Subscribe</em></p>
|
|
1848
|
-
</div>
|
|
1849
|
-
<div class="section" id="conflated-sow-and-subscribe">
|
|
1850
|
-
<h3>Conflated SOW and Subscribe<a class="headerlink" href="#conflated-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
1851
|
-
<p>To request conflation on the subscription for a SOW and subscribe, set
|
|
1852
|
-
the <code class="docutils literal"><span class="pre">Options</span></code> property on the command to specify the conflation
|
|
1853
|
-
interval. When the topic has a SOW (including a view or a conflated
|
|
1854
|
-
topic), there is no need to provide a <code class="docutils literal"><span class="pre">conflation_key</span></code>.</p>
|
|
1855
|
-
<table border="1" class="docutils">
|
|
1856
|
-
<colgroup>
|
|
1857
|
-
<col width="50%" />
|
|
1858
|
-
<col width="50%" />
|
|
1859
|
-
</colgroup>
|
|
1860
|
-
<thead valign="bottom">
|
|
1861
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1862
|
-
<th class="head">Comment</th>
|
|
1863
|
-
</tr>
|
|
1864
|
-
</thead>
|
|
1865
|
-
<tbody valign="top">
|
|
1866
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1867
|
-
</pre></div>
|
|
1868
|
-
</div>
|
|
1869
|
-
</td>
|
|
1870
|
-
<td>Sets the topic to subscribe to. The
|
|
1871
|
-
topic provided can be either the
|
|
1872
|
-
exact name of the topic, or a
|
|
1873
|
-
regular expression that matches the
|
|
1874
|
-
names of the topics for the
|
|
1875
|
-
subscription.</td>
|
|
1876
|
-
</tr>
|
|
1877
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1878
|
-
<td><p class="first">A comma-separated list of options
|
|
1879
|
-
for the command. Set the conflation
|
|
1880
|
-
interval in the options.</p>
|
|
1881
|
-
<p>For example, to set a conflation
|
|
1882
|
-
interval of 250 milliseconds,
|
|
1883
|
-
provide the following option:</p>
|
|
1884
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">conflation</span><span class="o">=</span><span class="mi">250</span><span class="n">ms</span>
|
|
1885
|
-
</pre></div>
|
|
1886
|
-
</div>
|
|
1887
|
-
<p>To set the conflation interval to 1
|
|
1888
|
-
minute, provide an option of:</p>
|
|
1889
|
-
<div class="last highlight-default"><div class="highlight"><pre><span></span><span class="n">conflation</span><span class="o">=</span><span class="mi">1</span><span class="n">m</span>
|
|
1890
|
-
</pre></div>
|
|
1891
|
-
</div>
|
|
1892
|
-
</td>
|
|
1893
|
-
</tr>
|
|
1894
|
-
</tbody>
|
|
1895
|
-
</table>
|
|
1896
|
-
<p><strong>Table 10.32:</strong> <em>Conflated SOW and Subscribe</em></p>
|
|
1897
|
-
</div>
|
|
1898
|
-
<div class="section" id="paginated-sow-and-subscribe">
|
|
1899
|
-
<h3>Paginated SOW and Subscribe<a class="headerlink" href="#paginated-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
1900
|
-
<p>To request a paginated subscription for a SOW and subscribe, set
|
|
1901
|
-
the <code class="docutils literal"><span class="pre">Options</span></code> property on the command to specify the
|
|
1902
|
-
number of records to return and the number of records to skip
|
|
1903
|
-
before returning records. Most paginated subscriptions also
|
|
1904
|
-
specify the <code class="docutils literal"><span class="pre">oof</span></code> option to be notified when a record is
|
|
1905
|
-
out of focus.</p>
|
|
1906
|
-
<table border="1" class="docutils">
|
|
1907
|
-
<colgroup>
|
|
1908
|
-
<col width="50%" />
|
|
1909
|
-
<col width="50%" />
|
|
1910
|
-
</colgroup>
|
|
1911
|
-
<thead valign="bottom">
|
|
1912
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1913
|
-
<th class="head">Comment</th>
|
|
1914
|
-
</tr>
|
|
1915
|
-
</thead>
|
|
1916
|
-
<tbody valign="top">
|
|
1917
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1918
|
-
</pre></div>
|
|
1919
|
-
</div>
|
|
1920
|
-
</td>
|
|
1921
|
-
<td>Sets the topic to subscribe to. The
|
|
1922
|
-
topic specified must be a literal
|
|
1923
|
-
topic name. Pagination is not
|
|
1924
|
-
supported with regular expression
|
|
1925
|
-
subscriptions.</td>
|
|
1926
|
-
</tr>
|
|
1927
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">OrderBy</span></code></td>
|
|
1928
|
-
<td>Specifies how to order the results
|
|
1929
|
-
within the paginated result set.
|
|
1930
|
-
If the <code class="docutils literal"><span class="pre">OrderBy</span></code> is not provided,
|
|
1931
|
-
the results are ordered by the
|
|
1932
|
-
<code class="docutils literal"><span class="pre">SowKey</span></code> for the messages.</td>
|
|
1933
|
-
</tr>
|
|
1934
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
1935
|
-
<td><p class="first">A comma-separated list of options
|
|
1936
|
-
for the command. Set the number of
|
|
1937
|
-
results returned with <code class="docutils literal"><span class="pre">top_n</span></code>,
|
|
1938
|
-
and the starting point within the
|
|
1939
|
-
result set with <code class="docutils literal"><span class="pre">skip_n</span></code>.</p>
|
|
1940
|
-
<p>For example, to display records
|
|
1941
|
-
31-50 of the result set, you could
|
|
1942
|
-
provide the following option:</p>
|
|
1943
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">top_n</span><span class="o">=</span><span class="mi">20</span><span class="p">,</span><span class="n">skip_n</span><span class="o">=</span><span class="mi">30</span><span class="p">,</span><span class="n">oof</span>
|
|
1944
|
-
</pre></div>
|
|
1945
|
-
</div>
|
|
1946
|
-
<p class="last">This tells AMPS to skip the first
|
|
1947
|
-
30 records of the result set, and
|
|
1948
|
-
then provide the top 20 records from
|
|
1949
|
-
the remaining results. Out of focus
|
|
1950
|
-
notifications will be provided.</p>
|
|
1951
|
-
</td>
|
|
1952
|
-
</tr>
|
|
1953
|
-
</tbody>
|
|
1954
|
-
</table>
|
|
1955
|
-
<p><strong>Table 10.33:</strong> <em>Paginated SOW and Subscribe</em></p>
|
|
1956
|
-
</div>
|
|
1957
|
-
<div class="section" id="historical-sow-and-subscribe">
|
|
1958
|
-
<h3>Historical SOW and Subscribe<a class="headerlink" href="#historical-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
1959
|
-
<p>To create a historical SOW query with a subscription, set the
|
|
1960
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> property on the command. The property can be either a
|
|
1961
|
-
specific bookmark or a timestamp. The <em>AMPS User Guide</em> provides details
|
|
1962
|
-
on creating timestamps. This command is only supported on SOW topics
|
|
1963
|
-
that are recorded in an AMPS transaction log.</p>
|
|
1964
|
-
<p>When <code class="docutils literal"><span class="pre">History</span></code> is enabled for the SOW topic, the <code class="docutils literal"><span class="pre">Bookmark</span></code> provided
|
|
1965
|
-
must be a timestamp or a specific bookmark value, including the special
|
|
1966
|
-
values <code class="docutils literal"><span class="pre">NOW</span></code> (<code class="docutils literal"><span class="pre">0|1|</span></code>) or <code class="docutils literal"><span class="pre">EPOCH</span></code> (<code class="docutils literal"><span class="pre">0</span></code>).</p>
|
|
1967
|
-
<p>If the <code class="docutils literal"><span class="pre">Bookmark</span></code> provided is a value other than NOW (<code class="docutils literal"><span class="pre">0|1|</span></code>), the SOW
|
|
1968
|
-
topic must have <code class="docutils literal"><span class="pre">History</span></code> enabled.</p>
|
|
1969
|
-
<table border="1" class="docutils">
|
|
1970
|
-
<colgroup>
|
|
1971
|
-
<col width="50%" />
|
|
1972
|
-
<col width="50%" />
|
|
1973
|
-
</colgroup>
|
|
1974
|
-
<thead valign="bottom">
|
|
1975
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
1976
|
-
<th class="head">Comment</th>
|
|
1977
|
-
</tr>
|
|
1978
|
-
</thead>
|
|
1979
|
-
<tbody valign="top">
|
|
1980
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
1981
|
-
</pre></div>
|
|
1982
|
-
</div>
|
|
1983
|
-
</td>
|
|
1984
|
-
<td>Sets the topic to query and
|
|
1985
|
-
subscribe to. The topic specified
|
|
1986
|
-
can be the literal topic name, or a
|
|
1987
|
-
regular expression that matches
|
|
1988
|
-
multiple topics.</td>
|
|
1989
|
-
</tr>
|
|
1990
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
1991
|
-
<td>Sets the historical point in the SOW
|
|
1992
|
-
at which to query. The query returns
|
|
1993
|
-
the saved state of the records in
|
|
1994
|
-
the SOW as of the point in time
|
|
1995
|
-
specified in this header.</td>
|
|
1996
|
-
</tr>
|
|
1997
|
-
</tbody>
|
|
1998
|
-
</table>
|
|
1999
|
-
<p><strong>Table 10.34:</strong> <em>Historical SOW and Subscribe</em></p>
|
|
2000
|
-
</div>
|
|
2001
|
-
<div class="section" id="historical-sow-and-subscribe-with-content-filter">
|
|
2002
|
-
<h3>Historical SOW and Subscribe With Content Filter<a class="headerlink" href="#historical-sow-and-subscribe-with-content-filter" title="Permalink to this headline">¶</a></h3>
|
|
2003
|
-
<p>To create a historical SOW query with a subscription, set the
|
|
2004
|
-
<code class="docutils literal"><span class="pre">Bookmark</span></code> property on the command. The property can be either a
|
|
2005
|
-
specific bookmark or a timestamp. The <em>AMPS User Guide</em> provides details
|
|
2006
|
-
on creating timestamps. This command is only supported on SOW topics
|
|
2007
|
-
that are recorded in an AMPS transaction log. If the <code class="docutils literal"><span class="pre">Bookmark</span></code>
|
|
2008
|
-
provided is a value other than NOW (<code class="docutils literal"><span class="pre">0|1|</span></code>), the SOW topic must have
|
|
2009
|
-
<code class="docutils literal"><span class="pre">History</span></code> enabled.</p>
|
|
2010
|
-
<table border="1" class="docutils">
|
|
2011
|
-
<colgroup>
|
|
2012
|
-
<col width="50%" />
|
|
2013
|
-
<col width="50%" />
|
|
2014
|
-
</colgroup>
|
|
2015
|
-
<thead valign="bottom">
|
|
2016
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2017
|
-
<th class="head">Comment</th>
|
|
2018
|
-
</tr>
|
|
2019
|
-
</thead>
|
|
2020
|
-
<tbody valign="top">
|
|
2021
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2022
|
-
</pre></div>
|
|
2023
|
-
</div>
|
|
2024
|
-
</td>
|
|
2025
|
-
<td>Sets the topic to query. The topic
|
|
2026
|
-
specified can be the literal topic
|
|
2027
|
-
name, or a regular expression that
|
|
2028
|
-
matches multiple topics.</td>
|
|
2029
|
-
</tr>
|
|
2030
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Bookmark</span></code></td>
|
|
2031
|
-
<td>Sets the historical point in the SOW
|
|
2032
|
-
at which to query. The query returns
|
|
2033
|
-
the saved state of the records in
|
|
2034
|
-
the SOW as of the point in time
|
|
2035
|
-
specified in this header.</td>
|
|
2036
|
-
</tr>
|
|
2037
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
2038
|
-
<td>Sets the content filter to be
|
|
2039
|
-
applied to the query. Only messages
|
|
2040
|
-
that match the content filter will
|
|
2041
|
-
be provided to the query.</td>
|
|
2042
|
-
</tr>
|
|
2043
|
-
</tbody>
|
|
2044
|
-
</table>
|
|
2045
|
-
<p><strong>Table 10.35:</strong> <em>Historical SOW and Subscribe With Content Filter</em></p>
|
|
2046
|
-
</div>
|
|
2047
|
-
<div class="section" id="aggregated-sow-and-subscribe">
|
|
2048
|
-
<h3>Aggregated SOW and Subscribe<a class="headerlink" href="#aggregated-sow-and-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
2049
|
-
<p>An aggregated SOW and subscribe command is a SOW and subcribe command
|
|
2050
|
-
that provides aggregation options. To add these options to the
|
|
2051
|
-
sow and subscribe command, set the <code class="docutils literal"><span class="pre">Options</span></code> header on the
|
|
2052
|
-
<code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
2053
|
-
<table border="1" class="docutils">
|
|
2054
|
-
<colgroup>
|
|
2055
|
-
<col width="48%" />
|
|
2056
|
-
<col width="52%" />
|
|
2057
|
-
</colgroup>
|
|
2058
|
-
<thead valign="bottom">
|
|
2059
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2060
|
-
<th class="head">Comment</th>
|
|
2061
|
-
</tr>
|
|
2062
|
-
</thead>
|
|
2063
|
-
<tbody valign="top">
|
|
2064
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2065
|
-
</pre></div>
|
|
2066
|
-
</div>
|
|
2067
|
-
</td>
|
|
2068
|
-
<td>Sets the topic to query and
|
|
2069
|
-
subscribe to. The topic specified
|
|
2070
|
-
can be the literal topic name, or a
|
|
2071
|
-
regular expression that matches
|
|
2072
|
-
multiple topics.</td>
|
|
2073
|
-
</tr>
|
|
2074
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
2075
|
-
<td><p class="first">A comma-delimited set of options for
|
|
2076
|
-
this command. For an aggregated
|
|
2077
|
-
subscription, the options provide the
|
|
2078
|
-
<code class="docutils literal"><span class="pre">projection</span></code> and <code class="docutils literal"><span class="pre">grouping</span></code> for the
|
|
2079
|
-
command.</p>
|
|
2080
|
-
<p>An aggregated sow and subscribe can
|
|
2081
|
-
include options in addition to the
|
|
2082
|
-
<code class="docutils literal"><span class="pre">projection</span></code> and <code class="docutils literal"><span class="pre">grouping</span></code>. The
|
|
2083
|
-
most common additional options are:</p>
|
|
2084
|
-
<table border="1" class="docutils">
|
|
2085
|
-
<colgroup>
|
|
2086
|
-
<col width="39%" />
|
|
2087
|
-
<col width="61%" />
|
|
2088
|
-
</colgroup>
|
|
2089
|
-
<tbody valign="top">
|
|
2090
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oof</span></code></td>
|
|
2091
|
-
<td>Request out of focus
|
|
2092
|
-
notifications</td>
|
|
2093
|
-
</tr>
|
|
2094
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">timestamp</span></code></td>
|
|
2095
|
-
<td>Include timestamp
|
|
2096
|
-
headers on messages.</td>
|
|
2097
|
-
</tr>
|
|
2098
|
-
</tbody>
|
|
2099
|
-
</table>
|
|
2100
|
-
<p class="last">See the <em>AMPS Command Reference</em>
|
|
2101
|
-
for a full description of supported
|
|
2102
|
-
options.</p>
|
|
2103
|
-
</td>
|
|
2104
|
-
</tr>
|
|
2105
|
-
</tbody>
|
|
2106
|
-
</table>
|
|
2107
|
-
<p><strong>Table 10.36:</strong> <em>Aggregated SOW and Subscribe</em></p>
|
|
2108
|
-
</div>
|
|
2109
|
-
</div>
|
|
2110
|
-
<div class="section" id="delta-publishing">
|
|
2111
|
-
<h2>Delta Publishing<a class="headerlink" href="#delta-publishing" title="Permalink to this headline">¶</a></h2>
|
|
2112
|
-
<p>This section presents common recipes for publishing to a topic in AMPS
|
|
2113
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
2114
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
2115
|
-
information to your application and the specific interface you are
|
|
2116
|
-
using.</p>
|
|
2117
|
-
<div class="section" id="basic-delta-publish">
|
|
2118
|
-
<h3>Basic Delta Publish<a class="headerlink" href="#basic-delta-publish" title="Permalink to this headline">¶</a></h3>
|
|
2119
|
-
<p>In its simplest form, a subscription needs only the topic to publish to
|
|
2120
|
-
and the data to publish. The AMPS client automatically constructs the
|
|
2121
|
-
necessary AMPS headers and formats the full <code class="docutils literal"><span class="pre">delta_publish</span></code> command.</p>
|
|
2122
|
-
<p>In many cases, a publisher only needs to use the basic delta publish
|
|
2123
|
-
command.</p>
|
|
2124
|
-
<table border="1" class="docutils">
|
|
2125
|
-
<colgroup>
|
|
2126
|
-
<col width="50%" />
|
|
2127
|
-
<col width="50%" />
|
|
2128
|
-
</colgroup>
|
|
2129
|
-
<thead valign="bottom">
|
|
2130
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2131
|
-
<th class="head">Comment</th>
|
|
2132
|
-
</tr>
|
|
2133
|
-
</thead>
|
|
2134
|
-
<tbody valign="top">
|
|
2135
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2136
|
-
</pre></div>
|
|
2137
|
-
</div>
|
|
2138
|
-
</td>
|
|
2139
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
2140
|
-
topic specified must be a literal
|
|
2141
|
-
topic name. Regular expression
|
|
2142
|
-
characters in the topic name are not
|
|
2143
|
-
interpreted.</p>
|
|
2144
|
-
<p class="last">Some topics in AMPS, such as views
|
|
2145
|
-
and conflated topics, cannot be
|
|
2146
|
-
published to directly. Instead, a
|
|
2147
|
-
publisher must publish to the
|
|
2148
|
-
underlying topics.</p>
|
|
2149
|
-
</td>
|
|
2150
|
-
</tr>
|
|
2151
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
2152
|
-
<td>The data to publish to the topic.
|
|
2153
|
-
The AMPS client does not interpret,
|
|
2154
|
-
escape, or validate this data: the
|
|
2155
|
-
data is provided to the server
|
|
2156
|
-
verbatim.</td>
|
|
2157
|
-
</tr>
|
|
2158
|
-
</tbody>
|
|
2159
|
-
</table>
|
|
2160
|
-
<p><strong>Table 10.37:</strong> <em>Basic Delta Publish</em></p>
|
|
2161
|
-
</div>
|
|
2162
|
-
<div class="section" id="delta-publish-with-correlationid">
|
|
2163
|
-
<h3>Delta Publish With CorrelationId<a class="headerlink" href="#delta-publish-with-correlationid" title="Permalink to this headline">¶</a></h3>
|
|
2164
|
-
<p>AMPS provides publishers with a header field that can be used to contain
|
|
2165
|
-
arbitrary data, the <code class="docutils literal"><span class="pre">CorrelationId</span></code>. A delta publish message can be
|
|
2166
|
-
used to update the <code class="docutils literal"><span class="pre">CorrelationId</span></code> as well as the data within the
|
|
2167
|
-
message.</p>
|
|
2168
|
-
<table border="1" class="docutils">
|
|
2169
|
-
<colgroup>
|
|
2170
|
-
<col width="50%" />
|
|
2171
|
-
<col width="50%" />
|
|
2172
|
-
</colgroup>
|
|
2173
|
-
<thead valign="bottom">
|
|
2174
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2175
|
-
<th class="head">Comment</th>
|
|
2176
|
-
</tr>
|
|
2177
|
-
</thead>
|
|
2178
|
-
<tbody valign="top">
|
|
2179
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2180
|
-
</pre></div>
|
|
2181
|
-
</div>
|
|
2182
|
-
</td>
|
|
2183
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
2184
|
-
topic specified must be a literal
|
|
2185
|
-
topic name. Regular expression
|
|
2186
|
-
characters in the topic name are not
|
|
2187
|
-
interpreted.</p>
|
|
2188
|
-
<p class="last">Some topics in AMPS, such as views
|
|
2189
|
-
and conflated topics, cannot be
|
|
2190
|
-
published to directly. Instead, a
|
|
2191
|
-
publisher must publish to the
|
|
2192
|
-
underlying topics.</p>
|
|
2193
|
-
</td>
|
|
2194
|
-
</tr>
|
|
2195
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
2196
|
-
<td>The data to publish to the topic.
|
|
2197
|
-
The AMPS client does not interpret,
|
|
2198
|
-
escape, or validate this data: the
|
|
2199
|
-
data is provided to the server
|
|
2200
|
-
verbatim.</td>
|
|
2201
|
-
</tr>
|
|
2202
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">CorrelationId</span></code></td>
|
|
2203
|
-
<td><p class="first">The <code class="docutils literal"><span class="pre">CorrelationId</span></code> to provide on
|
|
2204
|
-
the message. AMPS provides the
|
|
2205
|
-
<code class="docutils literal"><span class="pre">CorrelationId</span></code> to subscribers.
|
|
2206
|
-
The <code class="docutils literal"><span class="pre">CorrelationId</span></code> has no
|
|
2207
|
-
significance for AMPS.</p>
|
|
2208
|
-
<p class="last">The <code class="docutils literal"><span class="pre">CorrelationId</span></code> may only
|
|
2209
|
-
contain characters that are valid in
|
|
2210
|
-
base-64 encoding.</p>
|
|
2211
|
-
</td>
|
|
2212
|
-
</tr>
|
|
2213
|
-
</tbody>
|
|
2214
|
-
</table>
|
|
2215
|
-
<p><strong>Table 10.38:</strong> <em>Delta Publish With CorrelationId</em></p>
|
|
2216
|
-
</div>
|
|
2217
|
-
<div class="section" id="delta-publish-with-explicit-sow-key">
|
|
2218
|
-
<h3>Delta Publish With Explicit SOW Key<a class="headerlink" href="#delta-publish-with-explicit-sow-key" title="Permalink to this headline">¶</a></h3>
|
|
2219
|
-
<p>When publishing to a SOW topic that is configured to require an explicit
|
|
2220
|
-
SOW key, the publisher needs to set the SowKey header on the message.</p>
|
|
2221
|
-
<table border="1" class="docutils">
|
|
2222
|
-
<colgroup>
|
|
2223
|
-
<col width="50%" />
|
|
2224
|
-
<col width="50%" />
|
|
2225
|
-
</colgroup>
|
|
2226
|
-
<thead valign="bottom">
|
|
2227
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2228
|
-
<th class="head">Comment</th>
|
|
2229
|
-
</tr>
|
|
2230
|
-
</thead>
|
|
2231
|
-
<tbody valign="top">
|
|
2232
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2233
|
-
</pre></div>
|
|
2234
|
-
</div>
|
|
2235
|
-
</td>
|
|
2236
|
-
<td><p class="first">Sets the topic to publish to. The
|
|
2237
|
-
topic specified must be a literal
|
|
2238
|
-
topic name. Regular expression
|
|
2239
|
-
characters in the topic name are not
|
|
2240
|
-
interpreted.</p>
|
|
2241
|
-
<p class="last">Some topics in AMPS, such as views
|
|
2242
|
-
and conflated topics, cannot be
|
|
2243
|
-
published to directly. Instead, a
|
|
2244
|
-
publisher must publish to the
|
|
2245
|
-
underlying topics.</p>
|
|
2246
|
-
</td>
|
|
2247
|
-
</tr>
|
|
2248
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Data</span></code></td>
|
|
2249
|
-
<td>The data to publish to the topic.
|
|
2250
|
-
The AMPS client does not interpret,
|
|
2251
|
-
escape, or validate this data: the
|
|
2252
|
-
data is provided to the server
|
|
2253
|
-
verbatim.</td>
|
|
2254
|
-
</tr>
|
|
2255
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">SowKey</span></code></td>
|
|
2256
|
-
<td>The SOW Key to use for this message.
|
|
2257
|
-
This header is only supported for
|
|
2258
|
-
publishes to a topic that requires
|
|
2259
|
-
an explicit SOW Key.</td>
|
|
2260
|
-
</tr>
|
|
2261
|
-
</tbody>
|
|
2262
|
-
</table>
|
|
2263
|
-
<p><strong>Table 10.39:</strong> <em>Delta Publish with Explicit SOW Key</em></p>
|
|
2264
|
-
</div>
|
|
2265
|
-
</div>
|
|
2266
|
-
<div class="section" id="delta-subscribing">
|
|
2267
|
-
<h2>Delta Subscribing<a class="headerlink" href="#delta-subscribing" title="Permalink to this headline">¶</a></h2>
|
|
2268
|
-
<p>This section presents common recipes for subscribing to a topic in AMPS
|
|
2269
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
2270
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
2271
|
-
information to your application and the specific interface you are
|
|
2272
|
-
using.</p>
|
|
2273
|
-
<div class="section" id="basic-delta-subscription">
|
|
2274
|
-
<h3>Basic Delta Subscription<a class="headerlink" href="#basic-delta-subscription" title="Permalink to this headline">¶</a></h3>
|
|
2275
|
-
<p>In its simplest form, a delta subscription needs only the topic to
|
|
2276
|
-
subscribe to.</p>
|
|
2277
|
-
<table border="1" class="docutils">
|
|
2278
|
-
<colgroup>
|
|
2279
|
-
<col width="50%" />
|
|
2280
|
-
<col width="50%" />
|
|
2281
|
-
</colgroup>
|
|
2282
|
-
<thead valign="bottom">
|
|
2283
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2284
|
-
<th class="head">Comment</th>
|
|
2285
|
-
</tr>
|
|
2286
|
-
</thead>
|
|
2287
|
-
<tbody valign="top">
|
|
2288
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2289
|
-
</pre></div>
|
|
2290
|
-
</div>
|
|
2291
|
-
</td>
|
|
2292
|
-
<td>Sets the topic to subscribe to. All
|
|
2293
|
-
messages from the topic will be
|
|
2294
|
-
delivered on this subscription. The
|
|
2295
|
-
topic specified can be the literal
|
|
2296
|
-
topic name, or a regular expression
|
|
2297
|
-
that matches multiple topics.</td>
|
|
2298
|
-
</tr>
|
|
2299
|
-
</tbody>
|
|
2300
|
-
</table>
|
|
2301
|
-
<p><strong>Table 10.40:</strong> <em>Basic Delta Subscription</em></p>
|
|
2302
|
-
</div>
|
|
2303
|
-
<div class="section" id="basic-delta-subscription-with-options">
|
|
2304
|
-
<h3>Basic Delta Subscription With Options<a class="headerlink" href="#basic-delta-subscription-with-options" title="Permalink to this headline">¶</a></h3>
|
|
2305
|
-
<p>In its simplest form, a subscription needs only the topic to subscribe
|
|
2306
|
-
to. To add options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code> header on
|
|
2307
|
-
the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
2308
|
-
<table border="1" class="docutils">
|
|
2309
|
-
<colgroup>
|
|
2310
|
-
<col width="50%" />
|
|
2311
|
-
<col width="50%" />
|
|
2312
|
-
</colgroup>
|
|
2313
|
-
<thead valign="bottom">
|
|
2314
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2315
|
-
<th class="head">Comment</th>
|
|
2316
|
-
</tr>
|
|
2317
|
-
</thead>
|
|
2318
|
-
<tbody valign="top">
|
|
2319
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2320
|
-
</pre></div>
|
|
2321
|
-
</div>
|
|
2322
|
-
</td>
|
|
2323
|
-
<td>Sets the topic to subscribe to. All
|
|
2324
|
-
messages from the topic will be
|
|
2325
|
-
delivered on this subscription. The
|
|
2326
|
-
topic specified can be the literal
|
|
2327
|
-
topic name, or a regular expression
|
|
2328
|
-
that matches multiple topics.</td>
|
|
2329
|
-
</tr>
|
|
2330
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
2331
|
-
<td>A comma-delimited set of options for
|
|
2332
|
-
this command. See the
|
|
2333
|
-
<code class="docutils literal"><span class="pre">AMPS</span> <span class="pre">Command</span> <span class="pre">Reference</span></code> for a
|
|
2334
|
-
description of supported options.</td>
|
|
2335
|
-
</tr>
|
|
2336
|
-
</tbody>
|
|
2337
|
-
</table>
|
|
2338
|
-
<p><strong>Table 10.41:</strong> <em>Basic Delta Subscription</em></p>
|
|
2339
|
-
</div>
|
|
2340
|
-
<div class="section" id="content-filtered-delta-subscription">
|
|
2341
|
-
<h3>Content Filtered Delta Subscription<a class="headerlink" href="#content-filtered-delta-subscription" title="Permalink to this headline">¶</a></h3>
|
|
2342
|
-
<p>To provide a content filter on a subscription, set the <code class="docutils literal"><span class="pre">Filter</span></code>
|
|
2343
|
-
property on the command. The <em>AMPS User Guide</em> provides details on the
|
|
2344
|
-
filter syntax.</p>
|
|
2345
|
-
<table border="1" class="docutils">
|
|
2346
|
-
<colgroup>
|
|
2347
|
-
<col width="50%" />
|
|
2348
|
-
<col width="50%" />
|
|
2349
|
-
</colgroup>
|
|
2350
|
-
<thead valign="bottom">
|
|
2351
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2352
|
-
<th class="head">Comment</th>
|
|
2353
|
-
</tr>
|
|
2354
|
-
</thead>
|
|
2355
|
-
<tbody valign="top">
|
|
2356
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2357
|
-
</pre></div>
|
|
2358
|
-
</div>
|
|
2359
|
-
</td>
|
|
2360
|
-
<td>Sets the topic to subscribe to. The
|
|
2361
|
-
topic provided can be either the
|
|
2362
|
-
exact name of the topic, or a
|
|
2363
|
-
regular expression that matches the
|
|
2364
|
-
names of the topics for the
|
|
2365
|
-
subscription.</td>
|
|
2366
|
-
</tr>
|
|
2367
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
2368
|
-
<td>Sets the content filter to be
|
|
2369
|
-
applied to the subscription. Only
|
|
2370
|
-
messages that match the content
|
|
2371
|
-
filter will be provided to the
|
|
2372
|
-
subscription.</td>
|
|
2373
|
-
</tr>
|
|
2374
|
-
</tbody>
|
|
2375
|
-
</table>
|
|
2376
|
-
<p><strong>Table 10.42:</strong> <em>Content Filtered Subscription</em></p>
|
|
2377
|
-
</div>
|
|
2378
|
-
</div>
|
|
2379
|
-
<div class="section" id="sow-and-delta-subscribe">
|
|
2380
|
-
<h2>SOW and Delta Subscribe<a class="headerlink" href="#sow-and-delta-subscribe" title="Permalink to this headline">¶</a></h2>
|
|
2381
|
-
<p>This section presents common recipes for atomic sow and delta subscribe
|
|
2382
|
-
in AMPS using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section
|
|
2383
|
-
provides information on how to configure the request to AMPS. You can
|
|
2384
|
-
adapt this information to your application and the specific interface
|
|
2385
|
-
you are using.</p>
|
|
2386
|
-
<div class="section" id="basic-sow-and-delta-subscribe">
|
|
2387
|
-
<h3>Basic SOW and Delta Subscribe<a class="headerlink" href="#basic-sow-and-delta-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
2388
|
-
<p>In its simplest form, a SOW and Delta Subscribe needs only the topic to
|
|
2389
|
-
subscribe to.</p>
|
|
2390
|
-
<table border="1" class="docutils">
|
|
2391
|
-
<colgroup>
|
|
2392
|
-
<col width="51%" />
|
|
2393
|
-
<col width="49%" />
|
|
2394
|
-
</colgroup>
|
|
2395
|
-
<thead valign="bottom">
|
|
2396
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2397
|
-
<th class="head">Comment</th>
|
|
2398
|
-
</tr>
|
|
2399
|
-
</thead>
|
|
2400
|
-
<tbody valign="top">
|
|
2401
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2402
|
-
</pre></div>
|
|
2403
|
-
</div>
|
|
2404
|
-
</td>
|
|
2405
|
-
<td>Sets the topic to query and
|
|
2406
|
-
subscribe to. The topic specified
|
|
2407
|
-
can be the literal topic name, or a
|
|
2408
|
-
regular expression that matches
|
|
2409
|
-
multiple topics.</td>
|
|
2410
|
-
</tr>
|
|
2411
|
-
</tbody>
|
|
2412
|
-
</table>
|
|
2413
|
-
<p><strong>Table 10.43:</strong> <em>Basic SOW Query</em></p>
|
|
2414
|
-
</div>
|
|
2415
|
-
<div class="section" id="sow-and-delta-subscribe-with-options">
|
|
2416
|
-
<h3>SOW and Delta Subscribe With Options<a class="headerlink" href="#sow-and-delta-subscribe-with-options" title="Permalink to this headline">¶</a></h3>
|
|
2417
|
-
<p>In its simplest form, a SOW and subscribe command needs only the topic
|
|
2418
|
-
to subscribe to. To add options to the subscription, set the <code class="docutils literal"><span class="pre">Options</span></code>
|
|
2419
|
-
header on the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
2420
|
-
<table border="1" class="docutils">
|
|
2421
|
-
<colgroup>
|
|
2422
|
-
<col width="48%" />
|
|
2423
|
-
<col width="52%" />
|
|
2424
|
-
</colgroup>
|
|
2425
|
-
<thead valign="bottom">
|
|
2426
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2427
|
-
<th class="head">Comment</th>
|
|
2428
|
-
</tr>
|
|
2429
|
-
</thead>
|
|
2430
|
-
<tbody valign="top">
|
|
2431
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2432
|
-
</pre></div>
|
|
2433
|
-
</div>
|
|
2434
|
-
</td>
|
|
2435
|
-
<td>Sets the topic to query and
|
|
2436
|
-
subscribe to. The topic specified
|
|
2437
|
-
can be the literal topic name, or a
|
|
2438
|
-
regular expression that matches
|
|
2439
|
-
multiple topics.</td>
|
|
2440
|
-
</tr>
|
|
2441
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
2442
|
-
<td><p class="first">A comma-delimited set of options for
|
|
2443
|
-
this command. See the
|
|
2444
|
-
<code class="docutils literal"><span class="pre">AMPS</span> <span class="pre">Command</span> <span class="pre">Reference</span></code> for a
|
|
2445
|
-
full description of supported
|
|
2446
|
-
options.</p>
|
|
2447
|
-
<p>The most common options for this
|
|
2448
|
-
command are:</p>
|
|
2449
|
-
<table border="1" class="last docutils">
|
|
2450
|
-
<colgroup>
|
|
2451
|
-
<col width="39%" />
|
|
2452
|
-
<col width="61%" />
|
|
2453
|
-
</colgroup>
|
|
2454
|
-
<tbody valign="top">
|
|
2455
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oof</span></code></td>
|
|
2456
|
-
<td>Request out of order
|
|
2457
|
-
notifications</td>
|
|
2458
|
-
</tr>
|
|
2459
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">timestamp</span></code></td>
|
|
2460
|
-
<td>Include timestamps
|
|
2461
|
-
on messages</td>
|
|
2462
|
-
</tr>
|
|
2463
|
-
</tbody>
|
|
2464
|
-
</table>
|
|
2465
|
-
</td>
|
|
2466
|
-
</tr>
|
|
2467
|
-
</tbody>
|
|
2468
|
-
</table>
|
|
2469
|
-
<p><strong>Table 10.44:</strong> <em>Basic SOW and Delta Subscribe with Options</em></p>
|
|
2470
|
-
</div>
|
|
2471
|
-
<div class="section" id="content-filtered-sow-and-delta-subscribe">
|
|
2472
|
-
<h3>Content Filtered SOW and Delta Subscribe<a class="headerlink" href="#content-filtered-sow-and-delta-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
2473
|
-
<p>To provide a content filter on a SOW and Delta Subscribe, set the
|
|
2474
|
-
<code class="docutils literal"><span class="pre">Filter</span></code> property on the command. The <em>AMPS User Guide</em> provides
|
|
2475
|
-
details on the filter syntax.</p>
|
|
2476
|
-
<table border="1" class="docutils">
|
|
2477
|
-
<colgroup>
|
|
2478
|
-
<col width="50%" />
|
|
2479
|
-
<col width="50%" />
|
|
2480
|
-
</colgroup>
|
|
2481
|
-
<thead valign="bottom">
|
|
2482
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2483
|
-
<th class="head">Comment</th>
|
|
2484
|
-
</tr>
|
|
2485
|
-
</thead>
|
|
2486
|
-
<tbody valign="top">
|
|
2487
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2488
|
-
</pre></div>
|
|
2489
|
-
</div>
|
|
2490
|
-
</td>
|
|
2491
|
-
<td>Sets the topic to query and
|
|
2492
|
-
subscribe to. The topic specified
|
|
2493
|
-
can be the literal topic name, or a
|
|
2494
|
-
regular expression that matches
|
|
2495
|
-
multiple topics.</td>
|
|
2496
|
-
</tr>
|
|
2497
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Filter</span></code></td>
|
|
2498
|
-
<td>Sets the content filter to be
|
|
2499
|
-
applied to the query. Only messages
|
|
2500
|
-
that match the content filter will
|
|
2501
|
-
be returned in response to the
|
|
2502
|
-
query.</td>
|
|
2503
|
-
</tr>
|
|
2504
|
-
</tbody>
|
|
2505
|
-
</table>
|
|
2506
|
-
<p><strong>Table 10.45:</strong> <em>Content Filtered SOW and Delta Subscribe</em></p>
|
|
2507
|
-
</div>
|
|
2508
|
-
<div class="section" id="paginated-sow-and-delta-subscribe">
|
|
2509
|
-
<h3>Paginated SOW and Delta Subscribe<a class="headerlink" href="#paginated-sow-and-delta-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
2510
|
-
<p>To request a paginated subscription for a SOW and delta subscribe,
|
|
2511
|
-
set the <code class="docutils literal"><span class="pre">Options</span></code> property on the command to specify the
|
|
2512
|
-
number of records to return and the number of records to skip
|
|
2513
|
-
before returning records. Most paginated subscriptions also
|
|
2514
|
-
specify the <code class="docutils literal"><span class="pre">oof</span></code> option to be notified when a record is
|
|
2515
|
-
out of focus.</p>
|
|
2516
|
-
<table border="1" class="docutils">
|
|
2517
|
-
<colgroup>
|
|
2518
|
-
<col width="50%" />
|
|
2519
|
-
<col width="50%" />
|
|
2520
|
-
</colgroup>
|
|
2521
|
-
<thead valign="bottom">
|
|
2522
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2523
|
-
<th class="head">Comment</th>
|
|
2524
|
-
</tr>
|
|
2525
|
-
</thead>
|
|
2526
|
-
<tbody valign="top">
|
|
2527
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2528
|
-
</pre></div>
|
|
2529
|
-
</div>
|
|
2530
|
-
</td>
|
|
2531
|
-
<td>Sets the topic to subscribe to. The
|
|
2532
|
-
topic provided can be either the
|
|
2533
|
-
exact name of the topic, or a
|
|
2534
|
-
regular expression that matches the
|
|
2535
|
-
names of the topics for the
|
|
2536
|
-
subscription.</td>
|
|
2537
|
-
</tr>
|
|
2538
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">OrderBy</span></code></td>
|
|
2539
|
-
<td>Specifies how to order the results
|
|
2540
|
-
within the paginated result set.
|
|
2541
|
-
If the <code class="docutils literal"><span class="pre">OrderBy</span></code> is not provided,
|
|
2542
|
-
the results are ordered by the
|
|
2543
|
-
<code class="docutils literal"><span class="pre">SowKey</span></code> for the messages.</td>
|
|
2544
|
-
</tr>
|
|
2545
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
2546
|
-
<td><p class="first">A comma-separated list of options
|
|
2547
|
-
for the command. Set the number of
|
|
2548
|
-
results returned with <code class="docutils literal"><span class="pre">top_n</span></code>,
|
|
2549
|
-
and the starting point within the
|
|
2550
|
-
result set with <code class="docutils literal"><span class="pre">skip_n</span></code>.</p>
|
|
2551
|
-
<p>For example, to display records
|
|
2552
|
-
31-50 of the result set, you could
|
|
2553
|
-
provide the following option:</p>
|
|
2554
|
-
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="n">top_n</span><span class="o">=</span><span class="mi">20</span><span class="p">,</span><span class="n">skip_n</span><span class="o">=</span><span class="mi">30</span><span class="p">,</span><span class="n">oof</span>
|
|
2555
|
-
</pre></div>
|
|
2556
|
-
</div>
|
|
2557
|
-
<p class="last">This tells AMPS to skip the first
|
|
2558
|
-
30 records of the result set, and
|
|
2559
|
-
then provide the top 20 records from
|
|
2560
|
-
the remaining results. Out of focus
|
|
2561
|
-
notifications will be provided.</p>
|
|
2562
|
-
</td>
|
|
2563
|
-
</tr>
|
|
2564
|
-
</tbody>
|
|
2565
|
-
</table>
|
|
2566
|
-
<p><strong>Table 10.46:</strong> <em>Paginated SOW and Delta Subscribe</em></p>
|
|
2567
|
-
</div>
|
|
2568
|
-
<div class="section" id="aggregated-sow-and-delta-subscribe">
|
|
2569
|
-
<h3>Aggregated SOW and Delta Subscribe<a class="headerlink" href="#aggregated-sow-and-delta-subscribe" title="Permalink to this headline">¶</a></h3>
|
|
2570
|
-
<p>An aggregated SOW and delta subscribe is a SOW and delta subscribe command
|
|
2571
|
-
that provides aggregation options. To add these options ot the command,
|
|
2572
|
-
set the <code class="docutils literal"><span class="pre">Options</span></code> header on the <code class="docutils literal"><span class="pre">Command</span></code>.</p>
|
|
2573
|
-
<table border="1" class="docutils">
|
|
2574
|
-
<colgroup>
|
|
2575
|
-
<col width="48%" />
|
|
2576
|
-
<col width="52%" />
|
|
2577
|
-
</colgroup>
|
|
2578
|
-
<thead valign="bottom">
|
|
2579
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2580
|
-
<th class="head">Comment</th>
|
|
2581
|
-
</tr>
|
|
2582
|
-
</thead>
|
|
2583
|
-
<tbody valign="top">
|
|
2584
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2585
|
-
</pre></div>
|
|
2586
|
-
</div>
|
|
2587
|
-
</td>
|
|
2588
|
-
<td>Sets the topic to query and
|
|
2589
|
-
subscribe to. The topic specified
|
|
2590
|
-
can be the literal topic name, or a
|
|
2591
|
-
regular expression that matches
|
|
2592
|
-
multiple topics.</td>
|
|
2593
|
-
</tr>
|
|
2594
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">Options</span></code></td>
|
|
2595
|
-
<td><p class="first">A comma-delimited set of options for
|
|
2596
|
-
this command. For an aggregated SOW
|
|
2597
|
-
and delta subscribe, the options
|
|
2598
|
-
provide the <code class="docutils literal"><span class="pre">projection</span></code> and
|
|
2599
|
-
<code class="docutils literal"><span class="pre">grouping</span></code> for the command.</p>
|
|
2600
|
-
<p>A SOW and delta subscribe can provide
|
|
2601
|
-
options in addition to the
|
|
2602
|
-
<code class="docutils literal"><span class="pre">projection</span></code> and <code class="docutils literal"><span class="pre">grouping</span></code>. The
|
|
2603
|
-
most common additional options are:</p>
|
|
2604
|
-
<table border="1" class="last docutils">
|
|
2605
|
-
<colgroup>
|
|
2606
|
-
<col width="39%" />
|
|
2607
|
-
<col width="61%" />
|
|
2608
|
-
</colgroup>
|
|
2609
|
-
<tbody valign="top">
|
|
2610
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">oof</span></code></td>
|
|
2611
|
-
<td>Request out of order
|
|
2612
|
-
notifications</td>
|
|
2613
|
-
</tr>
|
|
2614
|
-
<tr class="row-even"><td><code class="docutils literal"><span class="pre">timestamp</span></code></td>
|
|
2615
|
-
<td>Include timestamps
|
|
2616
|
-
on messages</td>
|
|
2617
|
-
</tr>
|
|
2618
|
-
<tr class="row-odd"><td><code class="docutils literal"><span class="pre">no_empties</span></code></td>
|
|
2619
|
-
<td>Do not send a delta
|
|
2620
|
-
message if the
|
|
2621
|
-
update does not
|
|
2622
|
-
change the value of
|
|
2623
|
-
a field.</td>
|
|
2624
|
-
</tr>
|
|
2625
|
-
</tbody>
|
|
2626
|
-
</table>
|
|
2627
|
-
</td>
|
|
2628
|
-
</tr>
|
|
2629
|
-
</tbody>
|
|
2630
|
-
</table>
|
|
2631
|
-
<p><strong>Table 10.47:</strong> <em>Aggregated SOW and Delta Subscribe</em></p>
|
|
2632
|
-
</div>
|
|
2633
|
-
</div>
|
|
2634
|
-
<div class="section" id="sow-delete">
|
|
2635
|
-
<h2>SOW Delete<a class="headerlink" href="#sow-delete" title="Permalink to this headline">¶</a></h2>
|
|
2636
|
-
<p>This section presents common recipes for sending a sow_delete command
|
|
2637
|
-
using the <code class="docutils literal"><span class="pre">Command</span></code> or <code class="docutils literal"><span class="pre">Message</span></code> interfaces. This section provides
|
|
2638
|
-
information on how to configure the request to AMPS. You can adapt this
|
|
2639
|
-
information to your application and the specific interface you are
|
|
2640
|
-
using.</p>
|
|
2641
|
-
<div class="section" id="delete-all-records-in-a-sow">
|
|
2642
|
-
<h3>Delete All Records in a SOW<a class="headerlink" href="#delete-all-records-in-a-sow" title="Permalink to this headline">¶</a></h3>
|
|
2643
|
-
<p>To delete all records in a SOW, provide a filter that evaluates to TRUE
|
|
2644
|
-
for every record in the SOW. By convention, 60East recommends <code class="docutils literal"><span class="pre">1=1</span></code>
|
|
2645
|
-
for the filter.</p>
|
|
2646
|
-
<table border="1" class="docutils">
|
|
2647
|
-
<colgroup>
|
|
2648
|
-
<col width="50%" />
|
|
2649
|
-
<col width="50%" />
|
|
2650
|
-
</colgroup>
|
|
2651
|
-
<thead valign="bottom">
|
|
2652
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2653
|
-
<th class="head">Comment</th>
|
|
2654
|
-
</tr>
|
|
2655
|
-
</thead>
|
|
2656
|
-
<tbody valign="top">
|
|
2657
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2658
|
-
</pre></div>
|
|
2659
|
-
</div>
|
|
2660
|
-
</td>
|
|
2661
|
-
<td>Sets the topic from which to remove
|
|
2662
|
-
records.</td>
|
|
2663
|
-
</tr>
|
|
2664
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Filter</span>
|
|
2665
|
-
</pre></div>
|
|
2666
|
-
</div>
|
|
2667
|
-
</td>
|
|
2668
|
-
<td>A filter specifying the messages to
|
|
2669
|
-
remove. By convention, use <code class="docutils literal"><span class="pre">1=1</span></code>
|
|
2670
|
-
to remove all records in the SOW.</td>
|
|
2671
|
-
</tr>
|
|
2672
|
-
</tbody>
|
|
2673
|
-
</table>
|
|
2674
|
-
<p><strong>Table 10.48:</strong> <em>Delete All Records in a SOW</em></p>
|
|
2675
|
-
</div>
|
|
2676
|
-
<div class="section" id="delete-sow-records-matching-a-filter">
|
|
2677
|
-
<h3>Delete SOW Records Matching a Filter<a class="headerlink" href="#delete-sow-records-matching-a-filter" title="Permalink to this headline">¶</a></h3>
|
|
2678
|
-
<p>To delete the records that match a particular filter, provide the filter
|
|
2679
|
-
in the <code class="docutils literal"><span class="pre">sow_delete</span></code> command.</p>
|
|
2680
|
-
<table border="1" class="docutils">
|
|
2681
|
-
<colgroup>
|
|
2682
|
-
<col width="50%" />
|
|
2683
|
-
<col width="50%" />
|
|
2684
|
-
</colgroup>
|
|
2685
|
-
<thead valign="bottom">
|
|
2686
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2687
|
-
<th class="head">Comment</th>
|
|
2688
|
-
</tr>
|
|
2689
|
-
</thead>
|
|
2690
|
-
<tbody valign="top">
|
|
2691
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2692
|
-
</pre></div>
|
|
2693
|
-
</div>
|
|
2694
|
-
</td>
|
|
2695
|
-
<td>Sets the topic from which to remove
|
|
2696
|
-
records.</td>
|
|
2697
|
-
</tr>
|
|
2698
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Filter</span>
|
|
2699
|
-
</pre></div>
|
|
2700
|
-
</div>
|
|
2701
|
-
</td>
|
|
2702
|
-
<td>A filter specifying the messages to
|
|
2703
|
-
remove.</td>
|
|
2704
|
-
</tr>
|
|
2705
|
-
</tbody>
|
|
2706
|
-
</table>
|
|
2707
|
-
<p><strong>Table 10.49:</strong> <em>Delete All Records in a SOW</em></p>
|
|
2708
|
-
</div>
|
|
2709
|
-
<div class="section" id="delete-a-specific-message-by-data">
|
|
2710
|
-
<h3>Delete A Specific Message By Data<a class="headerlink" href="#delete-a-specific-message-by-data" title="Permalink to this headline">¶</a></h3>
|
|
2711
|
-
<p>To delete a specific message, provide the data for the message to
|
|
2712
|
-
delete. With this form of SOW delete, AMPS deletes the message that
|
|
2713
|
-
would have been updated if the data were provided as a publish message.
|
|
2714
|
-
Notice that this form of <code class="docutils literal"><span class="pre">sow_delete</span></code> relies on the <code class="docutils literal"><span class="pre">Key</span></code> definition
|
|
2715
|
-
in the SOW configuration, and is not generally useful with
|
|
2716
|
-
explicitly-keyed SOW topics.</p>
|
|
2717
|
-
<table border="1" class="docutils">
|
|
2718
|
-
<colgroup>
|
|
2719
|
-
<col width="50%" />
|
|
2720
|
-
<col width="50%" />
|
|
2721
|
-
</colgroup>
|
|
2722
|
-
<thead valign="bottom">
|
|
2723
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2724
|
-
<th class="head">Comment</th>
|
|
2725
|
-
</tr>
|
|
2726
|
-
</thead>
|
|
2727
|
-
<tbody valign="top">
|
|
2728
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2729
|
-
</pre></div>
|
|
2730
|
-
</div>
|
|
2731
|
-
</td>
|
|
2732
|
-
<td>Sets the topic from which to remove
|
|
2733
|
-
records.</td>
|
|
2734
|
-
</tr>
|
|
2735
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Data</span>
|
|
2736
|
-
</pre></div>
|
|
2737
|
-
</div>
|
|
2738
|
-
</td>
|
|
2739
|
-
<td>The message to remove.</td>
|
|
2740
|
-
</tr>
|
|
2741
|
-
</tbody>
|
|
2742
|
-
</table>
|
|
2743
|
-
<p><strong>Table 10.50:</strong> <em>Delete All Records in a SOW</em></p>
|
|
2744
|
-
</div>
|
|
2745
|
-
<div class="section" id="deleting-specific-messages-using-keys">
|
|
2746
|
-
<h3>Deleting Specific Messages Using Keys<a class="headerlink" href="#deleting-specific-messages-using-keys" title="Permalink to this headline">¶</a></h3>
|
|
2747
|
-
<p>To delete specific messages using SOW keys, provide the SOW keys for the
|
|
2748
|
-
message to delete.</p>
|
|
2749
|
-
<table border="1" class="docutils">
|
|
2750
|
-
<colgroup>
|
|
2751
|
-
<col width="50%" />
|
|
2752
|
-
<col width="50%" />
|
|
2753
|
-
</colgroup>
|
|
2754
|
-
<thead valign="bottom">
|
|
2755
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2756
|
-
<th class="head">Comment</th>
|
|
2757
|
-
</tr>
|
|
2758
|
-
</thead>
|
|
2759
|
-
<tbody valign="top">
|
|
2760
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2761
|
-
</pre></div>
|
|
2762
|
-
</div>
|
|
2763
|
-
</td>
|
|
2764
|
-
<td>Sets the topic from which to remove
|
|
2765
|
-
records.</td>
|
|
2766
|
-
</tr>
|
|
2767
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">SOWKeys</span>
|
|
2768
|
-
</pre></div>
|
|
2769
|
-
</div>
|
|
2770
|
-
</td>
|
|
2771
|
-
<td>A comma-delimited list of SOWKeys
|
|
2772
|
-
that specify the messages to remove.</td>
|
|
2773
|
-
</tr>
|
|
2774
|
-
</tbody>
|
|
2775
|
-
</table>
|
|
2776
|
-
<p><strong>Table 10.51:</strong> <em>Delete All Records in a SOW</em></p>
|
|
2777
|
-
</div>
|
|
2778
|
-
<div class="section" id="acknowledging-messages-from-a-queue">
|
|
2779
|
-
<h3>Acknowledging Messages from a Queue<a class="headerlink" href="#acknowledging-messages-from-a-queue" title="Permalink to this headline">¶</a></h3>
|
|
2780
|
-
<p>To acknowledge messages from an AMPS queue, provide the bookmarks for
|
|
2781
|
-
the messages to acknowledge. Notice that this is the only form of the
|
|
2782
|
-
sow_delete command that can acknowledge messages from a queue, and that
|
|
2783
|
-
this form of <code class="docutils literal"><span class="pre">sow_delete</span></code> is not accepted for topics that are not
|
|
2784
|
-
queue topics.</p>
|
|
2785
|
-
<table border="1" class="docutils">
|
|
2786
|
-
<colgroup>
|
|
2787
|
-
<col width="50%" />
|
|
2788
|
-
<col width="50%" />
|
|
2789
|
-
</colgroup>
|
|
2790
|
-
<thead valign="bottom">
|
|
2791
|
-
<tr class="row-odd"><th class="head">Header</th>
|
|
2792
|
-
<th class="head">Comment</th>
|
|
2793
|
-
</tr>
|
|
2794
|
-
</thead>
|
|
2795
|
-
<tbody valign="top">
|
|
2796
|
-
<tr class="row-even"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Topic</span>
|
|
2797
|
-
</pre></div>
|
|
2798
|
-
</div>
|
|
2799
|
-
</td>
|
|
2800
|
-
<td>Sets the topic that contains the
|
|
2801
|
-
messages to acknowledge.</td>
|
|
2802
|
-
</tr>
|
|
2803
|
-
<tr class="row-odd"><td><div class="first last highlight-default"><div class="highlight"><pre><span></span><span class="n">Bookmark</span>
|
|
2804
|
-
</pre></div>
|
|
2805
|
-
</div>
|
|
2806
|
-
</td>
|
|
2807
|
-
<td>A comma-delimited list of Bookmarks
|
|
2808
|
-
that specify the messages to
|
|
2809
|
-
acknowledge.</td>
|
|
2810
|
-
</tr>
|
|
2811
|
-
</tbody>
|
|
2812
|
-
</table>
|
|
2813
|
-
<p><strong>Table 10.52:</strong> <em>Acknowledging a queue message</em></p>
|
|
2814
|
-
</div>
|
|
2815
|
-
</div>
|
|
2816
|
-
</div>
|
|
2817
|
-
|
|
2818
|
-
|
|
2819
|
-
</div>
|
|
2820
|
-
</div>
|
|
2821
|
-
</div>
|
|
2822
|
-
<div class="clearer"></div>
|
|
2823
|
-
</div>
|
|
2824
|
-
<div class="footer">
|
|
2825
|
-
©2022, 60East Technologies, Inc..
|
|
2826
|
-
|
|
2827
|
-
|
|
|
2828
|
-
Powered by <a href="http://sphinx-doc.org/">Sphinx 1.5.3</a>
|
|
2829
|
-
& <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.10</a>
|
|
2830
|
-
|
|
2831
|
-
</div>
|
|
2832
|
-
|
|
2833
|
-
|
|
2834
|
-
|
|
2835
|
-
|
|
2836
|
-
</body>
|
|
2837
|
-
</html>
|