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,483 @@
|
|
|
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
|
+
#include <amps/amps_impl.h>
|
|
26
|
+
|
|
27
|
+
/* Module globals */
|
|
28
|
+
static void* g_waitingFunction = NULL;
|
|
29
|
+
static void* g_removeRouteFunction = NULL;
|
|
30
|
+
static void* g_copyRouteFunction = NULL;
|
|
31
|
+
|
|
32
|
+
AMPSDLL amps_handle amps_client_create(
|
|
33
|
+
const amps_char* clientName)
|
|
34
|
+
{
|
|
35
|
+
amps_atfork_init();
|
|
36
|
+
amps_client_t* client = (amps_client_t*)malloc(sizeof(amps_client_t));
|
|
37
|
+
if (client)
|
|
38
|
+
{
|
|
39
|
+
memset(client, 0, sizeof(amps_client_t));
|
|
40
|
+
client->transport = NULL;
|
|
41
|
+
|
|
42
|
+
if (clientName)
|
|
43
|
+
{
|
|
44
|
+
size_t end = strlen(clientName) < sizeof(client->clientName)
|
|
45
|
+
? strlen(clientName) : (sizeof(client->clientName) - 1);
|
|
46
|
+
memcpy(client->clientName, clientName, end);
|
|
47
|
+
client->clientName[end] = '\0';
|
|
48
|
+
}
|
|
49
|
+
return client;
|
|
50
|
+
}
|
|
51
|
+
else
|
|
52
|
+
{
|
|
53
|
+
return NULL;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
void
|
|
58
|
+
amps_client_record_transport_error(amps_client_t* me)
|
|
59
|
+
{
|
|
60
|
+
if (me->transport)
|
|
61
|
+
_AMPS_SNPRINTF(me->lastError, sizeof(me->lastError),
|
|
62
|
+
"%s", g_transports[me->transportType].getError(me->transport));
|
|
63
|
+
me->lastError[sizeof(me->lastError) - 1] = '\0';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
void
|
|
67
|
+
amps_client_record_error(amps_client_t* me, const amps_char* error)
|
|
68
|
+
{
|
|
69
|
+
_AMPS_SNPRINTF(me->lastError, sizeof(me->lastError),
|
|
70
|
+
"%s", error);
|
|
71
|
+
me->lastError[sizeof(me->lastError) - 1] = '\0';
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
AMPSDLL amps_result amps_client_set_name(
|
|
75
|
+
amps_handle handle,
|
|
76
|
+
const amps_char* clientName)
|
|
77
|
+
{
|
|
78
|
+
amps_client_t* me = (amps_client_t*)handle;
|
|
79
|
+
/* You are only allowed to set the name on a client ONCE, either at
|
|
80
|
+
* `construction', or via one call to amps_client_set_name. */
|
|
81
|
+
if ( me->clientName[0] )
|
|
82
|
+
{
|
|
83
|
+
amps_client_record_error(me, "Change to a client's name is not permitted.");
|
|
84
|
+
return AMPS_E_USAGE;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
size_t end = strlen(clientName) < sizeof(me->clientName)
|
|
88
|
+
? strlen(clientName) : (sizeof(me->clientName) - 1);
|
|
89
|
+
memcpy(me->clientName, clientName, end);
|
|
90
|
+
me->clientName[end] = '\0';
|
|
91
|
+
return AMPS_E_OK;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
AMPSDLL void amps_client_disconnect(
|
|
97
|
+
amps_handle handle)
|
|
98
|
+
{
|
|
99
|
+
amps_client_t* me = (amps_client_t*)handle;
|
|
100
|
+
if (me->transport)
|
|
101
|
+
{
|
|
102
|
+
g_transports[me->transportType].closeFunc(me->transport);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
AMPSDLL void amps_client_destroy(
|
|
107
|
+
amps_handle handle)
|
|
108
|
+
{
|
|
109
|
+
amps_client_t* me = (amps_client_t*)handle;
|
|
110
|
+
amps_client_disconnect(handle);
|
|
111
|
+
if (me->transport)
|
|
112
|
+
{
|
|
113
|
+
g_transports[me->transportType].destroyFunc(me->transport);
|
|
114
|
+
}
|
|
115
|
+
me->transport = NULL;
|
|
116
|
+
free(me);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
amps_result amps_client_internal_message_handler(
|
|
120
|
+
amps_handle message,
|
|
121
|
+
void* userData)
|
|
122
|
+
{
|
|
123
|
+
amps_client_t* me = (amps_client_t*)userData;
|
|
124
|
+
/* figure out if this is message is expected by somebody and let them know. */
|
|
125
|
+
if (me->messageHandler)
|
|
126
|
+
{
|
|
127
|
+
me->messageHandler(message, me->messageHandlerUserData);
|
|
128
|
+
}
|
|
129
|
+
return AMPS_E_OK;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
void amps_client_internal_predisconnect_handler(
|
|
133
|
+
amps_handle transport,
|
|
134
|
+
unsigned failedVersion,
|
|
135
|
+
void* userData)
|
|
136
|
+
{
|
|
137
|
+
amps_client_t* me = (amps_client_t*)userData;
|
|
138
|
+
|
|
139
|
+
if (me->predisconnectHandler)
|
|
140
|
+
{
|
|
141
|
+
/* call the reconnector on the new guy */
|
|
142
|
+
me->predisconnectHandler(me, failedVersion, me->predisconnectHandlerUserData);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
amps_result amps_client_internal_disconnect_handler(
|
|
147
|
+
amps_handle transport,
|
|
148
|
+
void* userData)
|
|
149
|
+
{
|
|
150
|
+
/* INV: we have already locked the mutex on this client's transport. */
|
|
151
|
+
amps_client_t* me = (amps_client_t*)userData;
|
|
152
|
+
amps_result rc = AMPS_E_CONNECTION;
|
|
153
|
+
|
|
154
|
+
if (me->disconnectHandler)
|
|
155
|
+
{
|
|
156
|
+
/* call the reconnector on the new guy */
|
|
157
|
+
rc = me->disconnectHandler(me, me->disconnectHandlerUserData);
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
return rc;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
AMPSDLL amps_result amps_client_connect(
|
|
164
|
+
amps_handle handle,
|
|
165
|
+
const amps_char* uri)
|
|
166
|
+
{
|
|
167
|
+
const amps_char* original_uri = uri;
|
|
168
|
+
amps_client_t* client = (amps_client_t*)handle;
|
|
169
|
+
amps_result result = AMPS_E_OK;
|
|
170
|
+
size_t i;
|
|
171
|
+
short newConnection = !(client->transport);
|
|
172
|
+
|
|
173
|
+
if (!client->clientName[0])
|
|
174
|
+
{
|
|
175
|
+
amps_client_record_error(client, "A client name must be set before connecting.");
|
|
176
|
+
return AMPS_E_USAGE;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
/* just find the transport type, allocate the transport, and keep moving */
|
|
180
|
+
for (i = 0; g_transports[i].createFunc; i++)
|
|
181
|
+
{
|
|
182
|
+
char* registeredTransport = g_transports[i].name;
|
|
183
|
+
uri = original_uri;
|
|
184
|
+
while (*(uri++) == *(registeredTransport++))
|
|
185
|
+
{
|
|
186
|
+
if (!*uri)
|
|
187
|
+
{
|
|
188
|
+
amps_client_record_error(client, "Invalid URI.");
|
|
189
|
+
return AMPS_E_URI; /* bad uri */
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
if (*(uri - 1) == ':' && !*(registeredTransport - 1))
|
|
193
|
+
{
|
|
194
|
+
/* call into the transport and make one! */
|
|
195
|
+
if (newConnection)
|
|
196
|
+
{
|
|
197
|
+
client->transportType = i;
|
|
198
|
+
client->transport = g_transports[i].createFunc();
|
|
199
|
+
}
|
|
200
|
+
else
|
|
201
|
+
{
|
|
202
|
+
if (client->transportType != i )
|
|
203
|
+
{
|
|
204
|
+
amps_client_record_error(client, "cannot reconnect using a different transport.");
|
|
205
|
+
return AMPS_E_URI;
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
/* setup the message and disconnect handler */
|
|
209
|
+
g_transports[i].receiveFunc(client->transport, amps_client_internal_message_handler, client);
|
|
210
|
+
g_transports[i].predisconnectFunc(client->transport, amps_client_internal_predisconnect_handler, client);
|
|
211
|
+
g_transports[i].disconnectFunc(client->transport, amps_client_internal_disconnect_handler, client);
|
|
212
|
+
/* add optional transport filter and callback for thread creation */
|
|
213
|
+
if (client->transportFilterFunction)
|
|
214
|
+
{
|
|
215
|
+
g_transports[i].setTransportFilterFunc(client->transport,
|
|
216
|
+
client->transportFilterFunction,
|
|
217
|
+
client->transportFilterFunctionUserData);
|
|
218
|
+
}
|
|
219
|
+
if (client->threadCreatedCallback)
|
|
220
|
+
{
|
|
221
|
+
g_transports[i].setThreadCreatedCallback(client->transport,
|
|
222
|
+
client->threadCreatedCallback,
|
|
223
|
+
client->threadCreatedCallbackUserData);
|
|
224
|
+
}
|
|
225
|
+
/* now connect. we give it the scheme in case multiple schemes are served by one fxn */
|
|
226
|
+
result = g_transports[i].connectFunc(client->transport, original_uri);
|
|
227
|
+
if (result != AMPS_E_OK)
|
|
228
|
+
{
|
|
229
|
+
amps_client_record_transport_error(client);
|
|
230
|
+
if (newConnection)
|
|
231
|
+
{
|
|
232
|
+
g_transports[i].destroyFunc(client->transport);
|
|
233
|
+
client->transport = NULL;
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
return result;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
/* failed to find a transport */
|
|
240
|
+
amps_client_record_error(client, "The URI specifies a transport that is unavailable.");
|
|
241
|
+
return AMPS_E_TRANSPORT_TYPE;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
AMPSDLL amps_result
|
|
245
|
+
amps_client_send(amps_handle client, amps_handle message)
|
|
246
|
+
{
|
|
247
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
248
|
+
amps_result result = AMPS_E_RETRY;
|
|
249
|
+
if (me->transport == NULL)
|
|
250
|
+
{
|
|
251
|
+
return AMPS_E_DISCONNECTED;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
while (result == AMPS_E_RETRY)
|
|
255
|
+
{
|
|
256
|
+
result = g_transports[me->transportType].sendFunc(me->transport, message);
|
|
257
|
+
}
|
|
258
|
+
if (result != AMPS_E_OK)
|
|
259
|
+
{
|
|
260
|
+
amps_client_record_transport_error(me);
|
|
261
|
+
}
|
|
262
|
+
return result;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
AMPSDLL amps_result
|
|
266
|
+
amps_client_send_with_version(amps_handle client, amps_handle message, unsigned* version_out)
|
|
267
|
+
{
|
|
268
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
269
|
+
amps_result result = AMPS_E_RETRY;
|
|
270
|
+
if (me->transport == NULL)
|
|
271
|
+
{
|
|
272
|
+
return AMPS_E_DISCONNECTED;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
while (result == AMPS_E_RETRY)
|
|
276
|
+
{
|
|
277
|
+
result = g_transports[me->transportType].sendWithVersionFunc(me->transport, message, version_out);
|
|
278
|
+
}
|
|
279
|
+
if (result != AMPS_E_OK)
|
|
280
|
+
{
|
|
281
|
+
amps_client_record_transport_error(me);
|
|
282
|
+
}
|
|
283
|
+
return result;
|
|
284
|
+
}
|
|
285
|
+
AMPSDLL void amps_client_set_predisconnect_handler(amps_handle client,
|
|
286
|
+
amps_predisconnect_handler disconnectHandler,
|
|
287
|
+
void* userData)
|
|
288
|
+
{
|
|
289
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
290
|
+
me->predisconnectHandler = disconnectHandler;
|
|
291
|
+
me->predisconnectHandlerUserData = userData;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
AMPSDLL void amps_client_set_disconnect_handler(amps_handle client,
|
|
295
|
+
amps_handler disconnectHandler,
|
|
296
|
+
void* userData)
|
|
297
|
+
{
|
|
298
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
299
|
+
me->disconnectHandler = disconnectHandler;
|
|
300
|
+
me->disconnectHandlerUserData = userData;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
AMPSDLL size_t amps_client_get_error(
|
|
304
|
+
amps_handle handle,
|
|
305
|
+
amps_char* errorMessageOut,
|
|
306
|
+
size_t bufferSize)
|
|
307
|
+
{
|
|
308
|
+
amps_client_t* me = (amps_client_t*)handle;
|
|
309
|
+
int bytesWritten = _AMPS_SNPRINTF(errorMessageOut, bufferSize, "%s", me->lastError);
|
|
310
|
+
errorMessageOut[bufferSize - 1] = '\0';
|
|
311
|
+
return (size_t)bytesWritten;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
AMPSDLL void amps_client_set_message_handler(amps_handle client, amps_handler messageHandler, void* userData)
|
|
315
|
+
{
|
|
316
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
317
|
+
me->messageHandler = messageHandler;
|
|
318
|
+
me->messageHandlerUserData = userData;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
AMPSDLL amps_handle
|
|
322
|
+
amps_client_get_transport(amps_handle client)
|
|
323
|
+
{
|
|
324
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
325
|
+
return me->transport;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
AMPSDLL amps_result
|
|
329
|
+
amps_client_attempt_reconnect(amps_handle client, unsigned version)
|
|
330
|
+
{
|
|
331
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
332
|
+
if (me->transport)
|
|
333
|
+
{
|
|
334
|
+
return g_transports[me->transportType].reconnectFunc(me->transport, version);
|
|
335
|
+
}
|
|
336
|
+
amps_client_record_error(me, "Client does not have a transport. Client must be connected before attempting reconnect.");
|
|
337
|
+
return AMPS_E_DISCONNECTED;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
AMPSDLL amps_result
|
|
341
|
+
amps_client_set_read_timeout(amps_handle client, int readTimeout)
|
|
342
|
+
{
|
|
343
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
344
|
+
if (me->transport)
|
|
345
|
+
{
|
|
346
|
+
return g_transports[me->transportType].setReadTimeoutFunc(me->transport, readTimeout);
|
|
347
|
+
}
|
|
348
|
+
amps_client_record_error(me, "Client does not have a transport. Client must be connected before setting read timeout.");
|
|
349
|
+
return AMPS_E_DISCONNECTED;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
AMPSDLL amps_result
|
|
353
|
+
amps_client_set_idle_time(amps_handle client, int idleTime)
|
|
354
|
+
{
|
|
355
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
356
|
+
if (me->transport)
|
|
357
|
+
{
|
|
358
|
+
return g_transports[me->transportType].setIdleTimeFunc(me->transport, idleTime);
|
|
359
|
+
}
|
|
360
|
+
amps_client_record_error(me, "Client does not have a transport. Client must be connected before setting idle time.");
|
|
361
|
+
return AMPS_E_DISCONNECTED;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
AMPSDLL amps_result amps_client_set_transport_filter_function(
|
|
365
|
+
amps_handle client,
|
|
366
|
+
amps_transport_filter_function filter,
|
|
367
|
+
void* userData)
|
|
368
|
+
{
|
|
369
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
370
|
+
me->transportFilterFunction = filter;
|
|
371
|
+
me->transportFilterFunctionUserData = userData;
|
|
372
|
+
if (me->transport) // -V1051
|
|
373
|
+
{
|
|
374
|
+
g_transports[me->transportType].setTransportFilterFunc(me->transport, filter, userData);
|
|
375
|
+
}
|
|
376
|
+
return AMPS_E_OK;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
AMPSDLL amps_result amps_client_set_thread_created_callback(
|
|
380
|
+
amps_handle client,
|
|
381
|
+
amps_thread_created_callback callback,
|
|
382
|
+
void* userData)
|
|
383
|
+
{
|
|
384
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
385
|
+
me->threadCreatedCallback = callback;
|
|
386
|
+
me->threadCreatedCallbackUserData = userData;
|
|
387
|
+
if (me->transport)
|
|
388
|
+
{
|
|
389
|
+
g_transports[me->transportType].setThreadCreatedCallback(me->transport, callback, userData);
|
|
390
|
+
}
|
|
391
|
+
return AMPS_E_OK;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
AMPSDLL AMPS_SOCKET amps_client_get_socket(amps_handle client)
|
|
395
|
+
{
|
|
396
|
+
amps_client_t* me = (amps_client_t*)client;
|
|
397
|
+
if (me->transport)
|
|
398
|
+
{
|
|
399
|
+
return g_transports[me->transportType].getSocket(me->transport);
|
|
400
|
+
}
|
|
401
|
+
return AMPS_INVALID_SOCKET;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
#ifndef _WIN32
|
|
405
|
+
amps_uint64_t amps_now(void)
|
|
406
|
+
{
|
|
407
|
+
struct timespec ts = {0, 0};
|
|
408
|
+
clock_gettime(CLOCK_MONOTONIC, &ts);
|
|
409
|
+
amps_uint64_t retVal = (amps_uint64_t)(ts.tv_sec * 1000 + (ts.tv_nsec / (1000 * 1000)));
|
|
410
|
+
return retVal;
|
|
411
|
+
}
|
|
412
|
+
#else
|
|
413
|
+
AMPSDLL amps_uint64_t amps_now(void)
|
|
414
|
+
{
|
|
415
|
+
static amps_uint64_t s_frequency = 0;
|
|
416
|
+
amps_uint64_t now = 0;
|
|
417
|
+
if (!s_frequency)
|
|
418
|
+
{
|
|
419
|
+
QueryPerformanceFrequency((LARGE_INTEGER*)&s_frequency);
|
|
420
|
+
}
|
|
421
|
+
QueryPerformanceCounter((LARGE_INTEGER*)&now);
|
|
422
|
+
now /= (s_frequency / 1000);
|
|
423
|
+
return now;
|
|
424
|
+
}
|
|
425
|
+
#endif
|
|
426
|
+
|
|
427
|
+
AMPSDLL void amps_noOpFn(void* unused) {;}
|
|
428
|
+
|
|
429
|
+
AMPSDLL void amps_set_waiting_function(void* waitingFunction_)
|
|
430
|
+
{
|
|
431
|
+
g_waitingFunction = waitingFunction_;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
AMPSDLL void amps_invoke_waiting_function(void)
|
|
435
|
+
{
|
|
436
|
+
if (g_waitingFunction)
|
|
437
|
+
{
|
|
438
|
+
((void(*)(void))g_waitingFunction)();
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
AMPSDLL void amps_set_remove_route_function(void* removeRouteFunction_)
|
|
443
|
+
{
|
|
444
|
+
g_removeRouteFunction = removeRouteFunction_;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
AMPSDLL void amps_invoke_remove_route_function(void* vpData_)
|
|
448
|
+
{
|
|
449
|
+
if (g_removeRouteFunction)
|
|
450
|
+
{
|
|
451
|
+
((void(*)(void*))g_removeRouteFunction)(vpData_);
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
AMPSDLL void amps_set_copy_route_function(void* copyRouteFunction_)
|
|
456
|
+
{
|
|
457
|
+
g_copyRouteFunction = copyRouteFunction_;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
AMPSDLL void* amps_invoke_copy_route_function(void* vpData_)
|
|
461
|
+
{
|
|
462
|
+
if (g_copyRouteFunction)
|
|
463
|
+
{
|
|
464
|
+
return ((void* (*)(void*))g_copyRouteFunction)(vpData_);
|
|
465
|
+
}
|
|
466
|
+
return NULL;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
char* _amps_strndup(const char* ptr_,
|
|
470
|
+
size_t len_)
|
|
471
|
+
{
|
|
472
|
+
char* result = NULL;
|
|
473
|
+
if (ptr_ && len_)
|
|
474
|
+
{
|
|
475
|
+
result = (char*)malloc(len_ + 1);
|
|
476
|
+
if (result)
|
|
477
|
+
{
|
|
478
|
+
memcpy(result, ptr_, len_);
|
|
479
|
+
result[len_] = '\0';
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
return result;
|
|
483
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
ifeq ("$(PROCESSOR)","")
|
|
2
|
+
PROCESSOR = $(shell uname -m)
|
|
3
|
+
endif
|
|
4
|
+
|
|
5
|
+
ifeq ("$(PROCESSOR)","unknown")
|
|
6
|
+
PROCESSOR = x86_64
|
|
7
|
+
endif
|
|
8
|
+
|
|
9
|
+
ifeq ("$(PROCESSOR)","x86")
|
|
10
|
+
ARCH=-m32 -march=pentium2
|
|
11
|
+
endif
|
|
12
|
+
|
|
13
|
+
ifeq ("$(PROCESSOR)","x86_64")
|
|
14
|
+
ARCH=-m64
|
|
15
|
+
endif
|
|
16
|
+
|
|
17
|
+
TARGETDIR=../lib/$(PROCESSOR)/debug
|
|
18
|
+
|
|
19
|
+
ifeq ("$(SHARED)","1")
|
|
20
|
+
PIC=1
|
|
21
|
+
TARGET=$(TARGETDIR)/libamps.so
|
|
22
|
+
else
|
|
23
|
+
TARGET=$(TARGETDIR)/libamps.a
|
|
24
|
+
endif
|
|
25
|
+
|
|
26
|
+
ifeq ("$(PIC)","1")
|
|
27
|
+
PICFLAG = -fPIC
|
|
28
|
+
endif
|
|
29
|
+
|
|
30
|
+
C_STD_VAL=gnu11
|
|
31
|
+
|
|
32
|
+
ifneq ("$(AMPS_C_STD)","")
|
|
33
|
+
C_STD_VAL=$(AMPS_C_STD)
|
|
34
|
+
endif
|
|
35
|
+
|
|
36
|
+
CPP_STD_VAL=c++11
|
|
37
|
+
|
|
38
|
+
ifneq ("$(AMPS_CPP_STD)","")
|
|
39
|
+
CPP_STD_VAL=$(AMPS_CPP_STD)
|
|
40
|
+
endif
|
|
41
|
+
|
|
42
|
+
ifeq ("$(AMPS_SSE42)","1")
|
|
43
|
+
SSE42_FLAG=-msse4.2
|
|
44
|
+
endif
|
|
45
|
+
ifeq ("$(PROCESSOR)","arm64")
|
|
46
|
+
SSE42_FLAG=
|
|
47
|
+
endif
|
|
48
|
+
ifeq ("$(PROCESSOR)","aarch64")
|
|
49
|
+
SSE42_FLAG=
|
|
50
|
+
endif
|
|
51
|
+
|
|
52
|
+
ifeq ("$(AMPS_THREAD_SANITIZE)","1")
|
|
53
|
+
SANITIZE_FLAGS = -fsanitize=thread
|
|
54
|
+
endif
|
|
55
|
+
ifeq ("$(SANITIZE)","")
|
|
56
|
+
SANITIZE_FLAGS=
|
|
57
|
+
else
|
|
58
|
+
SANITIZE_FLAGS=-fsanitize=address -fno-omit-frame-pointer
|
|
59
|
+
endif
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
all: $(TARGET)
|
|
63
|
+
|
|
64
|
+
.PHONY: all
|
|
65
|
+
objects = transports.o tcp.o tcps.o unix.o client.o message.o amps_protocol.o amps_ssl.o uri.o atfork.o
|
|
66
|
+
DEBUGOPTS = -g
|
|
67
|
+
OPTIMIZER = -O3
|
|
68
|
+
ifneq ("$(AMPS_DEBUG)","")
|
|
69
|
+
OPTIMIZER = -O0
|
|
70
|
+
endif
|
|
71
|
+
|
|
72
|
+
ifneq ("$(shell uname)","SunOS")
|
|
73
|
+
EXTRA_CFLAGS=-Wall -Wconversion -std=$(C_STD_VAL) -Wsign-compare
|
|
74
|
+
EXTRA_CXXFLAGS=-Wall -Wconversion -pedantic -Wsign-compare -Wunused-parameter
|
|
75
|
+
endif
|
|
76
|
+
|
|
77
|
+
CFLAGS = $(PICFLAG) -I ../include $(DEBUGOPTS) $(OPTIMIZER) $(ARCH) -std=$(C_STD_VAL) $(SSE42_FLAG) $(SANITIZE_FLAGS) $(EXTRA_CFLAGS)
|
|
78
|
+
CXXFLAGS = $(PICFLAG) -I ../include $(DEBUGOPTS) $(OPTIMIZER) $(ARCH) -std=$(CPP_STD_VAL) $(SSE42_FLAG) $(SANITIZE_FLAGS) $(EXTRA_CXXFLAGS)
|
|
79
|
+
|
|
80
|
+
$(TARGETDIR)/libamps.a: $(objects)
|
|
81
|
+
mkdir -p $(TARGETDIR) >/dev/null
|
|
82
|
+
ar rcs $(TARGET) $(objects)
|
|
83
|
+
|
|
84
|
+
$(TARGETDIR)/libamps.so: $(objects)
|
|
85
|
+
mkdir -p $(TARGETDIR) >/dev/null
|
|
86
|
+
$(CC) -shared -o $(TARGETDIR)/libamps.so $(objects)
|
|
87
|
+
|
|
88
|
+
clean:
|
|
89
|
+
rm -rf *.o
|
|
90
|
+
rm -rf $(TARGETDIR)/libamps.a
|
|
91
|
+
rm -rf $(TARGETDIR)/libamps.so
|
|
92
|
+
|