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