amps-python-client 5.3.4.1__zip → 5.3.4.3__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.3/LICENSE +168 -0
- amps-python-client-5.3.4.3/PKG-INFO +112 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/.buildinfo +4 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/logon.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/publishing.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/removing.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_sources/index.rst.txt +36 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/ack-messages.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/content-messages.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/intro.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/logon.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/protocol-reference.html +93 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/publishing.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/query-delimiters.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/query-subscribe.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/removing.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/chapters/utilities.html +95 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/genindex.html +97 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/index.html +98 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/objects.inv +6 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/search.html +107 -0
- amps-python-client-5.3.4.3/docs/command-reference/html/searchindex.js +1 -0
- amps-python-client-5.3.4.3/docs/html/.buildinfo +4 -0
- amps-python-client-5.3.4.3/docs/html/code.html +6851 -0
- amps-python-client-5.3.4.3/docs/html/genindex.html +1363 -0
- amps-python-client-5.3.4.3/docs/html/index.html +131 -0
- amps-python-client-5.3.4.3/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.3/docs/html/py-modindex.html +111 -0
- amps-python-client-5.3.4.3/docs/html/search.html +107 -0
- amps-python-client-5.3.4.3/docs/html/searchindex.js +1 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.3/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python/html/.buildinfo +4 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/advanced-topics.rst.txt +398 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +26 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/creating-commands.rst.txt +159 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/deltas.rst.txt +79 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/error-handling.rst.txt +481 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/exceptions.rst.txt +123 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/first-program.rst.txt +168 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/high-availability.rst.txt +879 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/installing.rst.txt +184 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/introduction.rst.txt +50 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +32 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/performance-tips.rst.txt +432 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/queues.rst.txt +282 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/sow.rst.txt +294 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/subscriptions.rst.txt +374 -0
- amps-python-client-5.3.4.3/docs/python/html/_sources/chapters/utilities.rst.txt +214 -0
- amps-python-client-5.3.4.3/docs/python/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/advanced-topics.html +447 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/cpp-compiler-list.html +92 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/cpp-feature-table.html +156 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/creating-commands.html +2882 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/deltas.html +169 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/error-handling.html +745 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/exceptions.html +266 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/first-program.html +526 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/high-availability.html +1017 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/installing.html +264 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/introduction.html +245 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/moving-from-python-lite.html +118 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/performance-tips.html +499 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/queues.html +352 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/sow.html +383 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/subscriptions.html +535 -0
- amps-python-client-5.3.4.3/docs/python/html/chapters/utilities.html +302 -0
- amps-python-client-5.3.4.3/docs/python/html/genindex.html +351 -0
- amps-python-client-5.3.4.3/docs/python/html/index.html +382 -0
- amps-python-client-5.3.4.3/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.3/docs/python/html/search.html +107 -0
- amps-python-client-5.3.4.3/docs/python/html/searchindex.js +1 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/.buildinfo +4 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/chapters/crankitup.html +271 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/chapters/equipment.html +105 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/genindex.html +97 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/index.html +381 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/search.html +107 -0
- amps-python-client-5.3.4.3/docs/python-quickstart/html/searchindex.js +1 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/.buildinfo +4 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/acks.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/actions.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/daemon.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/delta.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/distribution.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/events.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/glossary.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/ha.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/intro.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/logging.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/oof.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/operation.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/queues.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/replication.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/securing.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/sow.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/transports.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/txlog.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/usecases.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/utilities.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/chapters/views.rst.txt +8 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_sources/index.rst.txt +62 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/_static/custom.css +161 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/acks.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/actions.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/amps-statistics.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/amps_expressions.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/amps_functions.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/auxiliary_modules.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/config-file-shortcuts.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/conflated_topics.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/constructing-fields.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/daemon.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/delta.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/distribution.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/enrichment.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/events.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/file_format_versions.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/glossary.html +92 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/ha.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/installing_and_starting.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/intro.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/logging.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/messageTypes.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/monitoring.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/oof.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/operation.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/pub_sub.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/queues.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/replication.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/securing.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/sow.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/sow_queries.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/spark.html +819 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/transports.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/troubleshooting.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/txlog.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/usecases.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/utilities.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/chapters/views.html +94 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/genindex.html +133 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/index.html +96 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/search.html +106 -0
- amps-python-client-5.3.4.3/docs/user-guide/html/searchindex.js +1 -0
- amps-python-client-5.3.4.3/include/ampspy_bookmarkstore.hpp +63 -0
- amps-python-client-5.3.4.3/include/ampspy_compat.h +63 -0
- amps-python-client-5.3.4.3/include/ampspy_defs.hpp +181 -0
- amps-python-client-5.3.4.3/include/ampspy_recoverypointadapter.hpp +52 -0
- amps-python-client-5.3.4.3/include/ampspy_shims.hpp +113 -0
- amps-python-client-5.3.4.3/include/ampspy_type_object.hpp +242 -0
- amps-python-client-5.3.4.3/include/ampspy_types.hpp +1139 -0
- amps-python-client-5.3.4.3/include/ampspyver.h +30 -0
- amps-python-client-5.3.4.3/index.html +66 -0
- amps-python-client-5.3.4.3/samples/AMPSConsolePublisher.py +59 -0
- amps-python-client-5.3.4.3/samples/AMPSConsoleSubscriber.py +63 -0
- amps-python-client-5.3.4.3/samples/AMPSFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.3/samples/AMPSFIXShredderSubscriber.py +69 -0
- amps-python-client-5.3.4.3/samples/AMPSNVFIXBuilderPublisher.py +71 -0
- amps-python-client-5.3.4.3/samples/AMPSNVFIXShredderSubscriber.py +67 -0
- amps-python-client-5.3.4.3/samples/AMPSPublishForReplay.py +81 -0
- amps-python-client-5.3.4.3/samples/AMPSQueueConsumer.py +69 -0
- amps-python-client-5.3.4.3/samples/AMPSQueuePublisher.py +59 -0
- amps-python-client-5.3.4.3/samples/AMPSSOWConsolePublisher.py +67 -0
- amps-python-client-5.3.4.3/samples/AMPSSOWConsoleSubscriber.py +77 -0
- amps-python-client-5.3.4.3/samples/AMPSSOWandSubscribeConsoleSubscriber.py +79 -0
- amps-python-client-5.3.4.3/samples/AMPSSOWandSubscribeWithOOF.py +108 -0
- amps-python-client-5.3.4.3/samples/AMPSSubscribeForReplay.py +128 -0
- amps-python-client-5.3.4.3/samples/AMPSUpdateForOOF.py +123 -0
- amps-python-client-5.3.4.3/samples/CompositeMessagePublisher.py +84 -0
- amps-python-client-5.3.4.3/samples/CompositeMessageSubscriber.py +87 -0
- amps-python-client-5.3.4.3/samples/RandomServerChooser.py +66 -0
- amps-python-client-5.3.4.3/samples/sample.xml +335 -0
- amps-python-client-5.3.4.3/setup.py +210 -0
- amps-python-client-5.3.4.3/setup_amps.py +94 -0
- amps-python-client-5.3.4.3/src/ampspy_shims.cpp +214 -0
- amps-python-client-5.3.4.3/src/ampspy_type_object.cpp +495 -0
- amps-python-client-5.3.4.3/src/authenticator.cpp +128 -0
- amps-python-client-5.3.4.3/src/bookmarkstore.cpp +246 -0
- amps-python-client-5.3.4.3/src/client.cpp +2648 -0
- amps-python-client-5.3.4.3/src/client_docs.h +1210 -0
- amps-python-client-5.3.4.3/src/cmessagehandler.cpp +161 -0
- amps-python-client-5.3.4.3/src/command.cpp +164 -0
- amps-python-client-5.3.4.3/src/command_docs.h +274 -0
- amps-python-client-5.3.4.3/src/compositemessagebuilder.cpp +113 -0
- amps-python-client-5.3.4.3/src/compositemessageparser.cpp +151 -0
- amps-python-client-5.3.4.3/src/conflatingrecoverypointadapter.cpp +197 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/BlockPublishStore.hpp +2050 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/BlockStore.hpp +674 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/BookmarkStore.hpp +542 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/Buffer.hpp +214 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/CompositeMessageBuilder.hpp +174 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/CompositeMessageParser.hpp +151 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/DefaultServerChooser.hpp +162 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/Field.hpp +723 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/HAClient.hpp +370 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/HAClientImpl.hpp +460 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/HybridPublishStore.hpp +481 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/LoggedBookmarkStore.hpp +1256 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MMapBookmarkStore.hpp +1283 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MMapStoreBuffer.hpp +297 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MemoryBookmarkStore.hpp +1628 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MemoryPublishStore.hpp +66 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MemoryStoreBuffer.hpp +247 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MemorySubscriptionManager.hpp +850 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/Message.hpp +1827 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/MessageRouter.hpp +647 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/PublishStore.hpp +158 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ReconnectDelayStrategy.hpp +106 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +317 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/RecoveryPoint.hpp +323 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/RecoveryPointAdapter.hpp +501 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/RingBookmarkStore.hpp +669 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +494 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ServerChooser.hpp +156 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ServerChooserImpl.hpp +95 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/amps.h +815 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/amps_impl.h +220 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/amps_ssl.h +78 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ampscrc.hpp +208 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ampsplusplus.hpp +8846 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ampsuri.h +84 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ampsver.h +41 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/ampsver.h.in +41 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/constants.hpp +194 -0
- amps-python-client-5.3.4.3/src/cpp/include/amps/util.hpp +1722 -0
- amps-python-client-5.3.4.3/src/cpp/src/amps_protocol.c +693 -0
- amps-python-client-5.3.4.3/src/cpp/src/amps_ssl.c +565 -0
- amps-python-client-5.3.4.3/src/cpp/src/atfork.c +484 -0
- amps-python-client-5.3.4.3/src/cpp/src/client.c +498 -0
- amps-python-client-5.3.4.3/src/cpp/src/message.c +837 -0
- amps-python-client-5.3.4.3/src/cpp/src/message_generated.h +611 -0
- amps-python-client-5.3.4.3/src/cpp/src/tcp.c +1683 -0
- amps-python-client-5.3.4.3/src/cpp/src/tcps.c +2005 -0
- amps-python-client-5.3.4.3/src/cpp/src/transports.c +129 -0
- amps-python-client-5.3.4.3/src/cpp/src/unix.c +1063 -0
- amps-python-client-5.3.4.3/src/cpp/src/uri.c +301 -0
- amps-python-client-5.3.4.3/src/exponentialdelaystrategy.cpp +131 -0
- amps-python-client-5.3.4.3/src/failedwritehandler.cpp +116 -0
- amps-python-client-5.3.4.3/src/fixbuilder.cpp +146 -0
- amps-python-client-5.3.4.3/src/fixeddelaystrategy.cpp +115 -0
- amps-python-client-5.3.4.3/src/fixshredder.cpp +105 -0
- amps-python-client-5.3.4.3/src/fixshredder_docs.h +38 -0
- amps-python-client-5.3.4.3/src/haclient.cpp +691 -0
- amps-python-client-5.3.4.3/src/haclient_docs.h +200 -0
- amps-python-client-5.3.4.3/src/hybridpublishstore.cpp +137 -0
- amps-python-client-5.3.4.3/src/hybridpublishstore_docs.h +31 -0
- amps-python-client-5.3.4.3/src/memorybookmarkstore.cpp +373 -0
- amps-python-client-5.3.4.3/src/memorybookmarkstore_docs.h +39 -0
- amps-python-client-5.3.4.3/src/memorypublishstore.cpp +160 -0
- amps-python-client-5.3.4.3/src/memorypublishstore_docs.h +32 -0
- amps-python-client-5.3.4.3/src/message.cpp +765 -0
- amps-python-client-5.3.4.3/src/message_docs.h +306 -0
- amps-python-client-5.3.4.3/src/messagestream.cpp +630 -0
- amps-python-client-5.3.4.3/src/messagestream_docs.h +45 -0
- amps-python-client-5.3.4.3/src/mmapbookmarkstore.cpp +422 -0
- amps-python-client-5.3.4.3/src/nvfixbuilder.cpp +160 -0
- amps-python-client-5.3.4.3/src/nvfixbuilder_docs.h +35 -0
- amps-python-client-5.3.4.3/src/nvfixshredder.cpp +99 -0
- amps-python-client-5.3.4.3/src/nvfixshredder_docs.h +43 -0
- amps-python-client-5.3.4.3/src/publishstore.cpp +183 -0
- amps-python-client-5.3.4.3/src/raw_wrapper.cpp +765 -0
- amps-python-client-5.3.4.3/src/reason.cpp +71 -0
- amps-python-client-5.3.4.3/src/recoverypoint.cpp +135 -0
- amps-python-client-5.3.4.3/src/recoverypointadapter.cpp +171 -0
- amps-python-client-5.3.4.3/src/ringbookmarkstore.cpp +360 -0
- amps-python-client-5.3.4.3/src/serverchooser.cpp +245 -0
- amps-python-client-5.3.4.3/src/serverchooser_docs.h +41 -0
- amps-python-client-5.3.4.3/src/sowrecoverypointadapter.cpp +248 -0
- amps-python-client-5.3.4.3/src/store.cpp +62 -0
- amps-python-client-5.3.4.3/src/versioninfo.cpp +175 -0
- amps-python-client-5.3.4.1/LICENSE +0 -157
- amps-python-client-5.3.4.1/PKG-INFO +0 -112
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/ack-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/content-messages.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/logon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/protocol-reference.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/publishing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-delimiters.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/query-subscribe.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/removing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/ack-messages.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/content-messages.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/intro.rst.txt +0 -43
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/logon.rst.txt +0 -231
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/protocol-reference.rst.txt +0 -1474
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/publishing.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-delimiters.rst.txt +0 -12
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/query-subscribe.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/removing.rst.txt +0 -6
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/chapters/utilities.rst.txt +0 -13
- amps-python-client-5.3.4.1/docs/command-reference/html/_sources/index.rst.txt +0 -56
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/command-reference/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/ack-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/content-messages.html +0 -417
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/intro.html +0 -126
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/logon.html +0 -295
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/protocol-reference.html +0 -1190
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/publishing.html +0 -436
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-delimiters.html +0 -173
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/query-subscribe.html +0 -2123
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/removing.html +0 -299
- amps-python-client-5.3.4.1/docs/command-reference/html/chapters/utilities.html +0 -287
- amps-python-client-5.3.4.1/docs/command-reference/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/command-reference/html/index.html +0 -138
- amps-python-client-5.3.4.1/docs/command-reference/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/command-reference/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/command-reference/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/html/code.html +0 -6503
- amps-python-client-5.3.4.1/docs/html/genindex.html +0 -1361
- amps-python-client-5.3.4.1/docs/html/index.html +0 -131
- amps-python-client-5.3.4.1/docs/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/html/py-modindex.html +0 -111
- amps-python-client-5.3.4.1/docs/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/advanced-topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-compiler-list.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/cpp-feature-table.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/creating-commands.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/deltas.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/error-handling.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/exceptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/first-program.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/high-availability.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/installing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/introduction.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/moving-from-python-lite.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/performance-tips.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/subscriptions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/advanced-topics.rst.txt +0 -398
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/cpp-feature-table.rst.txt +0 -26
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/creating-commands.rst.txt +0 -159
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/deltas.rst.txt +0 -79
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/error-handling.rst.txt +0 -482
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/exceptions.rst.txt +0 -128
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/first-program.rst.txt +0 -142
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/high-availability.rst.txt +0 -876
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/installing.rst.txt +0 -184
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/introduction.rst.txt +0 -50
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/moving-from-python-lite.rst.txt +0 -32
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/performance-tips.rst.txt +0 -434
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/queues.rst.txt +0 -282
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/sow.rst.txt +0 -292
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/subscriptions.rst.txt +0 -374
- amps-python-client-5.3.4.1/docs/python/html/_sources/chapters/utilities.rst.txt +0 -214
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python/html/chapters/advanced-topics.html +0 -447
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-compiler-list.html +0 -92
- amps-python-client-5.3.4.1/docs/python/html/chapters/cpp-feature-table.html +0 -156
- amps-python-client-5.3.4.1/docs/python/html/chapters/creating-commands.html +0 -2837
- amps-python-client-5.3.4.1/docs/python/html/chapters/deltas.html +0 -169
- amps-python-client-5.3.4.1/docs/python/html/chapters/error-handling.html +0 -746
- amps-python-client-5.3.4.1/docs/python/html/chapters/exceptions.html +0 -272
- amps-python-client-5.3.4.1/docs/python/html/chapters/first-program.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/high-availability.html +0 -1014
- amps-python-client-5.3.4.1/docs/python/html/chapters/installing.html +0 -264
- amps-python-client-5.3.4.1/docs/python/html/chapters/introduction.html +0 -245
- amps-python-client-5.3.4.1/docs/python/html/chapters/moving-from-python-lite.html +0 -118
- amps-python-client-5.3.4.1/docs/python/html/chapters/performance-tips.html +0 -499
- amps-python-client-5.3.4.1/docs/python/html/chapters/queues.html +0 -352
- amps-python-client-5.3.4.1/docs/python/html/chapters/sow.html +0 -381
- amps-python-client-5.3.4.1/docs/python/html/chapters/subscriptions.html +0 -535
- amps-python-client-5.3.4.1/docs/python/html/chapters/utilities.html +0 -302
- amps-python-client-5.3.4.1/docs/python/html/genindex.html +0 -351
- amps-python-client-5.3.4.1/docs/python/html/index.html +0 -380
- amps-python-client-5.3.4.1/docs/python/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/crankitup.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/chapters/equipment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/python-quickstart/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/crankitup.html +0 -271
- amps-python-client-5.3.4.1/docs/python-quickstart/html/chapters/equipment.html +0 -105
- amps-python-client-5.3.4.1/docs/python-quickstart/html/genindex.html +0 -97
- amps-python-client-5.3.4.1/docs/python-quickstart/html/index.html +0 -382
- amps-python-client-5.3.4.1/docs/python-quickstart/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/python-quickstart/html/search.html +0 -107
- amps-python-client-5.3.4.1/docs/python-quickstart/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/acks.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/actions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps-statistics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_expressions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/amps_functions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/auxiliary_modules.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/config-file-shortcuts.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/conflated_topics.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/constructing-fields.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/daemon.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/delta.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/distribution.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/enrichment.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/events.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/file_format_versions.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/glossary.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/ha.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/installing_and_starting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/intro.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/logging.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/messageTypes.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/monitoring.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/oof.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/operation.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/pub_sub.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/queues.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/replication.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/securing.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/sow_queries.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/spark.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/transports.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/troubleshooting.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/txlog.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/usecases.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/utilities.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/chapters/views.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/environment.pickle +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/doctrees/index.doctree +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/.buildinfo +0 -4
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/AMPS-Queues-Intro.svg +0 -1330
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/GeoRepl.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_async_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/HA_sync_ack.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/Hot-Hot-Replication.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/MessageOrdering.svg +0 -235
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF5.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF6.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF7.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/OOF8.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/PubSub2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWAndSubscribeAndReplace.svg +0 -684
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery1.svg +0 -402
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/SOWQuery2.svg +0 -505
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig1.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig2.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig3.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/UseCaseFig4.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/caution.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/chicago_group.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_original_messages.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/delta_update_message.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/important.svg +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/inline_view_conflation.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_pub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/paginated_subs_sub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/queue_usage_overview.svg +0 -627
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_hub.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/replication_scenario_with_ha.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_1.svg +0 -248
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_overview_2.svg +0 -183
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/sow_update_sequence.svg +0 -1
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/tip.svg +0 -31
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.png +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/_images/warning.svg +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/acks.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/actions.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps-statistics.rst.txt +0 -358
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_expressions.rst.txt +0 -83
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/amps_functions.rst.txt +0 -11
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/auxiliary_modules.rst.txt +0 -86
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/config-file-shortcuts.rst.txt +0 -9
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/conflated_topics.rst.txt +0 -111
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/constructing-fields.rst.txt +0 -269
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/daemon.rst.txt +0 -232
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/delta.rst.txt +0 -556
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/distribution.rst.txt +0 -186
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/enrichment.rst.txt +0 -191
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/events.rst.txt +0 -39
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/file_format_versions.rst.txt +0 -203
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/glossary.rst.txt +0 -101
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/ha.rst.txt +0 -465
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/installing_and_starting.rst.txt +0 -23
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/intro.rst.txt +0 -116
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/logging.rst.txt +0 -34
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/messageTypes.rst.txt +0 -1398
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/monitoring.rst.txt +0 -326
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/oof.rst.txt +0 -312
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/operation.rst.txt +0 -27
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/pub_sub.rst.txt +0 -49
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/queues.rst.txt +0 -1351
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/replication.rst.txt +0 -1228
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/securing.rst.txt +0 -657
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow.rst.txt +0 -57
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/sow_queries.rst.txt +0 -25
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/transports.rst.txt +0 -291
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/troubleshooting.rst.txt +0 -517
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/txlog.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/usecases.rst.txt +0 -21
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/utilities.rst.txt +0 -62
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/chapters/views.rst.txt +0 -175
- amps-python-client-5.3.4.1/docs/user-guide/html/_sources/index.rst.txt +0 -110
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css +0 -192
- amps-python-client-5.3.4.1/docs/user-guide/html/_static/custom.css.backup +0 -161
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/acks.html +0 -289
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/actions.html +0 -3782
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps-statistics.html +0 -439
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_expressions.html +0 -1552
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/amps_functions.html +0 -1626
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/auxiliary_modules.html +0 -2548
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/config-file-shortcuts.html +0 -508
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/conflated_topics.html +0 -328
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/constructing-fields.html +0 -447
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/daemon.html +0 -295
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/delta.html +0 -609
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/distribution.html +0 -246
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/enrichment.html +0 -264
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/events.html +0 -449
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/file_format_versions.html +0 -229
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/glossary.html +0 -215
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/ha.html +0 -978
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/installing_and_starting.html +0 -357
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/intro.html +0 -572
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/logging.html +0 -972
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/messageTypes.html +0 -1280
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/monitoring.html +0 -718
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/oof.html +0 -341
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/operation.html +0 -1515
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/pub_sub.html +0 -934
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/queues.html +0 -1767
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/replication.html +0 -1777
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/securing.html +0 -697
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow.html +0 -1038
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/sow_queries.html +0 -621
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/spark.html +0 -819
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/transports.html +0 -352
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/troubleshooting.html +0 -530
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/txlog.html +0 -1013
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/usecases.html +0 -288
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/utilities.html +0 -133
- amps-python-client-5.3.4.1/docs/user-guide/html/chapters/views.html +0 -1120
- amps-python-client-5.3.4.1/docs/user-guide/html/genindex.html +0 -1261
- amps-python-client-5.3.4.1/docs/user-guide/html/index.html +0 -163
- amps-python-client-5.3.4.1/docs/user-guide/html/objects.inv +0 -0
- amps-python-client-5.3.4.1/docs/user-guide/html/search.html +0 -106
- amps-python-client-5.3.4.1/docs/user-guide/html/searchindex.js +0 -1
- amps-python-client-5.3.4.1/include/ampspy_bookmarkstore.hpp +0 -63
- amps-python-client-5.3.4.1/include/ampspy_compat.h +0 -63
- amps-python-client-5.3.4.1/include/ampspy_defs.hpp +0 -181
- amps-python-client-5.3.4.1/include/ampspy_recoverypointadapter.hpp +0 -52
- amps-python-client-5.3.4.1/include/ampspy_shims.hpp +0 -113
- amps-python-client-5.3.4.1/include/ampspy_type_object.hpp +0 -242
- amps-python-client-5.3.4.1/include/ampspy_types.hpp +0 -1139
- amps-python-client-5.3.4.1/include/ampspyver.h +0 -30
- amps-python-client-5.3.4.1/index.html +0 -66
- amps-python-client-5.3.4.1/samples/AMPSConsolePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSConsoleSubscriber.py +0 -63
- amps-python-client-5.3.4.1/samples/AMPSFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSFIXShredderSubscriber.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSNVFIXBuilderPublisher.py +0 -71
- amps-python-client-5.3.4.1/samples/AMPSNVFIXShredderSubscriber.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSPublishForReplay.py +0 -81
- amps-python-client-5.3.4.1/samples/AMPSQueueConsumer.py +0 -69
- amps-python-client-5.3.4.1/samples/AMPSQueuePublisher.py +0 -59
- amps-python-client-5.3.4.1/samples/AMPSSOWConsolePublisher.py +0 -67
- amps-python-client-5.3.4.1/samples/AMPSSOWConsoleSubscriber.py +0 -77
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeConsoleSubscriber.py +0 -79
- amps-python-client-5.3.4.1/samples/AMPSSOWandSubscribeWithOOF.py +0 -108
- amps-python-client-5.3.4.1/samples/AMPSSubscribeForReplay.py +0 -128
- amps-python-client-5.3.4.1/samples/AMPSUpdateForOOF.py +0 -123
- amps-python-client-5.3.4.1/samples/CompositeMessagePublisher.py +0 -84
- amps-python-client-5.3.4.1/samples/CompositeMessageSubscriber.py +0 -87
- amps-python-client-5.3.4.1/samples/RandomServerChooser.py +0 -41
- amps-python-client-5.3.4.1/samples/sample.xml +0 -335
- amps-python-client-5.3.4.1/setup.py +0 -209
- amps-python-client-5.3.4.1/setup_amps.py +0 -94
- amps-python-client-5.3.4.1/src/ampspy_shims.cpp +0 -203
- amps-python-client-5.3.4.1/src/ampspy_type_object.cpp +0 -484
- amps-python-client-5.3.4.1/src/authenticator.cpp +0 -128
- amps-python-client-5.3.4.1/src/bookmarkstore.cpp +0 -238
- amps-python-client-5.3.4.1/src/client.cpp +0 -2430
- amps-python-client-5.3.4.1/src/client_docs.h +0 -956
- amps-python-client-5.3.4.1/src/cmessagehandler.cpp +0 -151
- amps-python-client-5.3.4.1/src/command.cpp +0 -164
- amps-python-client-5.3.4.1/src/command_docs.h +0 -194
- amps-python-client-5.3.4.1/src/compositemessagebuilder.cpp +0 -111
- amps-python-client-5.3.4.1/src/compositemessageparser.cpp +0 -146
- amps-python-client-5.3.4.1/src/conflatingrecoverypointadapter.cpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockPublishStore.hpp +0 -2053
- amps-python-client-5.3.4.1/src/cpp/include/amps/BlockStore.hpp +0 -677
- amps-python-client-5.3.4.1/src/cpp/include/amps/BookmarkStore.hpp +0 -542
- amps-python-client-5.3.4.1/src/cpp/include/amps/Buffer.hpp +0 -214
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageBuilder.hpp +0 -174
- amps-python-client-5.3.4.1/src/cpp/include/amps/CompositeMessageParser.hpp +0 -151
- amps-python-client-5.3.4.1/src/cpp/include/amps/DefaultServerChooser.hpp +0 -162
- amps-python-client-5.3.4.1/src/cpp/include/amps/Field.hpp +0 -719
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClient.hpp +0 -370
- amps-python-client-5.3.4.1/src/cpp/include/amps/HAClientImpl.hpp +0 -460
- amps-python-client-5.3.4.1/src/cpp/include/amps/HybridPublishStore.hpp +0 -481
- amps-python-client-5.3.4.1/src/cpp/include/amps/LoggedBookmarkStore.hpp +0 -1255
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapBookmarkStore.hpp +0 -1283
- amps-python-client-5.3.4.1/src/cpp/include/amps/MMapStoreBuffer.hpp +0 -290
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryBookmarkStore.hpp +0 -1622
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryPublishStore.hpp +0 -66
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemoryStoreBuffer.hpp +0 -244
- amps-python-client-5.3.4.1/src/cpp/include/amps/MemorySubscriptionManager.hpp +0 -850
- amps-python-client-5.3.4.1/src/cpp/include/amps/Message.hpp +0 -1819
- amps-python-client-5.3.4.1/src/cpp/include/amps/MessageRouter.hpp +0 -618
- amps-python-client-5.3.4.1/src/cpp/include/amps/PublishStore.hpp +0 -158
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategy.hpp +0 -106
- amps-python-client-5.3.4.1/src/cpp/include/amps/ReconnectDelayStrategyImpl.hpp +0 -317
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPoint.hpp +0 -323
- amps-python-client-5.3.4.1/src/cpp/include/amps/RecoveryPointAdapter.hpp +0 -501
- amps-python-client-5.3.4.1/src/cpp/include/amps/RingBookmarkStore.hpp +0 -669
- amps-python-client-5.3.4.1/src/cpp/include/amps/SOWRecoveryPointAdapter.hpp +0 -490
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooser.hpp +0 -145
- amps-python-client-5.3.4.1/src/cpp/include/amps/ServerChooserImpl.hpp +0 -95
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps.h +0 -775
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_impl.h +0 -204
- amps-python-client-5.3.4.1/src/cpp/include/amps/amps_ssl.h +0 -78
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampscrc.hpp +0 -210
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsplusplus.hpp +0 -8817
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsuri.h +0 -84
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/ampsver.h.in +0 -41
- amps-python-client-5.3.4.1/src/cpp/include/amps/constants.hpp +0 -194
- amps-python-client-5.3.4.1/src/cpp/include/amps/util.hpp +0 -1692
- amps-python-client-5.3.4.1/src/cpp/src/amps_protocol.c +0 -688
- amps-python-client-5.3.4.1/src/cpp/src/amps_ssl.c +0 -489
- amps-python-client-5.3.4.1/src/cpp/src/atfork.c +0 -446
- amps-python-client-5.3.4.1/src/cpp/src/client.c +0 -483
- amps-python-client-5.3.4.1/src/cpp/src/message.c +0 -837
- amps-python-client-5.3.4.1/src/cpp/src/message_generated.h +0 -611
- amps-python-client-5.3.4.1/src/cpp/src/tcp.c +0 -1489
- amps-python-client-5.3.4.1/src/cpp/src/tcps.c +0 -1894
- amps-python-client-5.3.4.1/src/cpp/src/transports.c +0 -123
- amps-python-client-5.3.4.1/src/cpp/src/unix.c +0 -984
- amps-python-client-5.3.4.1/src/cpp/src/uri.c +0 -301
- amps-python-client-5.3.4.1/src/exponentialdelaystrategy.cpp +0 -137
- amps-python-client-5.3.4.1/src/failedwritehandler.cpp +0 -116
- amps-python-client-5.3.4.1/src/fixbuilder.cpp +0 -146
- amps-python-client-5.3.4.1/src/fixeddelaystrategy.cpp +0 -114
- amps-python-client-5.3.4.1/src/fixshredder.cpp +0 -105
- amps-python-client-5.3.4.1/src/fixshredder_docs.h +0 -38
- amps-python-client-5.3.4.1/src/haclient.cpp +0 -691
- amps-python-client-5.3.4.1/src/haclient_docs.h +0 -132
- amps-python-client-5.3.4.1/src/hybridpublishstore.cpp +0 -137
- amps-python-client-5.3.4.1/src/hybridpublishstore_docs.h +0 -31
- amps-python-client-5.3.4.1/src/memorybookmarkstore.cpp +0 -373
- amps-python-client-5.3.4.1/src/memorybookmarkstore_docs.h +0 -39
- amps-python-client-5.3.4.1/src/memorypublishstore.cpp +0 -160
- amps-python-client-5.3.4.1/src/memorypublishstore_docs.h +0 -32
- amps-python-client-5.3.4.1/src/message.cpp +0 -765
- amps-python-client-5.3.4.1/src/message_docs.h +0 -306
- amps-python-client-5.3.4.1/src/messagestream.cpp +0 -623
- amps-python-client-5.3.4.1/src/messagestream_docs.h +0 -45
- amps-python-client-5.3.4.1/src/mmapbookmarkstore.cpp +0 -422
- amps-python-client-5.3.4.1/src/nvfixbuilder.cpp +0 -160
- amps-python-client-5.3.4.1/src/nvfixbuilder_docs.h +0 -33
- amps-python-client-5.3.4.1/src/nvfixshredder.cpp +0 -99
- amps-python-client-5.3.4.1/src/nvfixshredder_docs.h +0 -39
- amps-python-client-5.3.4.1/src/publishstore.cpp +0 -183
- amps-python-client-5.3.4.1/src/raw_wrapper.cpp +0 -756
- amps-python-client-5.3.4.1/src/reason.cpp +0 -71
- amps-python-client-5.3.4.1/src/recoverypoint.cpp +0 -135
- amps-python-client-5.3.4.1/src/recoverypointadapter.cpp +0 -171
- amps-python-client-5.3.4.1/src/ringbookmarkstore.cpp +0 -360
- amps-python-client-5.3.4.1/src/serverchooser.cpp +0 -245
- amps-python-client-5.3.4.1/src/serverchooser_docs.h +0 -39
- amps-python-client-5.3.4.1/src/sowrecoverypointadapter.cpp +0 -248
- amps-python-client-5.3.4.1/src/store.cpp +0 -62
- amps-python-client-5.3.4.1/src/versioninfo.cpp +0 -175
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/HISTORY +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/README.md +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/command-reference/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_sources/code.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/classic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/default.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/sidebar.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/caution.png +0 -0
- {amps-python-client-5.3.4.1/docs/command-reference → amps-python-client-5.3.4.3/docs/python}/html/_images/caution.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/connection_string.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/important.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/important.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/tip.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/tip.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_images/warning.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_sources/chapters/cpp-compiler-list.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_sources/chapters/crankitup.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_sources/chapters/equipment.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_sources/index.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/python-quickstart/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/resources/custom.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/resources/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_sources/chapters/spark.rst.txt +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/ajax-loader.gif +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/alabaster.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/basic.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/comment-bright.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/comment-close.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/comment.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/doctools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/down-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/down.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/file.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/flag_logo.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/flag_logo.svg +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/jquery-3.1.0.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/jquery.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/minus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/plus.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/pygments.css +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/searchtools.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/underscore-1.3.1.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/underscore.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/up-pressed.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/up.png +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/docs/user-guide/html/_static/websupport.js +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/src/cpp/include/amps/amps_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/src/cpp/src/amps_protocol_generated.h +0 -0
- {amps-python-client-5.3.4.1 → amps-python-client-5.3.4.3}/src/cpp/src/makefile +0 -0
|
@@ -0,0 +1,1256 @@
|
|
|
1
|
+
///////////////////////////////////////////////////////////////////////////
|
|
2
|
+
//
|
|
3
|
+
// Copyright (c) 2010-2024 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
|
+
|
|
26
|
+
#include <amps/ampsplusplus.hpp>
|
|
27
|
+
|
|
28
|
+
#ifndef _LOGGEDBOOKMARKSTORE_H_
|
|
29
|
+
#define _LOGGEDBOOKMARKSTORE_H_
|
|
30
|
+
|
|
31
|
+
#include <amps/MemoryBookmarkStore.hpp>
|
|
32
|
+
#include <amps/RecoveryPoint.hpp>
|
|
33
|
+
#include <amps/RecoveryPointAdapter.hpp>
|
|
34
|
+
#include <string>
|
|
35
|
+
#ifdef _WIN32
|
|
36
|
+
#include <windows.h>
|
|
37
|
+
#else
|
|
38
|
+
#include <sys/mman.h>
|
|
39
|
+
#include <unistd.h>
|
|
40
|
+
#include <sys/uio.h>
|
|
41
|
+
#endif
|
|
42
|
+
#include <sys/types.h>
|
|
43
|
+
#include <sys/stat.h>
|
|
44
|
+
#include <fcntl.h>
|
|
45
|
+
#include <map>
|
|
46
|
+
#include <set>
|
|
47
|
+
|
|
48
|
+
#if defined(sun)
|
|
49
|
+
typedef char* amps_iovec_base_ptr;
|
|
50
|
+
#else
|
|
51
|
+
typedef void* amps_iovec_base_ptr;
|
|
52
|
+
#endif
|
|
53
|
+
|
|
54
|
+
/// \file LoggedBookmarkStore.hpp
|
|
55
|
+
/// \brief Provides AMPS::LoggedBookmarkStore, a bookmark store that
|
|
56
|
+
/// uses a file to track received messages. This bookmark store provides
|
|
57
|
+
/// resumable subscriptions even when the application restarts.
|
|
58
|
+
|
|
59
|
+
namespace AMPS
|
|
60
|
+
{
|
|
61
|
+
///
|
|
62
|
+
/// A BookmarkStoreImpl implementation that logs all messages to a file. This
|
|
63
|
+
/// class provides resumable subscriptions even when the application restarts.
|
|
64
|
+
class LoggedBookmarkStore : public MemoryBookmarkStore
|
|
65
|
+
{
|
|
66
|
+
private:
|
|
67
|
+
static void _clearBookmark(std::pair<const Message::Field, size_t>& pair)
|
|
68
|
+
{
|
|
69
|
+
Message::Field f(pair.first);
|
|
70
|
+
f.clear();
|
|
71
|
+
}
|
|
72
|
+
#ifdef _WIN32
|
|
73
|
+
typedef HANDLE FileType;
|
|
74
|
+
#else
|
|
75
|
+
typedef int FileType;
|
|
76
|
+
#endif
|
|
77
|
+
public:
|
|
78
|
+
///
|
|
79
|
+
/// Creates a LoggedBookmarkStore using fileName_ as its file storage. If
|
|
80
|
+
/// fileName_ already exists and has valid bookmarks in it, it will be
|
|
81
|
+
/// recovered to determine the most recent bookmark and other messages
|
|
82
|
+
/// received.
|
|
83
|
+
/// \param fileName_ The name of the file to use.
|
|
84
|
+
/// \param useLastModifiedTime_ If the file already exists, the last
|
|
85
|
+
/// modification time of the file will be included in the bookmark
|
|
86
|
+
/// list returned from `getMostRecent` for any subscription ID that exists
|
|
87
|
+
/// in the file upon recovery.
|
|
88
|
+
LoggedBookmarkStore(const char* fileName_,
|
|
89
|
+
bool useLastModifiedTime_ = false)
|
|
90
|
+
: MemoryBookmarkStore()
|
|
91
|
+
#ifdef _WIN32
|
|
92
|
+
, _file(INVALID_HANDLE_VALUE)
|
|
93
|
+
#else
|
|
94
|
+
, _file(0)
|
|
95
|
+
#endif
|
|
96
|
+
, _fileName(fileName_)
|
|
97
|
+
{
|
|
98
|
+
init();
|
|
99
|
+
recover(useLastModifiedTime_, false);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
///
|
|
103
|
+
/// Creates a LoggedBookmarkStore using a file name fileName_
|
|
104
|
+
/// \param fileName_ The name of the file to use.
|
|
105
|
+
/// \param useLastModifiedTime_ If the file already exists, the last
|
|
106
|
+
/// modification time of the file will be included in the bookmark
|
|
107
|
+
/// list returned from `getMostRecent` for any subscription ID that exists
|
|
108
|
+
/// in the file upon recovery.
|
|
109
|
+
LoggedBookmarkStore(const std::string& fileName_,
|
|
110
|
+
bool useLastModifiedTime_ = false)
|
|
111
|
+
: MemoryBookmarkStore()
|
|
112
|
+
#ifdef _WIN32
|
|
113
|
+
, _file(INVALID_HANDLE_VALUE)
|
|
114
|
+
#else
|
|
115
|
+
, _file(0)
|
|
116
|
+
#endif
|
|
117
|
+
, _fileName(fileName_)
|
|
118
|
+
{
|
|
119
|
+
init();
|
|
120
|
+
recover(useLastModifiedTime_, false);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
///
|
|
124
|
+
/// Creates a LoggedBookmarkStore using fileName_ as its file storage. If
|
|
125
|
+
/// fileName_ already exists and has valid bookmarks in it, it will be
|
|
126
|
+
/// recovered to determine the most recent bookmark and other messages
|
|
127
|
+
/// received.
|
|
128
|
+
/// \param adapter_ The {@link RecoveryPointAdapter} to notify
|
|
129
|
+
/// about updates.
|
|
130
|
+
/// \param fileName_ The name of the file to use.
|
|
131
|
+
/// \param factory_ An optional factory function to use
|
|
132
|
+
/// to create the {@link RecoveryPoint} objects sent to the recoveryPointAdapter_.
|
|
133
|
+
/// \param useLastModifiedTime_ If the file already exists, the last
|
|
134
|
+
/// modification time of the file will be included in the bookmark
|
|
135
|
+
/// list returned from `getMostRecent` for any subscription ID that exists
|
|
136
|
+
/// in the file upon recovery.
|
|
137
|
+
LoggedBookmarkStore(const RecoveryPointAdapter& adapter_,
|
|
138
|
+
const char* fileName_,
|
|
139
|
+
RecoveryPointFactory factory_ = NULL,
|
|
140
|
+
bool useLastModifiedTime_ = false)
|
|
141
|
+
: MemoryBookmarkStore(adapter_, factory_)
|
|
142
|
+
#ifdef _WIN32
|
|
143
|
+
, _file(INVALID_HANDLE_VALUE)
|
|
144
|
+
#else
|
|
145
|
+
, _file(0)
|
|
146
|
+
#endif
|
|
147
|
+
, _fileName(fileName_)
|
|
148
|
+
{
|
|
149
|
+
init();
|
|
150
|
+
recover(useLastModifiedTime_, true);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
///
|
|
154
|
+
/// Creates a LoggedBookmarkStore using a file name fileName_
|
|
155
|
+
/// \param adapter_ The {@link RecoveryPointAdapter} to notify
|
|
156
|
+
/// about updates.
|
|
157
|
+
/// \param fileName_ The name of the file to use.
|
|
158
|
+
/// \param factory_ An optional factory function to use
|
|
159
|
+
/// to create the {@link RecoveryPoint} objects sent to the recoveryPointAdapter_.
|
|
160
|
+
/// \param useLastModifiedTime_ If the file already exists, the last
|
|
161
|
+
/// modification time of the file will be included in the bookmark
|
|
162
|
+
/// list returned from `getMostRecent` for any subscription ID that exists
|
|
163
|
+
/// in the file upon recovery.
|
|
164
|
+
LoggedBookmarkStore(const RecoveryPointAdapter& adapter_,
|
|
165
|
+
const std::string& fileName_,
|
|
166
|
+
RecoveryPointFactory factory_ = NULL,
|
|
167
|
+
bool useLastModifiedTime_ = false)
|
|
168
|
+
: MemoryBookmarkStore(adapter_, factory_)
|
|
169
|
+
#ifdef _WIN32
|
|
170
|
+
, _file(INVALID_HANDLE_VALUE)
|
|
171
|
+
#else
|
|
172
|
+
, _file(0)
|
|
173
|
+
#endif
|
|
174
|
+
, _fileName(fileName_)
|
|
175
|
+
{
|
|
176
|
+
init();
|
|
177
|
+
recover(useLastModifiedTime_, true);
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
virtual ~LoggedBookmarkStore()
|
|
181
|
+
{
|
|
182
|
+
// ~MemoryBookmarkStore handles closing the adapter
|
|
183
|
+
close();
|
|
184
|
+
// In case _lock gets acquired by reader thread between end of this
|
|
185
|
+
// destructor and start of base class destructor, prevent write()
|
|
186
|
+
_recoveringFile = true;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
void close()
|
|
190
|
+
{
|
|
191
|
+
#ifdef _WIN32
|
|
192
|
+
CloseHandle(_file);
|
|
193
|
+
#else
|
|
194
|
+
::close(_file);
|
|
195
|
+
#endif
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
///
|
|
199
|
+
/// Log a bookmark to the persistent log and return the corresponding
|
|
200
|
+
/// sequence number for this bookmark.
|
|
201
|
+
/// \param message_ The Message to log.
|
|
202
|
+
///
|
|
203
|
+
virtual size_t log(Message& message_)
|
|
204
|
+
{
|
|
205
|
+
Message::Field bookmark = message_.getBookmark();
|
|
206
|
+
Subscription* sub = (Subscription*)(message_.getSubscriptionHandle());
|
|
207
|
+
Lock<Mutex> guard(_lock);
|
|
208
|
+
if (!sub)
|
|
209
|
+
{
|
|
210
|
+
Message::Field subId = message_.getSubscriptionId();
|
|
211
|
+
if (subId.empty())
|
|
212
|
+
{
|
|
213
|
+
subId = message_.getSubscriptionIds();
|
|
214
|
+
}
|
|
215
|
+
sub = find(subId);
|
|
216
|
+
message_.setSubscriptionHandle(static_cast<amps_subscription_handle>(sub));
|
|
217
|
+
}
|
|
218
|
+
write(_file, sub->id(), ENTRY_BOOKMARK, bookmark);
|
|
219
|
+
return MemoryBookmarkStore::_log(message_);
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
///
|
|
223
|
+
/// Log a Message as discarded from the store.
|
|
224
|
+
/// \param message_ The Message to discard.
|
|
225
|
+
///
|
|
226
|
+
virtual void discard(const Message& message_)
|
|
227
|
+
{
|
|
228
|
+
Message::Field bookmark = message_.getBookmark();
|
|
229
|
+
Message::Field subId = message_.getSubscriptionId();
|
|
230
|
+
if (subId.empty())
|
|
231
|
+
{
|
|
232
|
+
subId = message_.getSubscriptionIds();
|
|
233
|
+
}
|
|
234
|
+
Lock<Mutex> guard(_lock);
|
|
235
|
+
write(_file, subId, ENTRY_DISCARD, bookmark);
|
|
236
|
+
MemoryBookmarkStore::_discard(message_);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
///
|
|
240
|
+
/// Log a discard-bookmark entry to the persistent log
|
|
241
|
+
/// based on a bookmark sequence number. Use the \ref discard(const Message&)
|
|
242
|
+
/// function instead when you have the full Message object available..
|
|
243
|
+
/// \param subId_ The id of the subscription to which the bookmark applies.
|
|
244
|
+
/// \param bookmarkSeqNo_ The bookmark sequence number to discard.
|
|
245
|
+
///
|
|
246
|
+
virtual void discard(const Message::Field& subId_, size_t bookmarkSeqNo_)
|
|
247
|
+
{
|
|
248
|
+
Lock<Mutex> l(_lock);
|
|
249
|
+
Subscription::Entry* entry = find(subId_)->getEntryByIndex(bookmarkSeqNo_);
|
|
250
|
+
if (!entry || entry->_val.empty())
|
|
251
|
+
{
|
|
252
|
+
return;
|
|
253
|
+
}
|
|
254
|
+
write(_file, subId_, ENTRY_DISCARD, entry->_val);
|
|
255
|
+
MemoryBookmarkStore::_discard(subId_, bookmarkSeqNo_);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
///
|
|
259
|
+
/// Returns the most recent bookmark from the log that
|
|
260
|
+
/// ought to be used for (re-)subscriptions.
|
|
261
|
+
/// \param subId_ The id of the subscription to check.
|
|
262
|
+
///
|
|
263
|
+
virtual Message::Field getMostRecent(const Message::Field& subId_)
|
|
264
|
+
{
|
|
265
|
+
Lock<Mutex> l(_lock);
|
|
266
|
+
return MemoryBookmarkStore::_getMostRecent(subId_);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
///
|
|
270
|
+
/// Called for each arriving message to determine if
|
|
271
|
+
/// the application has already seen this bookmark and should
|
|
272
|
+
/// not be reprocessed. Returns 'true' if the bookmark is
|
|
273
|
+
/// in the log and should not be re-processed, false otherwise.
|
|
274
|
+
/// \param message_ The Message to check.
|
|
275
|
+
/// \return Whether or not the Message has been discarded from this store.
|
|
276
|
+
///
|
|
277
|
+
virtual bool isDiscarded(Message& message_)
|
|
278
|
+
{
|
|
279
|
+
Lock<Mutex> l(_lock);
|
|
280
|
+
bool retVal = MemoryBookmarkStore::_isDiscarded(message_);
|
|
281
|
+
if (retVal)
|
|
282
|
+
{
|
|
283
|
+
Message::Field subId = message_.getSubscriptionId();
|
|
284
|
+
if (subId.empty())
|
|
285
|
+
{
|
|
286
|
+
subId = message_.getSubscriptionIds();
|
|
287
|
+
}
|
|
288
|
+
write(_file, subId, ENTRY_BOOKMARK, message_.getBookmark());
|
|
289
|
+
write(_file, subId, ENTRY_DISCARD, message_.getBookmark());
|
|
290
|
+
}
|
|
291
|
+
return retVal;
|
|
292
|
+
}
|
|
293
|
+
|
|
294
|
+
///
|
|
295
|
+
/// Called to purge the contents of this store.
|
|
296
|
+
/// Removes any tracking history associated with publishers and received
|
|
297
|
+
/// messages, and may delete or truncate on-disk representations as well.
|
|
298
|
+
///
|
|
299
|
+
virtual void purge()
|
|
300
|
+
{
|
|
301
|
+
Lock<Mutex> guard(_lock);
|
|
302
|
+
#ifdef _WIN32
|
|
303
|
+
if (_file != INVALID_HANDLE_VALUE)
|
|
304
|
+
{
|
|
305
|
+
CloseHandle(_file);
|
|
306
|
+
}
|
|
307
|
+
DeleteFileA(_fileName.c_str());
|
|
308
|
+
_file = CreateFileA(_fileName.c_str(), GENERIC_READ | GENERIC_WRITE, 0,
|
|
309
|
+
NULL, CREATE_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
|
310
|
+
if ( _file == INVALID_HANDLE_VALUE )
|
|
311
|
+
{
|
|
312
|
+
DWORD err = getErrorNo();
|
|
313
|
+
std::ostringstream os;
|
|
314
|
+
os << "Failed to recreate log file after purge for LoggedBookmarkStore" << _fileName << " for LoggedBookmarkStore";
|
|
315
|
+
error(os.str(), err);
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
#else
|
|
319
|
+
::close(_file);
|
|
320
|
+
::unlink(_fileName.c_str());
|
|
321
|
+
_file = open(_fileName.c_str(), O_RDWR | O_CREAT, (mode_t)0644);
|
|
322
|
+
if (_file == -1)
|
|
323
|
+
{
|
|
324
|
+
error("Failed to recreate log file after purge for LoggedBookmarkStore", getErrorNo());
|
|
325
|
+
return;
|
|
326
|
+
}
|
|
327
|
+
#endif
|
|
328
|
+
MemoryBookmarkStore::_purge();
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
///
|
|
332
|
+
/// Called to purge the contents of this store for particular subId.
|
|
333
|
+
/// Removes any tracking history associated with publishers and received
|
|
334
|
+
/// messages, and will remove the subId from the file as well.
|
|
335
|
+
///
|
|
336
|
+
virtual void purge(const Message::Field& subId_)
|
|
337
|
+
{
|
|
338
|
+
Lock<Mutex> guard(_lock);
|
|
339
|
+
MemoryBookmarkStore::_purge(subId_);
|
|
340
|
+
std::string tmpFileName = _fileName + ".tmp";
|
|
341
|
+
__prune(tmpFileName);
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
void setServerVersion(const VersionInfo& version_)
|
|
345
|
+
{
|
|
346
|
+
MemoryBookmarkStore::setServerVersion(version_);
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
void setServerVersion(size_t version_)
|
|
350
|
+
{
|
|
351
|
+
MemoryBookmarkStore::setServerVersion(version_);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
// Yes, the argument is a non-const copy of what is passed in
|
|
355
|
+
void _prune(const std::string& tmpFileName_)
|
|
356
|
+
{
|
|
357
|
+
Lock<Mutex> guard(_lock);
|
|
358
|
+
// If nothing's changed with most recent, don't rewrite the file
|
|
359
|
+
if (!_recentChanged)
|
|
360
|
+
{
|
|
361
|
+
return;
|
|
362
|
+
}
|
|
363
|
+
if (tmpFileName_.empty())
|
|
364
|
+
{
|
|
365
|
+
__prune(_fileName + ".tmp");
|
|
366
|
+
}
|
|
367
|
+
else
|
|
368
|
+
{
|
|
369
|
+
__prune(tmpFileName_);
|
|
370
|
+
}
|
|
371
|
+
_recentChanged = false;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
void __prune(const std::string& tmpFileName_)
|
|
375
|
+
{
|
|
376
|
+
#ifdef _WIN32
|
|
377
|
+
HANDLE tmpFile;
|
|
378
|
+
tmpFile = CreateFileA(tmpFileName_.c_str(), GENERIC_READ | GENERIC_WRITE, 0,
|
|
379
|
+
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
|
380
|
+
if (tmpFile == INVALID_HANDLE_VALUE )
|
|
381
|
+
{
|
|
382
|
+
DWORD err = getErrorNo();
|
|
383
|
+
std::ostringstream os;
|
|
384
|
+
os << "Failed to create temp log file " << tmpFileName_ <<
|
|
385
|
+
" to prune LoggedBookmarkStore " << _fileName;
|
|
386
|
+
error(os.str(), err);
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
#else
|
|
390
|
+
int tmpFile;
|
|
391
|
+
tmpFile = open(tmpFileName_.c_str(), O_RDWR | O_CREAT, (mode_t)0644);
|
|
392
|
+
if (tmpFile == -1)
|
|
393
|
+
{
|
|
394
|
+
int err = getErrorNo();
|
|
395
|
+
std::ostringstream os;
|
|
396
|
+
os << "Failed to create temp log file " << tmpFileName_ <<
|
|
397
|
+
" to prune LoggedBookmarkStore " << _fileName;
|
|
398
|
+
error(os.str(), err);
|
|
399
|
+
return;
|
|
400
|
+
}
|
|
401
|
+
#endif
|
|
402
|
+
try
|
|
403
|
+
{
|
|
404
|
+
for (SubscriptionMap::iterator i = _subs.begin();
|
|
405
|
+
i != _subs.end(); ++i)
|
|
406
|
+
{
|
|
407
|
+
Message::Field subId = i->first;
|
|
408
|
+
assert(!subId.empty());
|
|
409
|
+
Subscription* subPtr = i->second;
|
|
410
|
+
const BookmarkRange& range = subPtr->getRange();
|
|
411
|
+
if (range.isValid())
|
|
412
|
+
{
|
|
413
|
+
write(tmpFile, subId, ENTRY_BOOKMARK, range);
|
|
414
|
+
}
|
|
415
|
+
Message::Field recent = subPtr->getMostRecent(false);
|
|
416
|
+
amps_uint64_t recentPub, recentSeq;
|
|
417
|
+
Subscription::parseBookmark(recent, recentPub, recentSeq);
|
|
418
|
+
Subscription::PublisherMap publishersDiscarded =
|
|
419
|
+
subPtr->_publishers;
|
|
420
|
+
MemoryBookmarkStore::EntryPtrList recovered;
|
|
421
|
+
subPtr->getRecoveryEntries(recovered);
|
|
422
|
+
subPtr->setPublishersToDiscarded(&recovered,
|
|
423
|
+
&publishersDiscarded);
|
|
424
|
+
char tmpBookmarkBuffer[128];
|
|
425
|
+
for (Subscription::PublisherIterator pub =
|
|
426
|
+
publishersDiscarded.begin(),
|
|
427
|
+
e = publishersDiscarded.end();
|
|
428
|
+
pub != e; ++pub)
|
|
429
|
+
{
|
|
430
|
+
// Don't log EPOCH if it got in the map
|
|
431
|
+
if (pub->first == 0 || pub->second == 0)
|
|
432
|
+
{
|
|
433
|
+
continue;
|
|
434
|
+
}
|
|
435
|
+
// Don't log the most recent yet
|
|
436
|
+
if (pub->first == recentPub)
|
|
437
|
+
{
|
|
438
|
+
continue;
|
|
439
|
+
}
|
|
440
|
+
int written = AMPS_snprintf_amps_uint64_t(
|
|
441
|
+
tmpBookmarkBuffer,
|
|
442
|
+
sizeof(tmpBookmarkBuffer),
|
|
443
|
+
pub->first);
|
|
444
|
+
*(tmpBookmarkBuffer + written++) = '|';
|
|
445
|
+
written += AMPS_snprintf_amps_uint64_t(
|
|
446
|
+
tmpBookmarkBuffer + written,
|
|
447
|
+
sizeof(tmpBookmarkBuffer)
|
|
448
|
+
- (size_t)written,
|
|
449
|
+
pub->second);
|
|
450
|
+
*(tmpBookmarkBuffer + written++) = '|';
|
|
451
|
+
Message::Field tmpBookmark(tmpBookmarkBuffer, (size_t)written);
|
|
452
|
+
write(tmpFile, subId, ENTRY_BOOKMARK, tmpBookmark);
|
|
453
|
+
write(tmpFile, subId, ENTRY_DISCARD, tmpBookmark);
|
|
454
|
+
}
|
|
455
|
+
if (isWritableBookmark(recent.len()))
|
|
456
|
+
{
|
|
457
|
+
write(tmpFile, subId, ENTRY_BOOKMARK, recent);
|
|
458
|
+
write(tmpFile, subId, ENTRY_DISCARD, recent);
|
|
459
|
+
}
|
|
460
|
+
else // set up _recentList
|
|
461
|
+
{
|
|
462
|
+
subPtr->getMostRecentList();
|
|
463
|
+
}
|
|
464
|
+
if (isWritableBookmark(subPtr->getLastPersisted().len()))
|
|
465
|
+
{
|
|
466
|
+
write(tmpFile, subId, ENTRY_PERSISTED,
|
|
467
|
+
subPtr->getLastPersisted());
|
|
468
|
+
}
|
|
469
|
+
subPtr->getActiveEntries(recovered);
|
|
470
|
+
for (MemoryBookmarkStore::EntryPtrList::iterator entry =
|
|
471
|
+
recovered.begin();
|
|
472
|
+
entry != recovered.end(); ++entry)
|
|
473
|
+
{
|
|
474
|
+
if ((*entry)->_val.empty() ||
|
|
475
|
+
!isWritableBookmark((*entry)->_val.len()))
|
|
476
|
+
{
|
|
477
|
+
continue;
|
|
478
|
+
}
|
|
479
|
+
write(tmpFile, subId, ENTRY_BOOKMARK, (*entry)->_val);
|
|
480
|
+
if (!(*entry)->_active)
|
|
481
|
+
{
|
|
482
|
+
write(tmpFile, subId, ENTRY_DISCARD, (*entry)->_val);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
catch (StoreException& ex)
|
|
488
|
+
{
|
|
489
|
+
#ifdef _WIN32
|
|
490
|
+
CloseHandle(tmpFile);
|
|
491
|
+
DeleteFileA(tmpFileName_.c_str());
|
|
492
|
+
#else
|
|
493
|
+
::close(tmpFile);
|
|
494
|
+
unlink(tmpFileName_.c_str());
|
|
495
|
+
#endif
|
|
496
|
+
std::ostringstream os;
|
|
497
|
+
os << "Exception during prune: " << ex.what();
|
|
498
|
+
throw StoreException(os.str());
|
|
499
|
+
}
|
|
500
|
+
#ifdef _WIN32
|
|
501
|
+
CloseHandle(_file);
|
|
502
|
+
CloseHandle(tmpFile);
|
|
503
|
+
_file = INVALID_HANDLE_VALUE;
|
|
504
|
+
tmpFile = INVALID_HANDLE_VALUE;
|
|
505
|
+
// Replace file with pruned file
|
|
506
|
+
int retryCount = 3;
|
|
507
|
+
while (!MoveFileExA(tmpFileName_.c_str(), _fileName.c_str(),
|
|
508
|
+
MOVEFILE_COPY_ALLOWED | MOVEFILE_REPLACE_EXISTING | MOVEFILE_WRITE_THROUGH))
|
|
509
|
+
{
|
|
510
|
+
DWORD err = getErrorNo();
|
|
511
|
+
if (--retryCount > 0)
|
|
512
|
+
{
|
|
513
|
+
continue;
|
|
514
|
+
}
|
|
515
|
+
// Try to set _file to the tmp file that won't move then throw
|
|
516
|
+
std::string desiredFileName = _fileName;
|
|
517
|
+
_fileName = tmpFileName_;
|
|
518
|
+
init();
|
|
519
|
+
std::ostringstream os;
|
|
520
|
+
os << "Failed to move completed temp file " << tmpFileName_
|
|
521
|
+
<< " to " << desiredFileName
|
|
522
|
+
<< " in prune in LoggedBookmarkStore. Continuing by using "
|
|
523
|
+
<< tmpFileName_ << " as the LoggedBookmarkStore file.";
|
|
524
|
+
error(os.str(), err);
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
init();
|
|
528
|
+
SetFilePointer(_file, 0, NULL, FILE_END);
|
|
529
|
+
#else
|
|
530
|
+
::close(tmpFile);
|
|
531
|
+
::close(_file);
|
|
532
|
+
if (-1 == ::unlink(_fileName.c_str()))
|
|
533
|
+
{
|
|
534
|
+
int err = getErrorNo();
|
|
535
|
+
// Try to set _file to the tmp file then throw
|
|
536
|
+
std::string desiredFileName = _fileName;
|
|
537
|
+
_fileName = tmpFileName_;
|
|
538
|
+
init();
|
|
539
|
+
std::ostringstream os;
|
|
540
|
+
os << "Failed to delete file " << desiredFileName
|
|
541
|
+
<< " after creating temporary file " << tmpFileName_
|
|
542
|
+
<< " in prune in LoggedBookmarkStore. Continuing by using "
|
|
543
|
+
<< tmpFileName_ << " as the LoggedBookmarkStore file.";
|
|
544
|
+
error(os.str(), err);
|
|
545
|
+
return;
|
|
546
|
+
}
|
|
547
|
+
if (-1 == ::rename(tmpFileName_.c_str(), _fileName.c_str()))
|
|
548
|
+
{
|
|
549
|
+
int err = getErrorNo();
|
|
550
|
+
// Try to set _file to the tmp file that won't move then throw
|
|
551
|
+
std::string desiredFileName = _fileName;
|
|
552
|
+
_fileName = tmpFileName_;
|
|
553
|
+
init();
|
|
554
|
+
std::ostringstream os;
|
|
555
|
+
os << "Failed to move completed temp file " << tmpFileName_
|
|
556
|
+
<< " to " << desiredFileName
|
|
557
|
+
<< " in prune in LoggedBookmarkStore. Continuing by using "
|
|
558
|
+
<< tmpFileName_ << " as the LoggedBookmarkStore file.";
|
|
559
|
+
error(os.str(), err);
|
|
560
|
+
return;
|
|
561
|
+
}
|
|
562
|
+
init();
|
|
563
|
+
struct stat fst;
|
|
564
|
+
if (-1 == ::fstat(_file, &fst))
|
|
565
|
+
{
|
|
566
|
+
int err = getErrorNo();
|
|
567
|
+
std::ostringstream os;
|
|
568
|
+
os << "Failed to get size of pruned file " << _fileName
|
|
569
|
+
<< " in prune in LoggedBookmarkStore. ";
|
|
570
|
+
error(os.str(), err);
|
|
571
|
+
return;
|
|
572
|
+
}
|
|
573
|
+
::lseek(_file, (off_t)fst.st_size, SEEK_SET);
|
|
574
|
+
#endif
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
private:
|
|
578
|
+
virtual void _persisted(Subscription* subP_,
|
|
579
|
+
const Message::Field& bookmark_)
|
|
580
|
+
{
|
|
581
|
+
Lock<Mutex> guard(_lock);
|
|
582
|
+
write(_file, subP_->id(), ENTRY_PERSISTED, bookmark_);
|
|
583
|
+
MemoryBookmarkStore::_persisted(subP_, bookmark_);
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
virtual Message::Field _persisted(Subscription* subP_, size_t bookmark_)
|
|
587
|
+
{
|
|
588
|
+
Lock<Mutex> l(_lock);
|
|
589
|
+
Subscription::Entry* entryPtr = subP_->getEntryByIndex(bookmark_);
|
|
590
|
+
if (!entryPtr || entryPtr->_val.empty())
|
|
591
|
+
{
|
|
592
|
+
return Message::Field();
|
|
593
|
+
}
|
|
594
|
+
Message::Field bookmarkField = entryPtr->_val;
|
|
595
|
+
write(_file, subP_->id(), ENTRY_PERSISTED, bookmarkField);
|
|
596
|
+
MemoryBookmarkStore::_persisted(subP_, bookmarkField);
|
|
597
|
+
return bookmarkField;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
#ifdef _WIN32
|
|
601
|
+
typedef DWORD ERRTYPE ;
|
|
602
|
+
ERRTYPE getErrorNo() const
|
|
603
|
+
{
|
|
604
|
+
return GetLastError();
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
void error(const std::string& message_, ERRTYPE err)
|
|
608
|
+
{
|
|
609
|
+
std::ostringstream os;
|
|
610
|
+
static const DWORD msgSize = 2048;
|
|
611
|
+
char pMsg[msgSize];
|
|
612
|
+
DWORD sz = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
|
|
613
|
+
FORMAT_MESSAGE_ARGUMENT_ARRAY,
|
|
614
|
+
NULL, err, LANG_NEUTRAL,
|
|
615
|
+
pMsg, msgSize, NULL);
|
|
616
|
+
os << "File: " << _fileName << ". " << message_;
|
|
617
|
+
if (err != 0)
|
|
618
|
+
{
|
|
619
|
+
os << " with error " << pMsg;
|
|
620
|
+
}
|
|
621
|
+
throw StoreException(os.str());
|
|
622
|
+
}
|
|
623
|
+
#else
|
|
624
|
+
typedef int ERRTYPE;
|
|
625
|
+
ERRTYPE getErrorNo() const
|
|
626
|
+
{
|
|
627
|
+
return errno;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
void error(const std::string& message_, ERRTYPE err)
|
|
631
|
+
{
|
|
632
|
+
std::ostringstream os;
|
|
633
|
+
os << "File: " << _fileName << ". " << message_;
|
|
634
|
+
if (err != 0)
|
|
635
|
+
{
|
|
636
|
+
os << " with error " << strerror(err);
|
|
637
|
+
}
|
|
638
|
+
close();
|
|
639
|
+
throw StoreException(os.str());
|
|
640
|
+
}
|
|
641
|
+
#endif
|
|
642
|
+
|
|
643
|
+
void init()
|
|
644
|
+
{
|
|
645
|
+
#ifdef _WIN32
|
|
646
|
+
_file = CreateFileA(_fileName.c_str(), GENERIC_READ | GENERIC_WRITE, 0,
|
|
647
|
+
NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
|
|
648
|
+
if ( _file == INVALID_HANDLE_VALUE )
|
|
649
|
+
{
|
|
650
|
+
DWORD err = getErrorNo();
|
|
651
|
+
std::ostringstream os;
|
|
652
|
+
os << "Failed to initialize log file " << _fileName << " for LoggedBookmarkStore";
|
|
653
|
+
error(os.str(), err);
|
|
654
|
+
return;
|
|
655
|
+
}
|
|
656
|
+
#else
|
|
657
|
+
_file = open(_fileName.c_str(), O_RDWR | O_CREAT, (mode_t)0644);
|
|
658
|
+
if (_file == -1)
|
|
659
|
+
{
|
|
660
|
+
int err = getErrorNo();
|
|
661
|
+
std::ostringstream os;
|
|
662
|
+
os << "Failed to initialize log file " << _fileName << " for LoggedBookmarkStore";
|
|
663
|
+
error(os.str(), err);
|
|
664
|
+
return;
|
|
665
|
+
}
|
|
666
|
+
#endif
|
|
667
|
+
}
|
|
668
|
+
|
|
669
|
+
// This implementation will only ever use this when logging a bookmark
|
|
670
|
+
// Could be used to add a feature where discarded bookmark fields are logged in
|
|
671
|
+
// addition to the generated bookmark.
|
|
672
|
+
void write(FileType file_, const Message::Field& subId_, char type_,
|
|
673
|
+
const Message::Field& bookmark_)
|
|
674
|
+
{
|
|
675
|
+
Lock<Mutex> guard(_fileLock);
|
|
676
|
+
if (!_recoveringFile && isWritableBookmark(bookmark_.len()))
|
|
677
|
+
{
|
|
678
|
+
#ifdef _WIN32
|
|
679
|
+
DWORD written;
|
|
680
|
+
size_t len = subId_.len();
|
|
681
|
+
BOOL ok = WriteFile(file_, (LPVOID)&len, sizeof(size_t), &written, NULL);
|
|
682
|
+
ok |= WriteFile(file_, (LPVOID)subId_.data(), (DWORD)len, &written, NULL);
|
|
683
|
+
ok |= WriteFile(file_, (LPVOID)&type_, 1, &written, NULL);
|
|
684
|
+
len = bookmark_.len();
|
|
685
|
+
ok |= WriteFile(file_, (LPVOID)&len, sizeof(size_t), &written, NULL);
|
|
686
|
+
ok |= WriteFile(file_, (LPVOID)bookmark_.data(), (DWORD)len,
|
|
687
|
+
&written, NULL);
|
|
688
|
+
if (!ok)
|
|
689
|
+
{
|
|
690
|
+
error("Failed to write to bookmark log.", getErrorNo());
|
|
691
|
+
return;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
#else
|
|
695
|
+
if (file_ == -1)
|
|
696
|
+
{
|
|
697
|
+
file_ = open(_fileName.c_str(), O_RDWR | O_CREAT, (mode_t)0644);
|
|
698
|
+
if (file_ == -1)
|
|
699
|
+
{
|
|
700
|
+
int err = getErrorNo();
|
|
701
|
+
std::ostringstream os;
|
|
702
|
+
os << "Failed to open file " << _fileName
|
|
703
|
+
<< " for write in LoggedBookmarkStore. ";
|
|
704
|
+
error(os.str(), err);
|
|
705
|
+
return;
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
struct iovec data[5];
|
|
709
|
+
size_t len = subId_.len();
|
|
710
|
+
data[0].iov_base = (amps_iovec_base_ptr)(void*)&len;
|
|
711
|
+
data[0].iov_len = sizeof(size_t);
|
|
712
|
+
data[1].iov_base = (amps_iovec_base_ptr)(void*)subId_.data();
|
|
713
|
+
data[1].iov_len = len;
|
|
714
|
+
data[2].iov_base = (amps_iovec_base_ptr)(void*)&type_;
|
|
715
|
+
data[2].iov_len = 1;
|
|
716
|
+
size_t bookmarkLen = bookmark_.len();
|
|
717
|
+
data[3].iov_base = (amps_iovec_base_ptr)(void*)&bookmarkLen;
|
|
718
|
+
data[3].iov_len = sizeof(size_t);
|
|
719
|
+
data[4].iov_base = (amps_iovec_base_ptr)(void*)bookmark_.data();
|
|
720
|
+
data[4].iov_len = bookmarkLen;
|
|
721
|
+
ssize_t written = ::writev(file_, data, 5);
|
|
722
|
+
if (written == -1)
|
|
723
|
+
{
|
|
724
|
+
error("Failed to write to bookmark log.", getErrorNo());
|
|
725
|
+
return;
|
|
726
|
+
}
|
|
727
|
+
#endif
|
|
728
|
+
}
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
// This implementation will only ever use this when discarding a bookmark
|
|
732
|
+
// Could be used to add a feature where generated bookmarks are logged in
|
|
733
|
+
// addition to the bookmark field.
|
|
734
|
+
void write(FileType file_, const Message::Field& subId_,
|
|
735
|
+
char type_, size_t bookmark_)
|
|
736
|
+
{
|
|
737
|
+
Lock<Mutex> guard(_fileLock);
|
|
738
|
+
if (!_recoveringFile)
|
|
739
|
+
{
|
|
740
|
+
#ifdef _WIN32
|
|
741
|
+
DWORD written;
|
|
742
|
+
size_t len = subId_.len();
|
|
743
|
+
BOOL ok = WriteFile(file_, (LPVOID)&len, sizeof(size_t), &written, NULL);
|
|
744
|
+
ok |= WriteFile(file_, (LPVOID)subId_.data(), (DWORD)len, &written, NULL);
|
|
745
|
+
ok |= WriteFile(file_, (LPVOID)&type_, 1, &written, NULL);
|
|
746
|
+
ok |= WriteFile(file_, (LPVOID)&bookmark_, sizeof(size_t),
|
|
747
|
+
&written, NULL);
|
|
748
|
+
if (!ok)
|
|
749
|
+
{
|
|
750
|
+
error("Failed to write bookmark sequence to file.", getErrorNo());
|
|
751
|
+
return;
|
|
752
|
+
}
|
|
753
|
+
|
|
754
|
+
#else
|
|
755
|
+
if (file_ == -1)
|
|
756
|
+
{
|
|
757
|
+
file_ = open(_fileName.c_str(), O_RDWR | O_CREAT, (mode_t)0644);
|
|
758
|
+
if (file_ == -1)
|
|
759
|
+
{
|
|
760
|
+
int err = getErrorNo();
|
|
761
|
+
std::ostringstream os;
|
|
762
|
+
os << "Failed to open file " << _fileName
|
|
763
|
+
<< " to write bookmark sequence in LoggedBookmarkStore. ";
|
|
764
|
+
error(os.str(), err);
|
|
765
|
+
return;
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
struct iovec data[4];
|
|
769
|
+
size_t len = subId_.len();
|
|
770
|
+
data[0].iov_base = (amps_iovec_base_ptr)(void*)&len;
|
|
771
|
+
data[0].iov_len = sizeof(size_t);
|
|
772
|
+
data[1].iov_base = (amps_iovec_base_ptr)(void*)subId_.data();
|
|
773
|
+
data[1].iov_len = len;
|
|
774
|
+
data[2].iov_base = (amps_iovec_base_ptr)(void*)&type_;
|
|
775
|
+
data[2].iov_len = 1;
|
|
776
|
+
data[3].iov_base = (amps_iovec_base_ptr)(void*)&bookmark_;
|
|
777
|
+
data[3].iov_len = sizeof(size_t);
|
|
778
|
+
ssize_t written = ::writev(file_, data, 4);
|
|
779
|
+
if (written == -1)
|
|
780
|
+
{
|
|
781
|
+
error("Failed to write bookmark sequence to file.", getErrorNo());
|
|
782
|
+
return;
|
|
783
|
+
}
|
|
784
|
+
#endif
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
#ifdef _WIN32
|
|
789
|
+
#define VOID_P(buf) (LPVOID)buf
|
|
790
|
+
bool readFileBytes(LPVOID buffer, size_t numBytes, DWORD* bytesRead)
|
|
791
|
+
{
|
|
792
|
+
return (ReadFile(_file, buffer, (DWORD)numBytes, bytesRead, NULL) == TRUE);
|
|
793
|
+
}
|
|
794
|
+
#else
|
|
795
|
+
#define VOID_P(buf) (void*)buf
|
|
796
|
+
bool readFileBytes(void* buffer, size_t numBytes, ssize_t* bytesRead)
|
|
797
|
+
{
|
|
798
|
+
*bytesRead = ::read(_file, buffer, numBytes);
|
|
799
|
+
return (*bytesRead >= 0);
|
|
800
|
+
}
|
|
801
|
+
#endif
|
|
802
|
+
|
|
803
|
+
void recover(bool useLastModifiedTime_, bool hasAdapter_)
|
|
804
|
+
{
|
|
805
|
+
size_t bufferLen = 128;
|
|
806
|
+
char* buffer = new char[bufferLen];
|
|
807
|
+
size_t subIdBufferLen = 128;
|
|
808
|
+
char* subIdBuffer = new char[bufferLen];
|
|
809
|
+
Message::Field sub;
|
|
810
|
+
size_t subLen = 0;
|
|
811
|
+
Message::Field bookmarkField;
|
|
812
|
+
size_t bookmarkLen = 0;
|
|
813
|
+
Lock<Mutex> l(_lock);
|
|
814
|
+
Lock<Mutex> guard(_fileLock);
|
|
815
|
+
_recoveringFile = true;
|
|
816
|
+
char* fileTimestamp = new char[AMPS_TIMESTAMP_LEN];
|
|
817
|
+
fileTimestamp[0] = '\0';
|
|
818
|
+
#ifdef _WIN32
|
|
819
|
+
LARGE_INTEGER lifileSize;
|
|
820
|
+
if (GetFileSizeEx(_file, &lifileSize) == 0)
|
|
821
|
+
{
|
|
822
|
+
DWORD err = getErrorNo();
|
|
823
|
+
delete[] buffer;
|
|
824
|
+
delete[] subIdBuffer;
|
|
825
|
+
_recoveringFile = false;
|
|
826
|
+
error("Failure getting file size while trying to recover.", err);
|
|
827
|
+
return;
|
|
828
|
+
}
|
|
829
|
+
#ifdef _WIN64
|
|
830
|
+
size_t fileSize = lifileSize.QuadPart;
|
|
831
|
+
#else
|
|
832
|
+
size_t fileSize = lifileSize.LowPart;
|
|
833
|
+
#endif
|
|
834
|
+
if (useLastModifiedTime_ && fileSize > 0)
|
|
835
|
+
{
|
|
836
|
+
FILETIME ftModifiedTime;
|
|
837
|
+
if (GetFileTime(_file, NULL, NULL, &ftModifiedTime) == 0)
|
|
838
|
+
{
|
|
839
|
+
DWORD err = getErrorNo();
|
|
840
|
+
delete[] buffer;
|
|
841
|
+
delete[] subIdBuffer;
|
|
842
|
+
_recoveringFile = false;
|
|
843
|
+
error("Failure getting file time while trying to recover.", err);
|
|
844
|
+
return;
|
|
845
|
+
}
|
|
846
|
+
SYSTEMTIME st;
|
|
847
|
+
if (FileTimeToSystemTime(&ftModifiedTime, &st) == 0)
|
|
848
|
+
{
|
|
849
|
+
DWORD err = getErrorNo();
|
|
850
|
+
delete[] buffer;
|
|
851
|
+
delete[] subIdBuffer;
|
|
852
|
+
_recoveringFile = false;
|
|
853
|
+
error("Failure converting file time while trying to recover.", err);
|
|
854
|
+
return;
|
|
855
|
+
}
|
|
856
|
+
sprintf_s(fileTimestamp, AMPS_TIMESTAMP_LEN,
|
|
857
|
+
"%04d%02d%02dT%02d%02d%02d", st.wYear, st.wMonth,
|
|
858
|
+
st.wDay, st.wHour, st.wMinute, st.wSecond);
|
|
859
|
+
fileTimestamp[AMPS_TIMESTAMP_LEN - 1] = 'Z';
|
|
860
|
+
}
|
|
861
|
+
else if (fileSize == 0)
|
|
862
|
+
{
|
|
863
|
+
delete[] fileTimestamp;
|
|
864
|
+
delete[] buffer;
|
|
865
|
+
delete[] subIdBuffer;
|
|
866
|
+
_recoveringFile = false;
|
|
867
|
+
return;
|
|
868
|
+
}
|
|
869
|
+
DWORD readBytes = 0;
|
|
870
|
+
OFF_T loc = 0;
|
|
871
|
+
SetFilePointer(_file, 0, NULL, FILE_BEGIN);
|
|
872
|
+
#else
|
|
873
|
+
struct stat fst;
|
|
874
|
+
::fstat(_file, &fst);
|
|
875
|
+
ssize_t fileSize = fst.st_size;
|
|
876
|
+
ssize_t readBytes = 0;
|
|
877
|
+
if (useLastModifiedTime_ && fileSize > 0)
|
|
878
|
+
{
|
|
879
|
+
struct tm timeInfo;
|
|
880
|
+
gmtime_r(&fst.st_mtime, &timeInfo);
|
|
881
|
+
strftime(fileTimestamp, AMPS_TIMESTAMP_LEN,
|
|
882
|
+
"%Y%m%dT%H%M%S", &timeInfo);
|
|
883
|
+
fileTimestamp[AMPS_TIMESTAMP_LEN - 1] = 'Z';
|
|
884
|
+
}
|
|
885
|
+
else if (fileSize == 0)
|
|
886
|
+
{
|
|
887
|
+
delete[] fileTimestamp;
|
|
888
|
+
delete[] buffer;
|
|
889
|
+
delete[] subIdBuffer;
|
|
890
|
+
_recoveringFile = false;
|
|
891
|
+
return;
|
|
892
|
+
}
|
|
893
|
+
OFF_T loc = 0;
|
|
894
|
+
::lseek(_file, loc, SEEK_SET);
|
|
895
|
+
#endif
|
|
896
|
+
// We trust file recovery over Adapter recovery
|
|
897
|
+
if (hasAdapter_)
|
|
898
|
+
{
|
|
899
|
+
MemoryBookmarkStore::__purge();
|
|
900
|
+
}
|
|
901
|
+
if (!readFileBytes(VOID_P(&subLen), sizeof(size_t), &readBytes)
|
|
902
|
+
|| subLen > getMaxSubIdLength())
|
|
903
|
+
{
|
|
904
|
+
delete[] fileTimestamp;
|
|
905
|
+
delete[] buffer;
|
|
906
|
+
delete[] subIdBuffer;
|
|
907
|
+
_recoveringFile = false;
|
|
908
|
+
error("Failure reading file while trying to recover.", getErrorNo());
|
|
909
|
+
return;
|
|
910
|
+
}
|
|
911
|
+
#ifdef _WIN32
|
|
912
|
+
size_t totalBytes = readBytes;
|
|
913
|
+
#else
|
|
914
|
+
ssize_t totalBytes = readBytes;
|
|
915
|
+
#endif
|
|
916
|
+
ERRTYPE err = 0; // 0 no error, -1 corruption, positive is errno file error
|
|
917
|
+
size_t tooManyBytes = 0;
|
|
918
|
+
typedef std::map<Message::Field, size_t,
|
|
919
|
+
Message::Field::FieldHash> BookmarkMap;
|
|
920
|
+
typedef std::map<Message::Field, size_t,
|
|
921
|
+
Message::Field::FieldHash>::iterator BookmarkMapIter;
|
|
922
|
+
// Map of subId to set of recovered bookmarks
|
|
923
|
+
typedef std::map<Message::Field, BookmarkMap*,
|
|
924
|
+
Message::Field::FieldHash> ReadMap;
|
|
925
|
+
typedef std::map<Message::Field, BookmarkMap*,
|
|
926
|
+
Message::Field::FieldHash>::iterator ReadMapIter;
|
|
927
|
+
ReadMap recovered;
|
|
928
|
+
while (subLen > 0 && (size_t)readBytes == sizeof(size_t) &&
|
|
929
|
+
(size_t)totalBytes <= (size_t)fileSize)
|
|
930
|
+
{
|
|
931
|
+
if (subLen >= ((size_t)fileSize - (size_t)totalBytes)
|
|
932
|
+
|| subLen > getMaxSubIdLength())
|
|
933
|
+
{
|
|
934
|
+
err = (ERRTYPE) - 1;
|
|
935
|
+
tooManyBytes = subLen + 1;
|
|
936
|
+
break;
|
|
937
|
+
}
|
|
938
|
+
else
|
|
939
|
+
{
|
|
940
|
+
if (subIdBufferLen < subLen)
|
|
941
|
+
{
|
|
942
|
+
delete [] subIdBuffer;
|
|
943
|
+
subIdBufferLen = 2 * subLen;
|
|
944
|
+
subIdBuffer = new char[subIdBufferLen];
|
|
945
|
+
}
|
|
946
|
+
if (!readFileBytes(VOID_P(subIdBuffer), subLen, &readBytes))
|
|
947
|
+
{
|
|
948
|
+
err = getErrorNo();
|
|
949
|
+
tooManyBytes = subLen;
|
|
950
|
+
break;
|
|
951
|
+
}
|
|
952
|
+
totalBytes += readBytes;
|
|
953
|
+
sub.assign(subIdBuffer, subLen);
|
|
954
|
+
if (!readFileBytes(VOID_P(buffer), 1, &readBytes))
|
|
955
|
+
{
|
|
956
|
+
err = getErrorNo();
|
|
957
|
+
tooManyBytes = 1;
|
|
958
|
+
break;
|
|
959
|
+
}
|
|
960
|
+
totalBytes += readBytes;
|
|
961
|
+
switch (buffer[0])
|
|
962
|
+
{
|
|
963
|
+
case ENTRY_BOOKMARK:
|
|
964
|
+
{
|
|
965
|
+
if ((size_t)totalBytes + sizeof(size_t) >= (size_t)fileSize)
|
|
966
|
+
{
|
|
967
|
+
// Corrupt final record is ok
|
|
968
|
+
err = (ERRTYPE) - 1;
|
|
969
|
+
tooManyBytes = sizeof(size_t);
|
|
970
|
+
break;
|
|
971
|
+
}
|
|
972
|
+
if (!readFileBytes(VOID_P(&bookmarkLen), sizeof(size_t), &readBytes))
|
|
973
|
+
{
|
|
974
|
+
err = getErrorNo();
|
|
975
|
+
tooManyBytes = sizeof(size_t);
|
|
976
|
+
break;
|
|
977
|
+
}
|
|
978
|
+
totalBytes += readBytes;
|
|
979
|
+
if (bookmarkLen > (size_t)fileSize - (size_t)totalBytes)
|
|
980
|
+
{
|
|
981
|
+
// Corrupt final record is ok
|
|
982
|
+
err = (ERRTYPE) - 1;
|
|
983
|
+
tooManyBytes = bookmarkLen;
|
|
984
|
+
break;
|
|
985
|
+
}
|
|
986
|
+
if (bufferLen < bookmarkLen)
|
|
987
|
+
{
|
|
988
|
+
delete [] buffer;
|
|
989
|
+
bufferLen = 2 * bookmarkLen;
|
|
990
|
+
buffer = new char[bufferLen];
|
|
991
|
+
}
|
|
992
|
+
if (!readFileBytes(VOID_P(buffer), bookmarkLen, &readBytes))
|
|
993
|
+
{
|
|
994
|
+
err = getErrorNo();
|
|
995
|
+
tooManyBytes = bookmarkLen;
|
|
996
|
+
break;
|
|
997
|
+
}
|
|
998
|
+
totalBytes += readBytes;
|
|
999
|
+
bookmarkField.assign(buffer, bookmarkLen);
|
|
1000
|
+
Subscription* subP = find(sub);
|
|
1001
|
+
BookmarkMap* bookmarks = NULL;
|
|
1002
|
+
ReadMapIter iter = recovered.find(sub);
|
|
1003
|
+
if (iter == recovered.end())
|
|
1004
|
+
{
|
|
1005
|
+
Message::Field subKey;
|
|
1006
|
+
subKey.deepCopy(sub);
|
|
1007
|
+
bookmarks = new BookmarkMap();
|
|
1008
|
+
recovered[subKey] = bookmarks;
|
|
1009
|
+
}
|
|
1010
|
+
else
|
|
1011
|
+
{
|
|
1012
|
+
bookmarks = iter->second;
|
|
1013
|
+
}
|
|
1014
|
+
if (bookmarks->find(bookmarkField) != bookmarks->end())
|
|
1015
|
+
{
|
|
1016
|
+
std::for_each(bookmarks->begin(), bookmarks->end(),
|
|
1017
|
+
_clearBookmark);
|
|
1018
|
+
bookmarks->clear();
|
|
1019
|
+
subP->getMostRecent(true);
|
|
1020
|
+
}
|
|
1021
|
+
if (BookmarkRange::isRange(bookmarkField))
|
|
1022
|
+
{
|
|
1023
|
+
subP->log(bookmarkField);
|
|
1024
|
+
}
|
|
1025
|
+
else if (!subP->isDiscarded(bookmarkField))
|
|
1026
|
+
{
|
|
1027
|
+
size_t sequence = subP->log(bookmarkField);
|
|
1028
|
+
Message::Field copy;
|
|
1029
|
+
copy.deepCopy(bookmarkField);
|
|
1030
|
+
bookmarks->insert(std::make_pair(copy, sequence));
|
|
1031
|
+
}
|
|
1032
|
+
else
|
|
1033
|
+
{
|
|
1034
|
+
// We know it's discarded, but there may still be a
|
|
1035
|
+
// discard entry in the log, so avoid a search.
|
|
1036
|
+
Message::Field copy;
|
|
1037
|
+
copy.deepCopy(bookmarkField);
|
|
1038
|
+
bookmarks->insert(std::make_pair(copy, 0));
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
break;
|
|
1042
|
+
|
|
1043
|
+
case ENTRY_DISCARD:
|
|
1044
|
+
{
|
|
1045
|
+
if ((size_t)totalBytes + sizeof(size_t) >= (size_t)fileSize)
|
|
1046
|
+
{
|
|
1047
|
+
// Corrupt final record is ok
|
|
1048
|
+
err = (ERRTYPE) - 1;
|
|
1049
|
+
tooManyBytes = sizeof(size_t);
|
|
1050
|
+
break;
|
|
1051
|
+
}
|
|
1052
|
+
if (!readFileBytes(VOID_P(&bookmarkLen), sizeof(size_t), &readBytes))
|
|
1053
|
+
{
|
|
1054
|
+
err = getErrorNo();
|
|
1055
|
+
tooManyBytes = sizeof(size_t);
|
|
1056
|
+
break;
|
|
1057
|
+
}
|
|
1058
|
+
totalBytes += readBytes;
|
|
1059
|
+
if (bookmarkLen > (size_t)fileSize - (size_t)totalBytes)
|
|
1060
|
+
{
|
|
1061
|
+
// Corrupt final record is ok
|
|
1062
|
+
err = (ERRTYPE) - 1;
|
|
1063
|
+
tooManyBytes = bookmarkLen;
|
|
1064
|
+
break;
|
|
1065
|
+
}
|
|
1066
|
+
if (bufferLen < bookmarkLen)
|
|
1067
|
+
{
|
|
1068
|
+
delete [] buffer;
|
|
1069
|
+
bufferLen = 2 * bookmarkLen;
|
|
1070
|
+
buffer = new char[bufferLen];
|
|
1071
|
+
}
|
|
1072
|
+
if (!readFileBytes(VOID_P(buffer), bookmarkLen, &readBytes))
|
|
1073
|
+
{
|
|
1074
|
+
err = getErrorNo();
|
|
1075
|
+
tooManyBytes = bookmarkLen;
|
|
1076
|
+
break;
|
|
1077
|
+
}
|
|
1078
|
+
totalBytes += readBytes;
|
|
1079
|
+
bookmarkField.assign(buffer, bookmarkLen);
|
|
1080
|
+
size_t sequence = AMPS_UNSET_INDEX;
|
|
1081
|
+
ReadMapIter iter = recovered.find(sub);
|
|
1082
|
+
if (iter != recovered.end())
|
|
1083
|
+
{
|
|
1084
|
+
BookmarkMap* bookmarks = iter->second;
|
|
1085
|
+
BookmarkMapIter bookmarkIter = bookmarks->find(bookmarkField);
|
|
1086
|
+
if (bookmarkIter != bookmarks->end())
|
|
1087
|
+
{
|
|
1088
|
+
sequence = bookmarkIter->second;
|
|
1089
|
+
Message::Field bookmarkToClear(bookmarkIter->first);
|
|
1090
|
+
bookmarkToClear.clear();
|
|
1091
|
+
bookmarks->erase(bookmarkIter);
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
Subscription* subP = find(sub);
|
|
1095
|
+
if (!BookmarkRange::isRange(bookmarkField))
|
|
1096
|
+
{
|
|
1097
|
+
if (sequence != AMPS_UNSET_INDEX)
|
|
1098
|
+
{
|
|
1099
|
+
// A sequence of 0 means it was already discarded
|
|
1100
|
+
if (sequence)
|
|
1101
|
+
{
|
|
1102
|
+
subP->discard(sequence);
|
|
1103
|
+
}
|
|
1104
|
+
}
|
|
1105
|
+
else // Shouldn't end up here, but just in case we'll search
|
|
1106
|
+
{
|
|
1107
|
+
subP->discard(bookmarkField);
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
}
|
|
1111
|
+
break;
|
|
1112
|
+
case ENTRY_PERSISTED:
|
|
1113
|
+
{
|
|
1114
|
+
if ((size_t)totalBytes + sizeof(size_t) >= (size_t)fileSize)
|
|
1115
|
+
{
|
|
1116
|
+
// Corrupt final record is ok
|
|
1117
|
+
err = (ERRTYPE) - 1;
|
|
1118
|
+
tooManyBytes = sizeof(size_t);
|
|
1119
|
+
break;
|
|
1120
|
+
}
|
|
1121
|
+
if (!readFileBytes(VOID_P(&bookmarkLen), sizeof(size_t), &readBytes))
|
|
1122
|
+
{
|
|
1123
|
+
err = getErrorNo();
|
|
1124
|
+
tooManyBytes = sizeof(size_t);
|
|
1125
|
+
break;
|
|
1126
|
+
}
|
|
1127
|
+
totalBytes += readBytes;
|
|
1128
|
+
if (bookmarkLen > (size_t)fileSize - (size_t)totalBytes)
|
|
1129
|
+
{
|
|
1130
|
+
// Corrupt final record is ok
|
|
1131
|
+
err = (ERRTYPE) - 1;
|
|
1132
|
+
tooManyBytes = bookmarkLen;
|
|
1133
|
+
break;
|
|
1134
|
+
}
|
|
1135
|
+
if (bufferLen < bookmarkLen)
|
|
1136
|
+
{
|
|
1137
|
+
delete [] buffer;
|
|
1138
|
+
bufferLen = 2 * bookmarkLen;
|
|
1139
|
+
buffer = new char[bufferLen];
|
|
1140
|
+
}
|
|
1141
|
+
if (!readFileBytes(VOID_P(buffer), bookmarkLen, &readBytes))
|
|
1142
|
+
{
|
|
1143
|
+
err = getErrorNo();
|
|
1144
|
+
tooManyBytes = bookmarkLen;
|
|
1145
|
+
break;
|
|
1146
|
+
}
|
|
1147
|
+
totalBytes += readBytes;
|
|
1148
|
+
bookmarkField.assign(buffer, bookmarkLen);
|
|
1149
|
+
Subscription* subP = find(sub);
|
|
1150
|
+
MemoryBookmarkStore::_persisted(subP, bookmarkField);
|
|
1151
|
+
}
|
|
1152
|
+
break;
|
|
1153
|
+
default:
|
|
1154
|
+
{
|
|
1155
|
+
// Corrupt final record is ok
|
|
1156
|
+
err = (ERRTYPE) - 1;
|
|
1157
|
+
tooManyBytes = (size_t)fileSize - (size_t)totalBytes;
|
|
1158
|
+
}
|
|
1159
|
+
break;
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
loc = (OFF_T)totalBytes;
|
|
1163
|
+
if ((size_t)totalBytes > (size_t)fileSize)
|
|
1164
|
+
{
|
|
1165
|
+
loc = (OFF_T)fileSize;
|
|
1166
|
+
break;
|
|
1167
|
+
}
|
|
1168
|
+
if (!readFileBytes(VOID_P(&subLen), sizeof(size_t), &readBytes))
|
|
1169
|
+
{
|
|
1170
|
+
err = getErrorNo();
|
|
1171
|
+
tooManyBytes = sizeof(size_t);
|
|
1172
|
+
break;
|
|
1173
|
+
}
|
|
1174
|
+
totalBytes += readBytes;
|
|
1175
|
+
}
|
|
1176
|
+
delete[] buffer;
|
|
1177
|
+
delete[] subIdBuffer;
|
|
1178
|
+
if (err == 0)
|
|
1179
|
+
{
|
|
1180
|
+
for (SubscriptionMap::iterator i = _subs.begin(); i != _subs.end(); ++i)
|
|
1181
|
+
{
|
|
1182
|
+
if (recovered.count(i->first) && !recovered[i->first]->empty())
|
|
1183
|
+
{
|
|
1184
|
+
Subscription* subPtr = i->second;
|
|
1185
|
+
if (subPtr->getMostRecent(false).len() > 1)
|
|
1186
|
+
{
|
|
1187
|
+
subPtr->justRecovered();
|
|
1188
|
+
}
|
|
1189
|
+
else
|
|
1190
|
+
{
|
|
1191
|
+
// Unlikely, but we may have recovered only undiscarded bookmarks
|
|
1192
|
+
// so we should really just restart as a new subscription.
|
|
1193
|
+
delete subPtr;
|
|
1194
|
+
_subs[i->first] = new Subscription(this, i->first);
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
if (useLastModifiedTime_ && fileTimestamp[0] != '\0')
|
|
1198
|
+
{
|
|
1199
|
+
_subs[i->first]->setRecoveryTimestamp(fileTimestamp);
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
for (ReadMapIter i = recovered.begin(), e = recovered.end(); i != e; ++i)
|
|
1204
|
+
{
|
|
1205
|
+
std::for_each(i->second->begin(), i->second->end(), _clearBookmark);
|
|
1206
|
+
delete i->second;
|
|
1207
|
+
Message::Field f = i->first;
|
|
1208
|
+
f.clear();
|
|
1209
|
+
}
|
|
1210
|
+
delete[] fileTimestamp;
|
|
1211
|
+
_recoveringFile = false;
|
|
1212
|
+
if (err != 0)
|
|
1213
|
+
{
|
|
1214
|
+
// Arbitrary guess if we're on the last record
|
|
1215
|
+
// We set err to -1 if we read a corrupt value or
|
|
1216
|
+
// to errno/last error if a read failed.
|
|
1217
|
+
if (err != (ERRTYPE) - 1 || loc == 0 || fileSize - loc > 128)
|
|
1218
|
+
{
|
|
1219
|
+
std::ostringstream os;
|
|
1220
|
+
os << "Error while recovering LoggedBookmarkStore from "
|
|
1221
|
+
<< _fileName
|
|
1222
|
+
<< ". Record starting at " << loc
|
|
1223
|
+
<< " reading at " << totalBytes
|
|
1224
|
+
<< " requested " << tooManyBytes
|
|
1225
|
+
<< " and file size is " << fileSize;
|
|
1226
|
+
error(os.str(), (err != (ERRTYPE) - 1 ? err : 0));
|
|
1227
|
+
}
|
|
1228
|
+
else
|
|
1229
|
+
{
|
|
1230
|
+
#ifdef _WIN32
|
|
1231
|
+
#ifdef _WIN64
|
|
1232
|
+
LONG low = (LONG)loc;
|
|
1233
|
+
LONG high = (LONG)((loc >> 32) & 0xffffffff);
|
|
1234
|
+
SetFilePointer(_file, low, &high, FILE_BEGIN);
|
|
1235
|
+
#else
|
|
1236
|
+
SetFilePointer(_file, loc, NULL, FILE_BEGIN);
|
|
1237
|
+
#endif
|
|
1238
|
+
#else
|
|
1239
|
+
::lseek(_file, loc, SEEK_SET);
|
|
1240
|
+
#endif
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
|
|
1245
|
+
private:
|
|
1246
|
+
FileType _file;
|
|
1247
|
+
Mutex _fileLock;
|
|
1248
|
+
std::string _fileName;
|
|
1249
|
+
bool _recoveringFile;
|
|
1250
|
+
};
|
|
1251
|
+
|
|
1252
|
+
} // end namespace AMPS
|
|
1253
|
+
|
|
1254
|
+
|
|
1255
|
+
#endif // _LOGGEDBOOKMARKSTORE_H_
|
|
1256
|
+
|