amps-python-client 5.3.4.1__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.1/HISTORY +7 -0
- amps-python-client-5.3.4.1/LICENSE +157 -0
- amps-python-client-5.3.4.1/PKG-INFO +112 -0
- amps-python-client-5.3.4.1/README.md +96 -0
- 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 +4 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_images/caution.svg +25 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +32 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +27 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/intro.rst.txt +43 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/logon.rst.txt +231 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +1474 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/publishing.rst.txt +25 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +12 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +23 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/removing.rst.txt +6 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/utilities.rst.txt +13 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/index.rst.txt +56 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/ajax-loader.gif +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/alabaster.css +699 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/basic.css +632 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/comment-bright.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/comment-close.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/comment.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css +192 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css.backup +161 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/doctools.js +287 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/down-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/down.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/file.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/flag_logo.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/flag_logo.svg +153 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/jquery-3.1.0.js +10074 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/jquery.js +4 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/minus.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/plus.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/pygments.css +74 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/searchtools.js +758 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/underscore-1.3.1.js +999 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/underscore.js +31 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/up-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/up.png +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/websupport.js +808 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/ack-messages.html +417 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/content-messages.html +417 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/intro.html +126 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/logon.html +295 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/protocol-reference.html +1190 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/publishing.html +436 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-delimiters.html +173 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-subscribe.html +2123 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/removing.html +299 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/utilities.html +287 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/genindex.html +97 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/index.html +138 -0
- 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 +107 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/searchindex.js +1 -0
- amps-python-client-5.3.4.1/docs/html/.buildinfo +4 -0
- amps-python-client-5.3.4.1/docs/html/_sources/code.rst.txt +6 -0
- amps-python-client-5.3.4.1/docs/html/_sources/index.rst.txt +29 -0
- amps-python-client-5.3.4.1/docs/html/_static/ajax-loader.gif +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/basic.css +632 -0
- amps-python-client-5.3.4.1/docs/html/_static/classic.css +261 -0
- amps-python-client-5.3.4.1/docs/html/_static/comment-bright.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/comment-close.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/comment.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/default.css +1 -0
- amps-python-client-5.3.4.1/docs/html/_static/doctools.js +287 -0
- amps-python-client-5.3.4.1/docs/html/_static/down-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/down.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/file.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/jquery-3.1.0.js +10074 -0
- amps-python-client-5.3.4.1/docs/html/_static/jquery.js +4 -0
- amps-python-client-5.3.4.1/docs/html/_static/minus.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/plus.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/pygments.css +74 -0
- amps-python-client-5.3.4.1/docs/html/_static/searchtools.js +758 -0
- amps-python-client-5.3.4.1/docs/html/_static/sidebar.js +159 -0
- amps-python-client-5.3.4.1/docs/html/_static/underscore-1.3.1.js +999 -0
- amps-python-client-5.3.4.1/docs/html/_static/underscore.js +31 -0
- amps-python-client-5.3.4.1/docs/html/_static/up-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/up.png +0 -0
- amps-python-client-5.3.4.1/docs/html/_static/websupport.js +808 -0
- amps-python-client-5.3.4.1/docs/html/code.html +6503 -0
- amps-python-client-5.3.4.1/docs/html/genindex.html +1361 -0
- amps-python-client-5.3.4.1/docs/html/index.html +131 -0
- 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 +111 -0
- amps-python-client-5.3.4.1/docs/html/search.html +107 -0
- amps-python-client-5.3.4.1/docs/html/searchindex.js +1 -0
- 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 +4 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/caution.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/caution.svg +25 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/connection_string.svg +461 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/important.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/important.svg +25 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/tip.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/tip.svg +31 -0
- amps-python-client-5.3.4.1/docs/python/html/_images/warning.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/advanced-topics.rst.txt +398 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/cpp-compiler-list.rst.txt +6 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +26 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/creating-commands.rst.txt +159 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/deltas.rst.txt +79 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/error-handling.rst.txt +482 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/exceptions.rst.txt +128 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/first-program.rst.txt +142 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/high-availability.rst.txt +876 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/installing.rst.txt +184 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/introduction.rst.txt +50 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +32 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/performance-tips.rst.txt +434 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/queues.rst.txt +282 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/sow.rst.txt +292 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/subscriptions.rst.txt +374 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/utilities.rst.txt +214 -0
- amps-python-client-5.3.4.1/docs/python/html/_sources/index.rst.txt +44 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/ajax-loader.gif +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/alabaster.css +699 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/basic.css +632 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/comment-bright.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/comment-close.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/comment.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css +192 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css.backup +161 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/doctools.js +287 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/down-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/down.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/file.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/flag_logo.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/flag_logo.svg +153 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/jquery-3.1.0.js +10074 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/jquery.js +4 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/minus.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/plus.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/pygments.css +74 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/searchtools.js +758 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/underscore-1.3.1.js +999 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/underscore.js +31 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/up-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/up.png +0 -0
- amps-python-client-5.3.4.1/docs/python/html/_static/websupport.js +808 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/advanced-topics.html +447 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-compiler-list.html +92 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-feature-table.html +156 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/creating-commands.html +2837 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/deltas.html +169 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/error-handling.html +746 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/exceptions.html +272 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/first-program.html +499 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/high-availability.html +1014 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/installing.html +264 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/introduction.html +245 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/moving-from-python-lite.html +118 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/performance-tips.html +499 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/queues.html +352 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/sow.html +381 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/subscriptions.html +535 -0
- amps-python-client-5.3.4.1/docs/python/html/chapters/utilities.html +302 -0
- amps-python-client-5.3.4.1/docs/python/html/genindex.html +351 -0
- amps-python-client-5.3.4.1/docs/python/html/index.html +380 -0
- 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 +107 -0
- amps-python-client-5.3.4.1/docs/python/html/searchindex.js +1 -0
- 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 +4 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_sources/chapters/crankitup.rst.txt +155 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_sources/chapters/equipment.rst.txt +19 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_sources/index.rst.txt +20 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/ajax-loader.gif +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/alabaster.css +699 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/basic.css +632 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/comment-bright.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/comment-close.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/comment.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css +192 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css.backup +161 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/doctools.js +287 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/down-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/down.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/file.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/flag_logo.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/flag_logo.svg +153 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/jquery-3.1.0.js +10074 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/jquery.js +4 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/minus.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/plus.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/pygments.css +74 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/searchtools.js +758 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/underscore-1.3.1.js +999 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/underscore.js +31 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/up-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/up.png +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/websupport.js +808 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/crankitup.html +271 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/equipment.html +105 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/genindex.html +97 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/index.html +382 -0
- 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 +107 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/searchindex.js +1 -0
- amps-python-client-5.3.4.1/docs/resources/custom.css +9 -0
- amps-python-client-5.3.4.1/docs/resources/flag_logo.svg +153 -0
- 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 +4 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/AMPS-Queues-Intro.svg +1330 -0
- 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 +235 -0
- 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 +1 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub2.svg +1 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWAndSubscribeAndReplace.svg +684 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery1.svg +402 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery2.svg +505 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig1.svg +1 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig2.svg +1 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig3.svg +1 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig4.svg +1 -0
- 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 +25 -0
- 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 +25 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/inline_view_conflation.svg +1 -0
- 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 +627 -0
- 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 +248 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_2.svg +183 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_update_sequence.svg +1 -0
- 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 +31 -0
- 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 +23 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/acks.rst.txt +232 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/actions.rst.txt +111 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +358 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +83 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +11 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +86 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +9 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +111 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +269 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/daemon.rst.txt +232 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/delta.rst.txt +556 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/distribution.rst.txt +186 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +191 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/events.rst.txt +39 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +203 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/glossary.rst.txt +101 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/ha.rst.txt +465 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +23 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/intro.rst.txt +116 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/logging.rst.txt +34 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +1398 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +326 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/oof.rst.txt +312 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/operation.rst.txt +27 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +49 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/queues.rst.txt +1351 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/replication.rst.txt +1228 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/securing.rst.txt +657 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow.rst.txt +57 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +25 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/spark.rst.txt +824 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/transports.rst.txt +291 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +517 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/txlog.rst.txt +62 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/usecases.rst.txt +21 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/utilities.rst.txt +62 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/views.rst.txt +175 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/index.rst.txt +110 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/ajax-loader.gif +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/alabaster.css +695 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/basic.css +632 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/comment-bright.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/comment-close.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/comment.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css +192 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css.backup +161 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/doctools.js +287 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/down-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/down.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/file.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/flag_logo.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/flag_logo.svg +153 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/jquery-3.1.0.js +10074 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/jquery.js +4 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/minus.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/plus.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/pygments.css +74 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/searchtools.js +758 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/underscore-1.3.1.js +999 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/underscore.js +31 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/up-pressed.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/up.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/websupport.js +808 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/acks.html +289 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/actions.html +3782 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps-statistics.html +439 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_expressions.html +1552 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_functions.html +1626 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/auxiliary_modules.html +2548 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/config-file-shortcuts.html +508 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/conflated_topics.html +328 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/constructing-fields.html +447 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/daemon.html +295 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/delta.html +609 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/distribution.html +246 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/enrichment.html +264 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/events.html +449 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/file_format_versions.html +229 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/glossary.html +215 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/ha.html +978 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/installing_and_starting.html +357 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/intro.html +572 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/logging.html +972 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/messageTypes.html +1280 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/monitoring.html +718 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/oof.html +341 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/operation.html +1515 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/pub_sub.html +934 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/queues.html +1767 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/replication.html +1777 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/securing.html +697 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow.html +1038 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow_queries.html +621 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/spark.html +819 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/transports.html +352 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/troubleshooting.html +530 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/txlog.html +1013 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/usecases.html +288 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/utilities.html +133 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/views.html +1120 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/genindex.html +1261 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/index.html +163 -0
- 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 +106 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/searchindex.js +1 -0
- amps-python-client-5.3.4.1/include/ampspy_bookmarkstore.hpp +63 -0
- amps-python-client-5.3.4.1/include/ampspy_compat.h +63 -0
- amps-python-client-5.3.4.1/include/ampspy_defs.hpp +181 -0
- amps-python-client-5.3.4.1/include/ampspy_recoverypointadapter.hpp +52 -0
- amps-python-client-5.3.4.1/include/ampspy_shims.hpp +113 -0
- amps-python-client-5.3.4.1/include/ampspy_type_object.hpp +242 -0
- amps-python-client-5.3.4.1/include/ampspy_types.hpp +1139 -0
- amps-python-client-5.3.4.1/include/ampspyver.h +30 -0
- amps-python-client-5.3.4.1/index.html +66 -0
- amps-python-client-5.3.4.1/samples/AMPSConsolePublisher.py +59 -0
- amps-python-client-5.3.4.1/samples/AMPSConsoleSubscriber.py +63 -0
- amps-python-client-5.3.4.1/samples/AMPSFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.1/samples/AMPSFIXShredderSubscriber.py +69 -0
- amps-python-client-5.3.4.1/samples/AMPSNVFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.1/samples/AMPSNVFIXShredderSubscriber.py +67 -0
- amps-python-client-5.3.4.1/samples/AMPSPublishForReplay.py +81 -0
- amps-python-client-5.3.4.1/samples/AMPSQueueConsumer.py +69 -0
- amps-python-client-5.3.4.1/samples/AMPSQueuePublisher.py +59 -0
- amps-python-client-5.3.4.1/samples/AMPSSOWConsolePublisher.py +67 -0
- amps-python-client-5.3.4.1/samples/AMPSSOWConsoleSubscriber.py +77 -0
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeConsoleSubscriber.py +79 -0
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeWithOOF.py +108 -0
- amps-python-client-5.3.4.1/samples/AMPSSubscribeForReplay.py +128 -0
- amps-python-client-5.3.4.1/samples/AMPSUpdateForOOF.py +123 -0
- amps-python-client-5.3.4.1/samples/CompositeMessagePublisher.py +84 -0
- amps-python-client-5.3.4.1/samples/CompositeMessageSubscriber.py +87 -0
- amps-python-client-5.3.4.1/samples/RandomServerChooser.py +41 -0
- amps-python-client-5.3.4.1/samples/sample.xml +335 -0
- amps-python-client-5.3.4.1/setup.py +209 -0
- amps-python-client-5.3.4.1/setup_amps.py +94 -0
- amps-python-client-5.3.4.1/src/ampspy_shims.cpp +203 -0
- amps-python-client-5.3.4.1/src/ampspy_type_object.cpp +484 -0
- amps-python-client-5.3.4.1/src/authenticator.cpp +128 -0
- amps-python-client-5.3.4.1/src/bookmarkstore.cpp +238 -0
- amps-python-client-5.3.4.1/src/client.cpp +2430 -0
- amps-python-client-5.3.4.1/src/client_docs.h +956 -0
- amps-python-client-5.3.4.1/src/cmessagehandler.cpp +151 -0
- amps-python-client-5.3.4.1/src/command.cpp +164 -0
- amps-python-client-5.3.4.1/src/command_docs.h +194 -0
- amps-python-client-5.3.4.1/src/compositemessagebuilder.cpp +111 -0
- amps-python-client-5.3.4.1/src/compositemessageparser.cpp +146 -0
- amps-python-client-5.3.4.1/src/conflatingrecoverypointadapter.cpp +194 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockPublishStore.hpp +2053 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockStore.hpp +677 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/BookmarkStore.hpp +542 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/Buffer.hpp +214 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageBuilder.hpp +174 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageParser.hpp +151 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/DefaultServerChooser.hpp +162 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/Field.hpp +719 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClient.hpp +370 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClientImpl.hpp +460 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/HybridPublishStore.hpp +481 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/LoggedBookmarkStore.hpp +1255 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapBookmarkStore.hpp +1283 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapStoreBuffer.hpp +290 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryBookmarkStore.hpp +1622 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryPublishStore.hpp +66 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryStoreBuffer.hpp +244 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemorySubscriptionManager.hpp +850 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/Message.hpp +1819 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/MessageRouter.hpp +618 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/PublishStore.hpp +158 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategy.hpp +106 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +317 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPoint.hpp +323 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPointAdapter.hpp +501 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/RingBookmarkStore.hpp +669 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +490 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooser.hpp +145 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooserImpl.hpp +95 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps.h +775 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_generated.h +46 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_impl.h +204 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_ssl.h +78 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampscrc.hpp +210 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsplusplus.hpp +8817 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsuri.h +84 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h +41 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h.in +41 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/constants.hpp +194 -0
- amps-python-client-5.3.4.1/src/cpp/include/amps/util.hpp +1692 -0
- amps-python-client-5.3.4.1/src/cpp/src/amps_protocol.c +688 -0
- amps-python-client-5.3.4.1/src/cpp/src/amps_protocol_generated.h +80 -0
- amps-python-client-5.3.4.1/src/cpp/src/amps_ssl.c +489 -0
- amps-python-client-5.3.4.1/src/cpp/src/atfork.c +446 -0
- amps-python-client-5.3.4.1/src/cpp/src/client.c +483 -0
- amps-python-client-5.3.4.1/src/cpp/src/makefile +92 -0
- amps-python-client-5.3.4.1/src/cpp/src/message.c +837 -0
- amps-python-client-5.3.4.1/src/cpp/src/message_generated.h +611 -0
- amps-python-client-5.3.4.1/src/cpp/src/tcp.c +1489 -0
- amps-python-client-5.3.4.1/src/cpp/src/tcps.c +1894 -0
- amps-python-client-5.3.4.1/src/cpp/src/transports.c +123 -0
- amps-python-client-5.3.4.1/src/cpp/src/unix.c +984 -0
- amps-python-client-5.3.4.1/src/cpp/src/uri.c +301 -0
- amps-python-client-5.3.4.1/src/exponentialdelaystrategy.cpp +137 -0
- amps-python-client-5.3.4.1/src/failedwritehandler.cpp +116 -0
- amps-python-client-5.3.4.1/src/fixbuilder.cpp +146 -0
- amps-python-client-5.3.4.1/src/fixeddelaystrategy.cpp +114 -0
- amps-python-client-5.3.4.1/src/fixshredder.cpp +105 -0
- amps-python-client-5.3.4.1/src/fixshredder_docs.h +38 -0
- amps-python-client-5.3.4.1/src/haclient.cpp +691 -0
- amps-python-client-5.3.4.1/src/haclient_docs.h +132 -0
- amps-python-client-5.3.4.1/src/hybridpublishstore.cpp +137 -0
- amps-python-client-5.3.4.1/src/hybridpublishstore_docs.h +31 -0
- amps-python-client-5.3.4.1/src/memorybookmarkstore.cpp +373 -0
- amps-python-client-5.3.4.1/src/memorybookmarkstore_docs.h +39 -0
- amps-python-client-5.3.4.1/src/memorypublishstore.cpp +160 -0
- amps-python-client-5.3.4.1/src/memorypublishstore_docs.h +32 -0
- amps-python-client-5.3.4.1/src/message.cpp +765 -0
- amps-python-client-5.3.4.1/src/message_docs.h +306 -0
- amps-python-client-5.3.4.1/src/messagestream.cpp +623 -0
- amps-python-client-5.3.4.1/src/messagestream_docs.h +45 -0
- amps-python-client-5.3.4.1/src/mmapbookmarkstore.cpp +422 -0
- amps-python-client-5.3.4.1/src/nvfixbuilder.cpp +160 -0
- amps-python-client-5.3.4.1/src/nvfixbuilder_docs.h +33 -0
- amps-python-client-5.3.4.1/src/nvfixshredder.cpp +99 -0
- amps-python-client-5.3.4.1/src/nvfixshredder_docs.h +39 -0
- amps-python-client-5.3.4.1/src/publishstore.cpp +183 -0
- amps-python-client-5.3.4.1/src/raw_wrapper.cpp +756 -0
- amps-python-client-5.3.4.1/src/reason.cpp +71 -0
- amps-python-client-5.3.4.1/src/recoverypoint.cpp +135 -0
- amps-python-client-5.3.4.1/src/recoverypointadapter.cpp +171 -0
- amps-python-client-5.3.4.1/src/ringbookmarkstore.cpp +360 -0
- amps-python-client-5.3.4.1/src/serverchooser.cpp +245 -0
- amps-python-client-5.3.4.1/src/serverchooser_docs.h +39 -0
- amps-python-client-5.3.4.1/src/sowrecoverypointadapter.cpp +248 -0
- amps-python-client-5.3.4.1/src/store.cpp +62 -0
- amps-python-client-5.3.4.1/src/versioninfo.cpp +175 -0
|
@@ -0,0 +1,618 @@
|
|
|
1
|
+
////////////////////////////////////////////////////////////////////////////
|
|
2
|
+
//
|
|
3
|
+
// Copyright (c) 2010-2023 60East Technologies Inc., All Rights Reserved.
|
|
4
|
+
//
|
|
5
|
+
// This computer software is owned by 60East Technologies Inc. and is
|
|
6
|
+
// protected by U.S. copyright laws and other laws and by international
|
|
7
|
+
// treaties. This computer software is furnished by 60East Technologies
|
|
8
|
+
// Inc. pursuant to a written license agreement and may be used, copied,
|
|
9
|
+
// transmitted, and stored only in accordance with the terms of such
|
|
10
|
+
// license agreement and with the inclusion of the above copyright notice.
|
|
11
|
+
// This computer software or any other copies thereof may not be provided
|
|
12
|
+
// or otherwise made available to any other person.
|
|
13
|
+
//
|
|
14
|
+
// U.S. Government Restricted Rights. This computer software: (a) was
|
|
15
|
+
// developed at private expense and is in all respects the proprietary
|
|
16
|
+
// information of 60East Technologies Inc.; (b) was not developed with
|
|
17
|
+
// government funds; (c) is a trade secret of 60East Technologies Inc.
|
|
18
|
+
// for all purposes of the Freedom of Information Act; and (d) is a
|
|
19
|
+
// commercial item and thus, pursuant to Section 12.212 of the Federal
|
|
20
|
+
// Acquisition Regulations (FAR) and DFAR Supplement Section 227.7202,
|
|
21
|
+
// Government's use, duplication or disclosure of the computer software
|
|
22
|
+
// is subject to the restrictions set forth by 60East Technologies Inc..
|
|
23
|
+
//
|
|
24
|
+
////////////////////////////////////////////////////////////////////////////
|
|
25
|
+
#ifndef _MESSAGEROUTER_HPP_
|
|
26
|
+
#define _MESSAGEROUTER_HPP_
|
|
27
|
+
#include <map>
|
|
28
|
+
#include "amps/ampscrc.hpp"
|
|
29
|
+
#include "amps/util.hpp"
|
|
30
|
+
#include "amps/Message.hpp"
|
|
31
|
+
|
|
32
|
+
namespace AMPS
|
|
33
|
+
{
|
|
34
|
+
/// Wrapper for callback functions in AMPS.
|
|
35
|
+
/// Can be used to bind a function pointer with a void* to use as a callback,
|
|
36
|
+
/// or if available, can wrap a std::function<Object> object, so you
|
|
37
|
+
/// can supply the return value of std::bind, or even a lambda.
|
|
38
|
+
template <typename Func, typename Object>
|
|
39
|
+
class Handler
|
|
40
|
+
{
|
|
41
|
+
protected:
|
|
42
|
+
friend class MessageStream;
|
|
43
|
+
Func _func;
|
|
44
|
+
void* _userData;
|
|
45
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
46
|
+
std::function<void(Object)> _callable;
|
|
47
|
+
#endif
|
|
48
|
+
bool _isValid;
|
|
49
|
+
|
|
50
|
+
public:
|
|
51
|
+
// No op function for handlers
|
|
52
|
+
static void noOpHandler(Object) {;}
|
|
53
|
+
|
|
54
|
+
typedef Func FunctionType;
|
|
55
|
+
///
|
|
56
|
+
/// Null constructor -- no function is wrapped
|
|
57
|
+
Handler() : _func(NULL), _userData(NULL)
|
|
58
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
59
|
+
, _callable(Handler<Func, Object>::noOpHandler)
|
|
60
|
+
#endif
|
|
61
|
+
, _isValid(false)
|
|
62
|
+
{
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/// Constructor for use with a bare function pointer.
|
|
66
|
+
/// \param func_ The function pointer to bind. func must be declared:j
|
|
67
|
+
/// void myFunction(Object o, void* userData);
|
|
68
|
+
/// for example, void myHandler(const Message&m, void *userData);
|
|
69
|
+
/// \param userData_ a value you'd like passed in when you're called.
|
|
70
|
+
Handler(Func func_, void* userData_)
|
|
71
|
+
: _func(func_), _userData(userData_)
|
|
72
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
73
|
+
, _callable(noOpHandler)
|
|
74
|
+
#endif
|
|
75
|
+
, _isValid(true)
|
|
76
|
+
{
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/// Copy constructor
|
|
80
|
+
/// \param orig_ The handler to copy
|
|
81
|
+
Handler(const Handler& orig_)
|
|
82
|
+
: _func(orig_._func), _userData(orig_._userData)
|
|
83
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
84
|
+
, _callable(orig_._callable)
|
|
85
|
+
#endif
|
|
86
|
+
, _isValid(true)
|
|
87
|
+
{
|
|
88
|
+
}
|
|
89
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
90
|
+
/// Constructor for use with a standard c++ library function object
|
|
91
|
+
/// \param callback_ An object that can be assigned to a std::function
|
|
92
|
+
template <typename T>
|
|
93
|
+
Handler(const T& callback_)
|
|
94
|
+
: _func(NULL), _userData(NULL), _callable(callback_), _isValid(true)
|
|
95
|
+
{
|
|
96
|
+
}
|
|
97
|
+
#endif
|
|
98
|
+
void invoke(Object message)
|
|
99
|
+
{
|
|
100
|
+
if (_func)
|
|
101
|
+
{
|
|
102
|
+
_func(message, _userData);
|
|
103
|
+
}
|
|
104
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
105
|
+
else
|
|
106
|
+
{
|
|
107
|
+
_callable(message);
|
|
108
|
+
}
|
|
109
|
+
#endif
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
Handler& operator=(const Handler& rhs_)
|
|
113
|
+
{
|
|
114
|
+
if (this != &rhs_)
|
|
115
|
+
{
|
|
116
|
+
_func = rhs_._func;
|
|
117
|
+
_userData = rhs_._userData;
|
|
118
|
+
#ifdef AMPS_USE_FUNCTIONAL
|
|
119
|
+
_callable = rhs_._callable;
|
|
120
|
+
#endif
|
|
121
|
+
_isValid = rhs_._isValid;
|
|
122
|
+
}
|
|
123
|
+
return *this;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
bool isValid(void) const
|
|
127
|
+
{
|
|
128
|
+
return _isValid;
|
|
129
|
+
}
|
|
130
|
+
Func function(void) const
|
|
131
|
+
{
|
|
132
|
+
return _func;
|
|
133
|
+
}
|
|
134
|
+
void* userData(void) const
|
|
135
|
+
{
|
|
136
|
+
return _userData;
|
|
137
|
+
}
|
|
138
|
+
};
|
|
139
|
+
class Message;
|
|
140
|
+
///
|
|
141
|
+
/// A function pointer type for message-handler functions.
|
|
142
|
+
typedef void(*MessageHandlerFunc)(const Message&, void* userData);
|
|
143
|
+
|
|
144
|
+
typedef Handler<MessageHandlerFunc, const Message&> MessageHandler;
|
|
145
|
+
|
|
146
|
+
///
|
|
147
|
+
/// This class multiplexes messages from AMPS to multiple subscribers
|
|
148
|
+
/// and uses the stream of acks from AMPS to remove routes as appropriate.
|
|
149
|
+
class MessageRouter
|
|
150
|
+
{
|
|
151
|
+
private:
|
|
152
|
+
MessageHandler _emptyMessageHandler;
|
|
153
|
+
typedef amps_uint64_t (*CRCFunction)(const char*, size_t, amps_uint64_t);
|
|
154
|
+
// Function used to calculate the CRC if one is used
|
|
155
|
+
CRCFunction _crc;
|
|
156
|
+
|
|
157
|
+
class MessageRoute
|
|
158
|
+
{
|
|
159
|
+
MessageHandler _messageHandler;
|
|
160
|
+
unsigned _requestedAcks, _systemAcks, _terminationAck;
|
|
161
|
+
public:
|
|
162
|
+
MessageRoute() : _requestedAcks(0), _systemAcks(0), _terminationAck(0) {;}
|
|
163
|
+
MessageRoute(const MessageRoute& rhs_) :
|
|
164
|
+
_messageHandler(rhs_._messageHandler),
|
|
165
|
+
_requestedAcks (rhs_._requestedAcks),
|
|
166
|
+
_systemAcks (rhs_._systemAcks),
|
|
167
|
+
_terminationAck(rhs_._terminationAck)
|
|
168
|
+
{;}
|
|
169
|
+
const MessageRoute& operator=(const MessageRoute& rhs_)
|
|
170
|
+
{
|
|
171
|
+
_messageHandler = rhs_._messageHandler;
|
|
172
|
+
_requestedAcks = rhs_._requestedAcks;
|
|
173
|
+
_systemAcks = rhs_._systemAcks;
|
|
174
|
+
_terminationAck = rhs_._terminationAck;
|
|
175
|
+
return *this;
|
|
176
|
+
}
|
|
177
|
+
MessageRoute(MessageHandler messageHandler_, unsigned requestedAcks_,
|
|
178
|
+
unsigned systemAcks_, bool isSubscribe_) :
|
|
179
|
+
_messageHandler(messageHandler_),
|
|
180
|
+
_requestedAcks(requestedAcks_),
|
|
181
|
+
_systemAcks(systemAcks_),
|
|
182
|
+
_terminationAck(0)
|
|
183
|
+
{
|
|
184
|
+
if (!isSubscribe_)
|
|
185
|
+
{
|
|
186
|
+
// The ack to terminate the route on is whatever the highest
|
|
187
|
+
// bit set in requestedAcks is.
|
|
188
|
+
unsigned bitCounter = (requestedAcks_ | systemAcks_) >> 1;
|
|
189
|
+
_terminationAck = 1;
|
|
190
|
+
while (bitCounter > 0)
|
|
191
|
+
{
|
|
192
|
+
bitCounter >>= 1;
|
|
193
|
+
_terminationAck <<= 1;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// Deliver an ack to registered handler if the ack type was requested
|
|
199
|
+
unsigned deliverAck(const Message& message_, unsigned ackType_)
|
|
200
|
+
{
|
|
201
|
+
if ( (_requestedAcks & ackType_) == 0)
|
|
202
|
+
{
|
|
203
|
+
return 0;
|
|
204
|
+
}
|
|
205
|
+
try
|
|
206
|
+
{
|
|
207
|
+
_messageHandler.invoke(message_);
|
|
208
|
+
}
|
|
209
|
+
catch (std::exception& ex)
|
|
210
|
+
{
|
|
211
|
+
std::cerr << ex.what() << std::endl;
|
|
212
|
+
}
|
|
213
|
+
return 1;
|
|
214
|
+
}
|
|
215
|
+
bool isTerminationAck(unsigned ackType_) const
|
|
216
|
+
{
|
|
217
|
+
return ackType_ == _terminationAck;
|
|
218
|
+
}
|
|
219
|
+
unsigned deliverData(const Message& message_)
|
|
220
|
+
{
|
|
221
|
+
_messageHandler.invoke(message_);
|
|
222
|
+
return 1;
|
|
223
|
+
}
|
|
224
|
+
const MessageHandler& getMessageHandler() const
|
|
225
|
+
{
|
|
226
|
+
return _messageHandler;
|
|
227
|
+
}
|
|
228
|
+
MessageHandler& getMessageHandler()
|
|
229
|
+
{
|
|
230
|
+
return _messageHandler;
|
|
231
|
+
}
|
|
232
|
+
};
|
|
233
|
+
|
|
234
|
+
public:
|
|
235
|
+
MessageRouter()
|
|
236
|
+
: _previousCommandId(0),
|
|
237
|
+
_lookupGenerationCount(0),
|
|
238
|
+
_generationCount(0)
|
|
239
|
+
{
|
|
240
|
+
#ifndef AMPS_SSE_42
|
|
241
|
+
_crc = AMPS::CRC<0>::crcNoSSE;
|
|
242
|
+
#else
|
|
243
|
+
if (AMPS::CRC<0>::isSSE42Enabled())
|
|
244
|
+
{
|
|
245
|
+
_crc = AMPS::CRC<0>::crc;
|
|
246
|
+
}
|
|
247
|
+
else
|
|
248
|
+
{
|
|
249
|
+
_crc = AMPS::CRC<0>::crcNoSSE;
|
|
250
|
+
}
|
|
251
|
+
#endif
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
int addRoute(const Field& commandId_, const AMPS::MessageHandler& messageHandler_,
|
|
255
|
+
unsigned requestedAcks_, unsigned systemAcks_, bool isSubscribe_)
|
|
256
|
+
{
|
|
257
|
+
Lock<Mutex> lock(_lock);
|
|
258
|
+
RouteMap::iterator i = _routes.find(commandId_);
|
|
259
|
+
if (i == _routes.end())
|
|
260
|
+
{
|
|
261
|
+
_routes[commandId_.deepCopy()] = MessageRoute(messageHandler_, requestedAcks_, systemAcks_, isSubscribe_);
|
|
262
|
+
return 1;
|
|
263
|
+
}
|
|
264
|
+
else
|
|
265
|
+
{
|
|
266
|
+
// Only replace a non-subscribe with a subscribe
|
|
267
|
+
if (isSubscribe_ && !i->second.isTerminationAck(0))
|
|
268
|
+
{
|
|
269
|
+
void* routeData = i->second.getMessageHandler().userData();;
|
|
270
|
+
i->second = MessageRoute(messageHandler_, requestedAcks_, systemAcks_, isSubscribe_);
|
|
271
|
+
if (routeData)
|
|
272
|
+
{
|
|
273
|
+
Unlock<Mutex> u(_lock);
|
|
274
|
+
amps_invoke_remove_route_function(routeData);
|
|
275
|
+
}
|
|
276
|
+
return 1;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
return 0;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
// returns true if a route was removed.
|
|
283
|
+
bool removeRoute(const Field& commandId_)
|
|
284
|
+
{
|
|
285
|
+
Lock<Mutex> lock(_lock);
|
|
286
|
+
RouteMap::iterator i = _routes.find(commandId_);
|
|
287
|
+
if (i == _routes.end())
|
|
288
|
+
{
|
|
289
|
+
return false;
|
|
290
|
+
}
|
|
291
|
+
return _removeRoute(i);
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
void clear()
|
|
295
|
+
{
|
|
296
|
+
AMPS_FETCH_ADD(&_generationCount, 1);
|
|
297
|
+
std::vector<void*> removeData;
|
|
298
|
+
{
|
|
299
|
+
Lock<Mutex> lock(_lock);
|
|
300
|
+
for (RouteMap::iterator i = _routes.begin(); i != _routes.end(); ++i)
|
|
301
|
+
{
|
|
302
|
+
// Make a non-const copy of Field and clear it, which will clear i
|
|
303
|
+
// as well but won't actually affect the map, which is unaware that
|
|
304
|
+
// the key's shared pointer has been deleted.
|
|
305
|
+
Field f = i->first;
|
|
306
|
+
void* data = i->second.getMessageHandler().userData();
|
|
307
|
+
removeData.push_back(data);
|
|
308
|
+
f.clear();
|
|
309
|
+
}
|
|
310
|
+
_routes.clear();
|
|
311
|
+
}
|
|
312
|
+
for (size_t i = 0; i < removeData.size(); ++i)
|
|
313
|
+
{
|
|
314
|
+
amps_invoke_remove_route_function(removeData[i]);
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
// Returns true if a route exists for a single id.
|
|
319
|
+
bool hasRoute(const Field& commandId_) const
|
|
320
|
+
{
|
|
321
|
+
Lock<Mutex> lock(_lock);
|
|
322
|
+
RouteMap::const_iterator it = _routes.find(commandId_);
|
|
323
|
+
return it != _routes.end();
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
// Find a single route and return true if here, setting result_ to the handler.
|
|
327
|
+
bool getRoute(const Field& commandId_, MessageHandler& result_) const
|
|
328
|
+
{
|
|
329
|
+
Lock<Mutex> lock(_lock);
|
|
330
|
+
RouteMap::const_iterator it = _routes.find(commandId_);
|
|
331
|
+
if (it != _routes.end())
|
|
332
|
+
{
|
|
333
|
+
result_ = it->second.getMessageHandler();
|
|
334
|
+
return true;
|
|
335
|
+
}
|
|
336
|
+
else
|
|
337
|
+
{
|
|
338
|
+
result_ = _emptyMessageHandler;
|
|
339
|
+
return false;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
// RouteCache is the result type for a parseRoutes(); we do extra work
|
|
344
|
+
// to avoid hitting the map or its lock when the subids field on
|
|
345
|
+
// publish messages does not change.
|
|
346
|
+
struct RouteLookup
|
|
347
|
+
{
|
|
348
|
+
size_t idOffset;
|
|
349
|
+
size_t idLength;
|
|
350
|
+
MessageHandler handler;
|
|
351
|
+
};
|
|
352
|
+
class RouteCache : public std::vector<RouteLookup>
|
|
353
|
+
{
|
|
354
|
+
RouteCache(const RouteCache&);
|
|
355
|
+
void operator=(const RouteCache&);
|
|
356
|
+
public:
|
|
357
|
+
RouteCache(void)
|
|
358
|
+
: _generationCount(0),
|
|
359
|
+
_hashVal(0)
|
|
360
|
+
{;}
|
|
361
|
+
|
|
362
|
+
void invalidateCache(void)
|
|
363
|
+
{
|
|
364
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
365
|
+
_generationCount.store(0);
|
|
366
|
+
#else
|
|
367
|
+
_generationCount = 0;
|
|
368
|
+
#endif
|
|
369
|
+
_hashVal = 0;
|
|
370
|
+
clear();
|
|
371
|
+
}
|
|
372
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
373
|
+
void invalidateCache(const std::atomic<uint_fast64_t>& generationCount_, amps_uint64_t hashVal_)
|
|
374
|
+
{
|
|
375
|
+
_generationCount.store(generationCount_);
|
|
376
|
+
#else
|
|
377
|
+
void invalidateCache(const AMPS_ATOMIC_TYPE& generationCount_, amps_uint64_t hashVal_)
|
|
378
|
+
{
|
|
379
|
+
_generationCount = generationCount_;
|
|
380
|
+
#endif
|
|
381
|
+
_hashVal = hashVal_;
|
|
382
|
+
clear();
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
386
|
+
bool isCacheHit(const std::atomic<uint_fast64_t>& generationCount_, amps_uint64_t hashVal_) const
|
|
387
|
+
#else
|
|
388
|
+
bool isCacheHit(const AMPS_ATOMIC_TYPE& generationCount_, amps_uint64_t hashVal_) const
|
|
389
|
+
#endif
|
|
390
|
+
{
|
|
391
|
+
return _generationCount == generationCount_ && _hashVal == hashVal_;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
private:
|
|
395
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
396
|
+
std::atomic<uint_fast64_t> _generationCount;
|
|
397
|
+
#else
|
|
398
|
+
AMPS_ATOMIC_TYPE _generationCount;
|
|
399
|
+
#endif
|
|
400
|
+
amps_uint64_t _hashVal;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
// Parses the command id list into the route lookup vector and assigns
|
|
404
|
+
// the found handlers into the list. Only intended to be called by the
|
|
405
|
+
// message handler thread. Returns the number of command/sub IDs parsed.
|
|
406
|
+
size_t parseRoutes(const Field& commandIdList_, RouteCache& result_)
|
|
407
|
+
{
|
|
408
|
+
// Super shortcut: if the whole subID list is the same as the previous one,
|
|
409
|
+
// then assume the result_ contains all the right handlers already, and that
|
|
410
|
+
// the offsets and lengths of subIds are unchanged.
|
|
411
|
+
amps_uint64_t listHash = _crc(commandIdList_.data(), commandIdList_.len(), 0);
|
|
412
|
+
if (result_.isCacheHit(_generationCount, listHash))
|
|
413
|
+
{
|
|
414
|
+
return result_.size();
|
|
415
|
+
}
|
|
416
|
+
result_.invalidateCache(_generationCount, listHash);
|
|
417
|
+
|
|
418
|
+
// Lock required now that we'll be using the route map.
|
|
419
|
+
Lock<Mutex> lockGuard(_lock);
|
|
420
|
+
size_t resultCount = 0;
|
|
421
|
+
const char* pStart = commandIdList_.data();
|
|
422
|
+
for (const char* p = pStart, *e = commandIdList_.len() + pStart; p < e;
|
|
423
|
+
++p, ++resultCount)
|
|
424
|
+
{
|
|
425
|
+
const char* delimiter = p;
|
|
426
|
+
while (delimiter != e && *delimiter != ',')
|
|
427
|
+
{
|
|
428
|
+
++delimiter;
|
|
429
|
+
}
|
|
430
|
+
AMPS::Field subId(p, (size_t)(delimiter - p));
|
|
431
|
+
#ifdef AMPS_USE_EMPLACE
|
|
432
|
+
result_.emplace_back(RouteLookup());
|
|
433
|
+
#else
|
|
434
|
+
result_.push_back(RouteLookup());
|
|
435
|
+
#endif
|
|
436
|
+
// Push back and then copy over fields; would emplace_back if available on
|
|
437
|
+
// all supported compilers.
|
|
438
|
+
RouteLookup& result = result_[resultCount];
|
|
439
|
+
result.idOffset = (size_t)(p - pStart);
|
|
440
|
+
result.idLength = (size_t)(delimiter - p);
|
|
441
|
+
|
|
442
|
+
RouteMap::const_iterator it = _routes.find(subId);
|
|
443
|
+
if (it != _routes.end())
|
|
444
|
+
{
|
|
445
|
+
result.handler = it->second.getMessageHandler();
|
|
446
|
+
}
|
|
447
|
+
else
|
|
448
|
+
{
|
|
449
|
+
result.handler = _emptyMessageHandler;
|
|
450
|
+
}
|
|
451
|
+
p = delimiter;
|
|
452
|
+
}
|
|
453
|
+
return resultCount;
|
|
454
|
+
}
|
|
455
|
+
unsigned deliverAck(const Message& ackMessage_, unsigned ackType_)
|
|
456
|
+
{
|
|
457
|
+
assert(ackMessage_.getCommand() == "ack");
|
|
458
|
+
unsigned messagesDelivered = 0;
|
|
459
|
+
Field key;
|
|
460
|
+
|
|
461
|
+
// Call _deliverAck, which will deliver to any waiting handlers
|
|
462
|
+
// AND remove the route if it's a termination ack
|
|
463
|
+
if (key = ackMessage_.getCommandId(), !key.empty())
|
|
464
|
+
{
|
|
465
|
+
messagesDelivered += _deliverAck(ackMessage_, ackType_, key);
|
|
466
|
+
}
|
|
467
|
+
if (key = ackMessage_.getQueryID(),
|
|
468
|
+
!key.empty() && messagesDelivered == 0)
|
|
469
|
+
{
|
|
470
|
+
messagesDelivered += _deliverAck(ackMessage_, ackType_, key);
|
|
471
|
+
}
|
|
472
|
+
if (key = ackMessage_.getSubscriptionId(),
|
|
473
|
+
!key.empty() && messagesDelivered == 0)
|
|
474
|
+
{
|
|
475
|
+
messagesDelivered += _deliverAck(ackMessage_, ackType_, key);
|
|
476
|
+
}
|
|
477
|
+
return messagesDelivered;
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
// deliverData may only be called by the message handler thread.
|
|
481
|
+
unsigned deliverData(const Message& dataMessage_, const Field& commandId_)
|
|
482
|
+
{
|
|
483
|
+
unsigned messagesDelivered = 0;
|
|
484
|
+
amps_uint64_t hval = _crc(commandId_.data(), commandId_.len(), 0);
|
|
485
|
+
if (_previousCommandId == hval &&
|
|
486
|
+
_lookupGenerationCount == _generationCount)
|
|
487
|
+
{
|
|
488
|
+
messagesDelivered += _previousHandler.deliverData(dataMessage_);
|
|
489
|
+
}
|
|
490
|
+
else
|
|
491
|
+
{
|
|
492
|
+
Lock<Mutex> lock(_lock);
|
|
493
|
+
RouteMap::iterator it = _routes.find(commandId_);
|
|
494
|
+
if (it != _routes.end())
|
|
495
|
+
{
|
|
496
|
+
_previousCommandId = hval;
|
|
497
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
498
|
+
_lookupGenerationCount.store(_generationCount);
|
|
499
|
+
#else
|
|
500
|
+
_lookupGenerationCount = _generationCount;
|
|
501
|
+
#endif
|
|
502
|
+
_previousHandler = it->second;
|
|
503
|
+
messagesDelivered += it->second.deliverData(dataMessage_);
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
return messagesDelivered;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
void invalidateCache(void)
|
|
510
|
+
{
|
|
511
|
+
_previousCommandId = 0;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
void unsubscribeAll(void)
|
|
515
|
+
{
|
|
516
|
+
AMPS_FETCH_ADD(&_generationCount, 1);
|
|
517
|
+
std::vector<Field> removeIds;
|
|
518
|
+
std::vector<void*> removeData;
|
|
519
|
+
Lock<Mutex> lock(_lock);
|
|
520
|
+
for (RouteMap::iterator it = _routes.begin(); it != _routes.end(); ++it)
|
|
521
|
+
{
|
|
522
|
+
if (it->second.isTerminationAck(0))
|
|
523
|
+
{
|
|
524
|
+
removeIds.push_back(it->first);
|
|
525
|
+
removeData.push_back(it->second.getMessageHandler().userData());
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
for (size_t i = 0; i < removeIds.size(); ++i)
|
|
529
|
+
{
|
|
530
|
+
// it can't be end() b/c we have the lock and found id above
|
|
531
|
+
RouteMap::iterator it = _routes.find(removeIds[i]);
|
|
532
|
+
// Make a non-const copy of Field and clear it, which will clear i as well
|
|
533
|
+
Field f = it->first; // -V783
|
|
534
|
+
f.clear();
|
|
535
|
+
_routes.erase(it);
|
|
536
|
+
}
|
|
537
|
+
Unlock<Mutex> u(_lock);
|
|
538
|
+
for (size_t i = 0; i < removeData.size(); ++i)
|
|
539
|
+
{
|
|
540
|
+
amps_invoke_remove_route_function(removeData[i]);
|
|
541
|
+
}
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
private:
|
|
545
|
+
typedef std::map<Field, MessageRoute> RouteMap;
|
|
546
|
+
RouteMap _routes;
|
|
547
|
+
mutable Mutex _lock;
|
|
548
|
+
|
|
549
|
+
MessageRoute _previousHandler;
|
|
550
|
+
amps_uint64_t _previousCommandId;
|
|
551
|
+
#if __cplusplus >= 201100L || _MSC_VER >= 1900
|
|
552
|
+
mutable std::atomic<uint_fast64_t> _lookupGenerationCount;
|
|
553
|
+
mutable std::atomic<uint_fast64_t> _generationCount;
|
|
554
|
+
#else
|
|
555
|
+
mutable AMPS_ATOMIC_TYPE _lookupGenerationCount;
|
|
556
|
+
mutable AMPS_ATOMIC_TYPE _generationCount;
|
|
557
|
+
#endif
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
// Deliver the ack to any waiting handlers
|
|
561
|
+
// AND remove the route if it's a termination ack
|
|
562
|
+
unsigned _deliverAck(const Message& ackMessage_, unsigned ackType_, Field& commandId_)
|
|
563
|
+
{
|
|
564
|
+
Lock<Mutex> lock(_lock);
|
|
565
|
+
unsigned messagesDelivered = 0;
|
|
566
|
+
RouteMap::iterator it = _routes.find(commandId_);
|
|
567
|
+
if (it != _routes.end())
|
|
568
|
+
{
|
|
569
|
+
MessageRoute& route = it->second;
|
|
570
|
+
messagesDelivered += route.deliverAck(ackMessage_, ackType_);
|
|
571
|
+
if (route.isTerminationAck(ackType_))
|
|
572
|
+
{
|
|
573
|
+
_removeRoute(it);
|
|
574
|
+
++messagesDelivered;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
return messagesDelivered;
|
|
578
|
+
}
|
|
579
|
+
unsigned _processAckForRemoval(unsigned ackType_, Field& commandId_)
|
|
580
|
+
{
|
|
581
|
+
Lock<Mutex> lock(_lock);
|
|
582
|
+
RouteMap::iterator it = _routes.find(commandId_);
|
|
583
|
+
if (it != _routes.end())
|
|
584
|
+
{
|
|
585
|
+
MessageRoute& route = it->second;
|
|
586
|
+
if (route.isTerminationAck(ackType_))
|
|
587
|
+
{
|
|
588
|
+
_removeRoute(it);
|
|
589
|
+
return 1U;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
return 0U;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
// returns true if a route was removed.
|
|
596
|
+
bool _removeRoute(RouteMap::iterator& it_)
|
|
597
|
+
{
|
|
598
|
+
// Called with lock already held
|
|
599
|
+
AMPS_FETCH_ADD(&_generationCount, 1);
|
|
600
|
+
// Make a non-const copy of Field and clear it, which will clear i as well
|
|
601
|
+
Field f = it_->first;
|
|
602
|
+
void* routeData = it_->second.getMessageHandler().userData();
|
|
603
|
+
_routes.erase(it_);
|
|
604
|
+
f.clear();
|
|
605
|
+
if (routeData)
|
|
606
|
+
{
|
|
607
|
+
Unlock<Mutex> u(_lock);
|
|
608
|
+
amps_invoke_remove_route_function(routeData);
|
|
609
|
+
}
|
|
610
|
+
return true;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
#endif
|