qpid-dispatch git commit: DISPATCH-340: Search connection list for interrouter connection.
Repository: qpid-dispatch Updated Branches: refs/heads/master e590e9ed9 -> 8e14e28a4 DISPATCH-340: Search connection list for interrouter connection. Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/8e14e28a Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/8e14e28a Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/8e14e28a Branch: refs/heads/master Commit: 8e14e28a4025a8494048ade09db99e37588faf69 Parents: e590e9e Author: Chuck RolkeAuthored: Tue May 17 17:53:48 2016 -0400 Committer: Chuck Rolke Committed: Tue May 17 17:53:48 2016 -0400 -- tests/system_tests_sasl_plain.py | 24 ++-- 1 file changed, 18 insertions(+), 6 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/8e14e28a/tests/system_tests_sasl_plain.py -- diff --git a/tests/system_tests_sasl_plain.py b/tests/system_tests_sasl_plain.py index 48a2b0a..2565635 100644 --- a/tests/system_tests_sasl_plain.py +++ b/tests/system_tests_sasl_plain.py @@ -368,7 +368,7 @@ class RouterTestVerifyHostNameNo(RouterTestPlainSaslCommon): cls.routers[0].wait_ports() cls.routers[1].wait_ports() -cls.routers[1].wait_connectors(timeout=3) +cls.routers[1].wait_connectors(timeout=10) def test_inter_router_plain_over_ssl_exists(self): """ @@ -376,19 +376,31 @@ class RouterTestVerifyHostNameNo(RouterTestPlainSaslCommon): """ local_node = Node.connect(self.routers[1].addresses[0], timeout=TIMEOUT) -self.assertEqual(3, len(local_node.query(type='org.apache.qpid.dispatch.connection').results)) +results = local_node.query(type='org.apache.qpid.dispatch.connection').results + +self.assertEqual(3, len(results)) + +search = "QDR.X" +found = False + +for N in range(0,3): +if results[N][0] == search: +found = True +break + +self.assertTrue(found, "Connection to %s not found" % search) # sslProto should be TLSv1/SSLv3 -self.assertEqual(u'TLSv1/SSLv3', local_node.query(type='org.apache.qpid.dispatch.connection').results[0][4]) +self.assertEqual(u'TLSv1/SSLv3', results[N][4]) # role should be inter-router -self.assertEqual(u'inter-router', local_node.query(type='org.apache.qpid.dispatch.connection').results[0][9]) +self.assertEqual(u'inter-router', results[N][9]) # sasl must be plain -self.assertEqual(u'PLAIN', local_node.query(type='org.apache.qpid.dispatch.connection').results[0][12]) +self.assertEqual(u'PLAIN', results[N][12]) # user must be t...@domain.com -self.assertEqual(u't...@domain.com', local_node.query(type='org.apache.qpid.dispatch.connection').results[0][16]) +self.assertEqual(u't...@domain.com', results[N][16]) if __name__ == '__main__': unittest.main(main_module()) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
svn commit: r13668 - in /dev/qpid/dispatch/0.6.0-rc3: ./ qpid-dispatch-0.6.0.tar.gz qpid-dispatch-0.6.0.tar.gz.asc qpid-dispatch-0.6.0.tar.gz.sha1
Author: tross Date: Tue May 17 21:14:50 2016 New Revision: 13668 Log: qpid-dispatch-0.6.0-rc3 Added: dev/qpid/dispatch/0.6.0-rc3/ dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz (with props) dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.asc (with props) dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.sha1 Added: dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz == Binary file - no diff available. Propchange: dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz -- svn:mime-type = application/x-gzip Added: dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.asc == Binary file - no diff available. Propchange: dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.asc -- svn:mime-type = application/pgp-signature Added: dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.sha1 == --- dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.sha1 (added) +++ dev/qpid/dispatch/0.6.0-rc3/qpid-dispatch-0.6.0.tar.gz.sha1 Tue May 17 21:14:50 2016 @@ -0,0 +1 @@ +9ce381523fcddf62d24f0da830f57b9286f7d99f qpid-dispatch-0.6.0.tar.gz - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[qpid-dispatch] Git Push Summary
Repository: qpid-dispatch Updated Tags: refs/tags/0.6.0-rc3 [created] e590e9ed9 - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[1/2] qpid-dispatch git commit: DISPATCH-338 - Default treatment for addresses is "balanced".
Repository: qpid-dispatch Updated Branches: refs/heads/master bab8a2b8c -> e590e9ed9 DISPATCH-338 - Default treatment for addresses is "balanced". Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e9459c17 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e9459c17 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e9459c17 Branch: refs/heads/master Commit: e9459c1765f178e251e929a011ebc2f224d3d1b0 Parents: bab8a2b Author: Ted RossAuthored: Tue May 17 13:49:18 2016 -0400 Committer: Ted Ross Committed: Tue May 17 13:49:18 2016 -0400 -- src/router_core/connections.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e9459c17/src/router_core/connections.c -- diff --git a/src/router_core/connections.c b/src/router_core/connections.c index 229a49b..90dd778 100644 --- a/src/router_core/connections.c +++ b/src/router_core/connections.c @@ -638,7 +638,7 @@ qd_address_treatment_t qdr_treatment_for_address_CT(qdr_core_t *core, qd_field_i if (in_phase) *in_phase = addr ? addr->in_phase : 0; if (out_phase) *out_phase = addr ? addr->out_phase : 0; -return addr ? addr->treatment : QD_TREATMENT_ANYCAST_CLOSEST; +return addr ? addr->treatment : QD_TREATMENT_ANYCAST_BALANCED; } @@ -649,7 +649,7 @@ qd_address_treatment_t qdr_treatment_for_address_hash_CT(qdr_core_t *core, qd_fi char *copy= storage; bool on_heap = false; int length = qd_field_iterator_length(iter); -qd_address_treatment_t trt = QD_TREATMENT_ANYCAST_CLOSEST; +qd_address_treatment_t trt = QD_TREATMENT_ANYCAST_BALANCED; if (length > HASH_STORAGE_SIZE) { copy= (char*) malloc(length + 1); - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[2/2] qpid-dispatch git commit: DISPATCH-155 - From Jakub Scholz and Ganesh Murthy - Allow two connectors to the same host/port.
DISPATCH-155 - From Jakub Scholz and Ganesh Murthy - Allow two connectors to the same host/port. Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e590e9ed Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e590e9ed Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e590e9ed Branch: refs/heads/master Commit: e590e9ed9ffec96ae790518a210ccc4aee9a8b26 Parents: e9459c1 Author: Ted RossAuthored: Tue May 17 16:54:10 2016 -0400 Committer: Ted Ross Committed: Tue May 17 16:54:10 2016 -0400 -- python/qpid_dispatch_internal/management/agent.py | 14 ++ tests/system_test.py | 12 ++-- tests/system_tests_management.py | 2 +- tests/system_tests_qdmanage.py| 11 --- 4 files changed, 25 insertions(+), 14 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e590e9ed/python/qpid_dispatch_internal/management/agent.py -- diff --git a/python/qpid_dispatch_internal/management/agent.py b/python/qpid_dispatch_internal/management/agent.py index e6c664c..77e3416 100644 --- a/python/qpid_dispatch_internal/management/agent.py +++ b/python/qpid_dispatch_internal/management/agent.py @@ -319,11 +319,11 @@ class PolicyStatsEntity(EntityAdapter): return self.attributes.get('applicationName') -def _host_port_identifier(entity): -for attr in ['host', 'port']: # Set default values if need be +def _host_port_name_identifier(entity): +for attr in ['host', 'port', 'name']: # Set default values if need be entity.attributes.setdefault( attr, entity.entity_type.attribute(attr).missing_value()) -return "%s:%s" % (entity.attributes['host'], entity.attributes['port']) +return "%s:%s:%s" % (entity.attributes['host'], entity.attributes['port'], entity.attributes['name']) class ListenerEntity(EntityAdapter): @@ -333,7 +333,7 @@ class ListenerEntity(EntityAdapter): return config_listener def _identifier(self): -return _host_port_identifier(self) +return _host_port_name_identifier(self) def __str__(self): return super(ListenerEntity, self).__str__().replace("Entity(", "ListenerEntity(") @@ -341,8 +341,6 @@ class ListenerEntity(EntityAdapter): def _delete(self): self._qd.qd_connection_manager_delete_listener(self._dispatch, self._implementations[0].key) -def _identifier(self): return _host_port_identifier(self) - class ConnectorEntity(EntityAdapter): def create(self): config_connector = self._qd.qd_dispatch_configure_connector(self._dispatch, self) @@ -353,7 +351,7 @@ class ConnectorEntity(EntityAdapter): self._qd.qd_connection_manager_delete_connector(self._dispatch, self._implementations[0].key) def _identifier(self): -return _host_port_identifier(self) +return _host_port_name_identifier(self) def __str__(self): return super(ConnectorEntity, self).__str__().replace("Entity(", "ConnectorEntity(") @@ -469,7 +467,7 @@ class RouterAddressEntity(EntityAdapter): class ConnectionEntity(EntityAdapter): def _identifier(self): -return self.attributes.get('host') +return self.attributes.get('host') + ":" + str(self.attributes.get('identity')) def __str__(self): return super(ConnectionEntity, self).__str__().replace("Entity(", "ConnectionEntity(") http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e590e9ed/tests/system_test.py -- diff --git a/tests/system_test.py b/tests/system_test.py index f97b2bc..f4d070f 100755 --- a/tests/system_test.py +++ b/tests/system_test.py @@ -437,10 +437,18 @@ class Qdrouterd(Process): return address_list def is_connected(self, port, host='127.0.0.1'): -"""If router has a connection to host:port return the management info. +"""If router has a connection to host:port:identity return the management info. Otherwise return None""" try: -return self.management.read(name="connection/%s:%s" % (host, port)) +ret_val = False +response = self.management.query(type="org.apache.qpid.dispatch.connection") +index_name = response.attribute_names.index('name') +index_identity = response.attribute_names.index('identity') +for result in response.results: +outs = 'connection/%s:%s:%s' % (host, port, str(result[index_identity])) +if result[index_name] == outs: +ret_val = True +return ret_val
[2/3] qpid-proton git commit: PROTON-1203: Change header files include usage: - In exported headers always use #include "" and relative paths to other proton-cpp include files - In exported headers al
PROTON-1203: Change header files include usage: - In exported headers always use #include "" and relative paths to other proton-cpp include files - In exported headers always use #include <> for proton-c includes - Only use #include "" for proton cpp files from within cpp implementation - Always use #include <> for proton-c header files within cpp implementation - Make all examples use #include <> for proton cpp includes - Move the exported header files config.hpp and export.hpp to internal - Don't include config.hpp directly in examples as it is an internal header file - Reinstate a more compatible version of fake_cpp11.hpp Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1a9470a2 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1a9470a2 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1a9470a2 Branch: refs/heads/master Commit: 1a9470a2783e157986a50d1dded1e91f6bac87d3 Parents: 631255c Author: Andrew StitcherAuthored: Tue May 17 15:47:20 2016 -0400 Committer: Andrew Stitcher Committed: Tue May 17 16:42:21 2016 -0400 -- examples/cpp/broker.cpp | 47 +-- examples/cpp/broker.hpp | 46 +-- examples/cpp/client.cpp | 20 ++--- examples/cpp/connection_options.cpp | 18 ++--- examples/cpp/direct_recv.cpp| 18 ++--- examples/cpp/direct_send.cpp| 20 ++--- examples/cpp/fake_cpp11.hpp | 34 examples/cpp/flow_control.cpp | 34 examples/cpp/helloworld.cpp | 22 ++--- examples/cpp/helloworld_direct.cpp | 22 ++--- examples/cpp/mt/broker.cpp | 22 ++--- examples/cpp/mt/epoll_container.cpp | 20 ++--- examples/cpp/queue_browser.cpp | 20 ++--- examples/cpp/selected_recv.cpp | 18 ++--- examples/cpp/server.cpp | 16 ++-- examples/cpp/server_direct.cpp | 18 ++--- examples/cpp/simple_recv.cpp| 20 ++--- examples/cpp/simple_send.cpp| 20 ++--- examples/cpp/ssl.cpp| 28 +++ examples/cpp/ssl_client_cert.cpp| 30 +++ .../cpp/include/proton/annotation_key.hpp | 4 +- proton-c/bindings/cpp/include/proton/binary.hpp | 4 +- .../bindings/cpp/include/proton/byte_array.hpp | 6 +- .../bindings/cpp/include/proton/codec/data.hpp | 6 +- .../cpp/include/proton/codec/decoder.hpp| 6 +- .../bindings/cpp/include/proton/codec/deque.hpp | 4 +- .../cpp/include/proton/codec/encoder.hpp| 6 +- .../cpp/include/proton/codec/forward_list.hpp | 4 +- .../bindings/cpp/include/proton/codec/list.hpp | 4 +- .../bindings/cpp/include/proton/codec/map.hpp | 4 +- .../cpp/include/proton/codec/unordered_map.hpp | 4 +- .../cpp/include/proton/codec/vector.hpp | 4 +- proton-c/bindings/cpp/include/proton/config.hpp | 84 .../bindings/cpp/include/proton/connection.hpp | 10 +-- .../cpp/include/proton/connection_options.hpp | 12 +-- .../bindings/cpp/include/proton/container.hpp | 10 +-- .../bindings/cpp/include/proton/decimal.hpp | 8 +- .../cpp/include/proton/default_container.hpp| 2 +- .../bindings/cpp/include/proton/delivery.hpp| 10 +-- .../bindings/cpp/include/proton/duration.hpp| 6 +- .../bindings/cpp/include/proton/endpoint.hpp| 8 +- proton-c/bindings/cpp/include/proton/error.hpp | 6 +- .../cpp/include/proton/error_condition.hpp | 6 +- .../bindings/cpp/include/proton/event_loop.hpp | 2 +- proton-c/bindings/cpp/include/proton/export.hpp | 57 - .../cpp/include/proton/internal/config.hpp | 84 .../cpp/include/proton/internal/export.hpp | 57 + .../cpp/include/proton/internal/object.hpp | 6 +- .../include/proton/internal/pn_unique_ptr.hpp | 2 +- .../cpp/include/proton/internal/scalar_base.hpp | 22 ++--- .../cpp/include/proton/internal/type_traits.hpp | 6 +- .../cpp/include/proton/io/connection_engine.hpp | 18 ++--- .../include/proton/io/container_impl_base.hpp | 4 +- proton-c/bindings/cpp/include/proton/link.hpp | 20 ++--- .../bindings/cpp/include/proton/listener.hpp| 2 +- .../bindings/cpp/include/proton/message.hpp | 14 ++-- .../bindings/cpp/include/proton/message_id.hpp | 6 +- .../cpp/include/proton/messaging_handler.hpp| 4 +- .../bindings/cpp/include/proton/receiver.hpp| 9 ++- .../cpp/include/proton/receiver_options.hpp | 12 +-- .../cpp/include/proton/reconnect_timer.hpp | 8 +- proton-c/bindings/cpp/include/proton/sasl.hpp | 8 +-
[3/3] qpid-proton git commit: Merge branch 'inclusion_fixes'
Merge branch 'inclusion_fixes' Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/fb5c5d92 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/fb5c5d92 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/fb5c5d92 Branch: refs/heads/master Commit: fb5c5d92041862f67c1e2e2443210f0c52ab1a50 Parents: 6b05d01 1a9470a Author: Andrew StitcherAuthored: Tue May 17 16:53:00 2016 -0400 Committer: Andrew Stitcher Committed: Tue May 17 16:53:00 2016 -0400 -- examples/cpp/broker.cpp | 47 +-- examples/cpp/broker.hpp | 46 +-- examples/cpp/client.cpp | 20 ++--- examples/cpp/connection_options.cpp | 18 ++--- examples/cpp/direct_recv.cpp| 18 ++--- examples/cpp/direct_send.cpp| 20 ++--- examples/cpp/fake_cpp11.hpp | 34 examples/cpp/flow_control.cpp | 34 examples/cpp/helloworld.cpp | 22 ++--- examples/cpp/helloworld_direct.cpp | 22 ++--- examples/cpp/mt/broker.cpp | 22 ++--- examples/cpp/mt/epoll_container.cpp | 20 ++--- examples/cpp/queue_browser.cpp | 20 ++--- examples/cpp/selected_recv.cpp | 18 ++--- examples/cpp/server.cpp | 16 ++-- examples/cpp/server_direct.cpp | 18 ++--- examples/cpp/simple_recv.cpp| 20 ++--- examples/cpp/simple_send.cpp| 20 ++--- examples/cpp/ssl.cpp| 28 +++ examples/cpp/ssl_client_cert.cpp| 30 +++ .../cpp/include/proton/annotation_key.hpp | 4 +- proton-c/bindings/cpp/include/proton/binary.hpp | 4 +- .../bindings/cpp/include/proton/byte_array.hpp | 6 +- .../bindings/cpp/include/proton/codec/data.hpp | 6 +- .../cpp/include/proton/codec/decoder.hpp| 6 +- .../bindings/cpp/include/proton/codec/deque.hpp | 4 +- .../cpp/include/proton/codec/encoder.hpp| 6 +- .../cpp/include/proton/codec/forward_list.hpp | 4 +- .../bindings/cpp/include/proton/codec/list.hpp | 4 +- .../bindings/cpp/include/proton/codec/map.hpp | 4 +- .../cpp/include/proton/codec/unordered_map.hpp | 4 +- .../cpp/include/proton/codec/vector.hpp | 4 +- proton-c/bindings/cpp/include/proton/config.hpp | 84 .../bindings/cpp/include/proton/connection.hpp | 10 +-- .../cpp/include/proton/connection_options.hpp | 12 +-- .../bindings/cpp/include/proton/container.hpp | 10 +-- .../bindings/cpp/include/proton/decimal.hpp | 8 +- .../cpp/include/proton/default_container.hpp| 2 +- .../bindings/cpp/include/proton/delivery.hpp| 10 +-- .../bindings/cpp/include/proton/duration.hpp| 6 +- .../bindings/cpp/include/proton/endpoint.hpp| 8 +- proton-c/bindings/cpp/include/proton/error.hpp | 6 +- .../cpp/include/proton/error_condition.hpp | 6 +- .../bindings/cpp/include/proton/event_loop.hpp | 2 +- proton-c/bindings/cpp/include/proton/export.hpp | 57 - .../cpp/include/proton/internal/config.hpp | 84 .../cpp/include/proton/internal/export.hpp | 57 + .../cpp/include/proton/internal/object.hpp | 6 +- .../include/proton/internal/pn_unique_ptr.hpp | 2 +- .../cpp/include/proton/internal/scalar_base.hpp | 22 ++--- .../cpp/include/proton/internal/type_traits.hpp | 6 +- .../cpp/include/proton/io/connection_engine.hpp | 18 ++--- .../include/proton/io/container_impl_base.hpp | 4 +- proton-c/bindings/cpp/include/proton/link.hpp | 20 ++--- .../bindings/cpp/include/proton/listener.hpp| 2 +- .../bindings/cpp/include/proton/message.hpp | 14 ++-- .../bindings/cpp/include/proton/message_id.hpp | 6 +- .../cpp/include/proton/messaging_handler.hpp| 4 +- .../bindings/cpp/include/proton/receiver.hpp| 9 ++- .../cpp/include/proton/receiver_options.hpp | 12 +-- .../cpp/include/proton/reconnect_timer.hpp | 8 +- proton-c/bindings/cpp/include/proton/sasl.hpp | 8 +- proton-c/bindings/cpp/include/proton/scalar.hpp | 2 +- proton-c/bindings/cpp/include/proton/sender.hpp | 10 +-- .../cpp/include/proton/sender_options.hpp | 12 +-- .../bindings/cpp/include/proton/session.hpp | 16 ++-- .../cpp/include/proton/session_options.hpp | 8 +- proton-c/bindings/cpp/include/proton/source.hpp | 10 +-- .../cpp/include/proton/source_options.hpp | 12 +-- proton-c/bindings/cpp/include/proton/ssl.hpp| 6 +- proton-c/bindings/cpp/include/proton/target.hpp | 8 +- .../cpp/include/proton/target_options.hpp | 14 ++-- proton-c/bindings/cpp/include/proton/task.hpp | 6 +-
[1/3] qpid-proton git commit: PROTON-1203: Change header files include usage: - In exported headers always use #include "" and relative paths to other proton-cpp include files - In exported headers al
Repository: qpid-proton Updated Branches: refs/heads/master 6b05d0107 -> fb5c5d920 http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/io/container_impl_base.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/io/container_impl_base.hpp b/proton-c/bindings/cpp/include/proton/io/container_impl_base.hpp index 858102e..313e675 100644 --- a/proton-c/bindings/cpp/include/proton/io/container_impl_base.hpp +++ b/proton-c/bindings/cpp/include/proton/io/container_impl_base.hpp @@ -22,8 +22,8 @@ * */ -#include "proton/io/link_namer.hpp" -#include "proton/container.hpp" +#include "./link_namer.hpp" +#include "../container.hpp" #include #include http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/link.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/link.hpp b/proton-c/bindings/cpp/include/proton/link.hpp index 6eca93e..a9fb336 100644 --- a/proton-c/bindings/cpp/include/proton/link.hpp +++ b/proton-c/bindings/cpp/include/proton/link.hpp @@ -22,16 +22,16 @@ * */ -#include "proton/endpoint.hpp" -#include "proton/export.hpp" -#include "proton/message.hpp" -#include "proton/source.hpp" -#include "proton/target.hpp" -#include "proton/internal/object.hpp" -#include "proton/sender_options.hpp" -#include "proton/receiver_options.hpp" - -#include "proton/types.h" +#include "./endpoint.hpp" +#include "./internal/export.hpp" +#include "./message.hpp" +#include "./source.hpp" +#include "./target.hpp" +#include "./internal/object.hpp" +#include "./sender_options.hpp" +#include "./receiver_options.hpp" + +#include #include http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/listener.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/listener.hpp b/proton-c/bindings/cpp/include/proton/listener.hpp index 0cdd7a5..2cdf121 100644 --- a/proton-c/bindings/cpp/include/proton/listener.hpp +++ b/proton-c/bindings/cpp/include/proton/listener.hpp @@ -20,7 +20,7 @@ * under the License. */ -#include "proton/export.hpp" +#include "./internal/export.hpp" #include http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/message.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/message.hpp b/proton-c/bindings/cpp/include/proton/message.hpp index a6bc215..754b39f 100644 --- a/proton-c/bindings/cpp/include/proton/message.hpp +++ b/proton-c/bindings/cpp/include/proton/message.hpp @@ -22,13 +22,13 @@ * */ -#include "proton/annotation_key.hpp" -#include "proton/codec/map.hpp" -#include "proton/duration.hpp" -#include "proton/export.hpp" -#include "proton/message_id.hpp" -#include "proton/internal/pn_unique_ptr.hpp" -#include "proton/value.hpp" +#include "./annotation_key.hpp" +#include "./codec/map.hpp" +#include "./duration.hpp" +#include "./internal/export.hpp" +#include "./message_id.hpp" +#include "./internal/pn_unique_ptr.hpp" +#include "./value.hpp" #include #include http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/message_id.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/message_id.hpp b/proton-c/bindings/cpp/include/proton/message_id.hpp index 59b6f75..a37198e 100644 --- a/proton-c/bindings/cpp/include/proton/message_id.hpp +++ b/proton-c/bindings/cpp/include/proton/message_id.hpp @@ -22,9 +22,9 @@ * */ -#include "proton/binary.hpp" -#include "proton/internal/scalar_base.hpp" -#include "proton/uuid.hpp" +#include "./binary.hpp" +#include "./internal/scalar_base.hpp" +#include "./uuid.hpp" #include http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/messaging_handler.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/messaging_handler.hpp b/proton-c/bindings/cpp/include/proton/messaging_handler.hpp index b6e4b12..04f7c11 100644 --- a/proton-c/bindings/cpp/include/proton/messaging_handler.hpp +++ b/proton-c/bindings/cpp/include/proton/messaging_handler.hpp @@ -22,8 +22,8 @@ * */ -#include "proton/export.hpp" -#include "proton/internal/pn_unique_ptr.hpp" +#include "./internal/export.hpp" +#include "./internal/pn_unique_ptr.hpp" namespace proton { http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1a9470a2/proton-c/bindings/cpp/include/proton/receiver.hpp -- diff --git a/proton-c/bindings/cpp/include/proton/receiver.hpp
qpid-proton git commit: PROTON-1202: python setup.py - only extract the files necessary for building the C library.
Repository: qpid-proton Updated Branches: refs/heads/master 631255c6c -> 6b05d0107 PROTON-1202: python setup.py - only extract the files necessary for building the C library. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6b05d010 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/6b05d010 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/6b05d010 Branch: refs/heads/master Commit: 6b05d0107c6c70152769c43a97a347df30b92572 Parents: 631255c Author: Ken GiustiAuthored: Tue May 17 13:36:23 2016 -0400 Committer: Ken Giusti Committed: Tue May 17 15:58:55 2016 -0400 -- proton-c/bindings/python/setuputils/bundle.py | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6b05d010/proton-c/bindings/python/setuputils/bundle.py -- diff --git a/proton-c/bindings/python/setuputils/bundle.py b/proton-c/bindings/python/setuputils/bundle.py index 0e31e55..81914b1 100644 --- a/proton-c/bindings/python/setuputils/bundle.py +++ b/proton-c/bindings/python/setuputils/bundle.py @@ -69,6 +69,14 @@ def fetch_archive(savedir, url, fname): def fetch_libqpid_proton(savedir): """Download qpid-proton to `savedir`.""" +def _c_only(members): +# just extract the files necessary to build the shared library +for tarinfo in members: +npath = os.path.normpath(tarinfo.name) +if ("proton-c/src" in npath or +"proton-c/include" in npath or +"proton-c/mllib" in npath): +yield tarinfo dest = os.path.join(savedir, 'qpid-proton') if os.path.exists(dest): log.info("already have %s" % dest) @@ -79,6 +87,6 @@ def fetch_libqpid_proton(savedir): if member == '.': member = tf.getmembers()[1].path with_version = os.path.join(savedir, member) -tf.extractall(savedir) +tf.extractall(savedir, members=_c_only(tf)) tf.close() shutil.move(with_version, dest) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[2/2] qpid-proton git commit: NO-JIRA: if get error with no description, use the name for clarity
NO-JIRA: if get error with no description, use the name for clarity Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1d575114 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1d575114 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/1d575114 Branch: refs/heads/master Commit: 1d575114bb9a9cb572ec25d39ece170b0eaeae8a Parents: 7beab44 Author: Gordon SimAuthored: Tue May 17 18:44:03 2016 +0100 Committer: Gordon Sim Committed: Tue May 17 18:44:54 2016 +0100 -- proton-c/bindings/python/proton/handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/1d575114/proton-c/bindings/python/proton/handlers.py -- diff --git a/proton-c/bindings/python/proton/handlers.py b/proton-c/bindings/python/proton/handlers.py index a1cf836..a689e65 100644 --- a/proton-c/bindings/python/proton/handlers.py +++ b/proton-c/bindings/python/proton/handlers.py @@ -231,7 +231,7 @@ class EndpointStateHandler(Handler): @classmethod def print_error(cls, endpoint, endpoint_type): if endpoint.remote_condition: -logging.error(endpoint.remote_condition.description) +logging.error(endpoint.remote_condition.description or endpoint.remote_condition.name) elif cls.is_local_open(endpoint) and cls.is_remote_closed(endpoint): logging.error("%s closed by peer" % endpoint_type) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
[1/2] qpid-proton git commit: PROTON-1061: update expected textual output for the __repr__ defs for different types
Repository: qpid-proton Updated Branches: refs/heads/master 7beab449c -> 631255c6c PROTON-1061: update expected textual output for the __repr__ defs for different types Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/631255c6 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/631255c6 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/631255c6 Branch: refs/heads/master Commit: 631255c6c677375bc5c1f9ccd238c88bc6a76646 Parents: 1d57511 Author: Gordon SimAuthored: Tue May 17 18:44:45 2016 +0100 Committer: Gordon Sim Committed: Tue May 17 18:44:54 2016 +0100 -- examples/python/test_examples.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/631255c6/examples/python/test_examples.py -- diff --git a/examples/python/test_examples.py b/examples/python/test_examples.py index 3d97b97..7ecde61 100644 --- a/examples/python/test_examples.py +++ b/examples/python/test_examples.py @@ -56,7 +56,7 @@ class ExamplesTest(unittest.TestCase): s.wait() r.wait() actual = [l.strip() for l in r.stdout] -expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] +expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) def test_client_server(self, client=['client.py'], server=['server.py'], sleep=0): @@ -135,7 +135,7 @@ class ExamplesTest(unittest.TestCase): s.wait() r.wait() actual = [l.strip() for l in r.stdout] -expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] +expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) def test_direct_send_simple_recv(self): @@ -147,5 +147,5 @@ class ExamplesTest(unittest.TestCase): r.wait() s.wait() actual = [l.strip() for l in r.stdout] -expected = ["{%s'sequence': %i}" % (_unicode_prefix, (i+1)) for i in range(100)] +expected = ["{%s'sequence': int32(%i)}" % (_unicode_prefix, (i+1)) for i in range(100)] self.assertEqual(actual, expected) - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-site git commit: NO-JIRA: Fix generation errors in dispatch-0.5 release.
Repository: qpid-site Updated Branches: refs/heads/asf-site 5911c9cf8 -> 885fb7e3c NO-JIRA: Fix generation errors in dispatch-0.5 release. Site generator dropped or truncated default values in some man pages, noticed in man/qdmanage.html Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/885fb7e3 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/885fb7e3 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/885fb7e3 Branch: refs/heads/asf-site Commit: 885fb7e3c61b0124cc5c0042b8ef2900ce83af1a Parents: 5911c9c Author: Alan ConwayAuthored: Tue May 17 10:26:31 2016 -0400 Committer: Alan Conway Committed: Tue May 17 10:29:10 2016 -0400 -- .../qpid-dispatch-0.5/book/addressing.html | 1 - .../qpid-dispatch-0.5/book/amqp-mapping.html| 1 - .../qpid-dispatch-0.5/book/basic_usage.html | 63 +++- .../releases/qpid-dispatch-0.5/book/book.html | 1 - .../book/client_compatibility.html | 1 - .../qpid-dispatch-0.5/book/default_config.html | 1 - .../qpid-dispatch-0.5/book/introduction.html| 1 - .../qpid-dispatch-0.5/book/link_routing.html| 21 --- .../releases/qpid-dispatch-0.5/book/schema.html | 1 - .../book/technical_details.html | 1 - .../releases/qpid-dispatch-0.5/book/tools.html | 13 ++-- .../releases/qpid-dispatch-0.5/book/using.html | 1 - content/releases/qpid-dispatch-0.5/index.html | 42 + .../qpid-dispatch-0.5/man/qdmanage.html | 24 .../qpid-dispatch-0.5/man/qdrouterd.conf.html | 11 ++-- .../qpid-dispatch-0.5/man/qdrouterd.html| 1 - .../releases/qpid-dispatch-0.5/man/qdstat.html | 3 +- .../qpid-dispatch-0.5/release-notes.html| 4 +- .../qpid-dispatch-0.5/book/addressing.html.in | 1 - .../qpid-dispatch-0.5/book/amqp-mapping.html.in | 1 - .../qpid-dispatch-0.5/book/basic_usage.html.in | 63 +++- .../qpid-dispatch-0.5/book/book.html.in | 1 - .../book/client_compatibility.html.in | 1 - .../book/default_config.html.in | 1 - .../qpid-dispatch-0.5/book/introduction.html.in | 1 - .../qpid-dispatch-0.5/book/link_routing.html.in | 21 --- .../qpid-dispatch-0.5/book/schema.html.in | 1 - .../book/technical_details.html.in | 1 - .../qpid-dispatch-0.5/book/tools.html.in| 13 ++-- .../qpid-dispatch-0.5/book/using.html.in| 1 - input/releases/qpid-dispatch-0.5/index.md | 50 .../qpid-dispatch-0.5/man/qdmanage.html.in | 24 .../man/qdrouterd.conf.html.in | 11 ++-- .../qpid-dispatch-0.5/man/qdrouterd.html.in | 1 - .../qpid-dispatch-0.5/man/qdstat.html.in| 3 +- .../releases/qpid-dispatch-0.5/release-notes.md | 4 +- scripts/gen-dispatch-release-books | 1 + 37 files changed, 197 insertions(+), 194 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/885fb7e3/content/releases/qpid-dispatch-0.5/book/addressing.html -- diff --git a/content/releases/qpid-dispatch-0.5/book/addressing.html b/content/releases/qpid-dispatch-0.5/book/addressing.html index 87b3a3f..c78584a 100644 --- a/content/releases/qpid-dispatch-0.5/book/addressing.html +++ b/content/releases/qpid-dispatch-0.5/book/addressing.html @@ -115,7 +115,6 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> - 3.2. Addressing. http://git-wip-us.apache.org/repos/asf/qpid-site/blob/885fb7e3/content/releases/qpid-dispatch-0.5/book/amqp-mapping.html -- diff --git a/content/releases/qpid-dispatch-0.5/book/amqp-mapping.html b/content/releases/qpid-dispatch-0.5/book/amqp-mapping.html index 8a6..a39a371 100644 --- a/content/releases/qpid-dispatch-0.5/book/amqp-mapping.html +++ b/content/releases/qpid-dispatch-0.5/book/amqp-mapping.html @@ -115,7 +115,6 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/> - 3.3. AMQP Mapping. http://git-wip-us.apache.org/repos/asf/qpid-site/blob/885fb7e3/content/releases/qpid-dispatch-0.5/book/basic_usage.html -- diff --git a/content/releases/qpid-dispatch-0.5/book/basic_usage.html b/content/releases/qpid-dispatch-0.5/book/basic_usage.html index 141a57c..4827040 100644 --- a/content/releases/qpid-dispatch-0.5/book/basic_usage.html +++ b/content/releases/qpid-dispatch-0.5/book/basic_usage.html @@ -115,7 +115,6 @@ https://github.com/apache/qpid-proton/blob/go1{/dir}/{file}#L{line}"/>
svn commit: r1744276 - /qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java
Author: rgodfrey Date: Tue May 17 14:13:00 2016 New Revision: 1744276 URL: http://svn.apache.org/viewvc?rev=1744276=rev Log: QPID-7269 : Do not issue a disposition update from a sending link when the peer has already settled the disposition Modified: qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java Modified: qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java?rev=1744276=1744275=1744276=diff == --- qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java (original) +++ qpid/java/trunk/broker-plugins/amqp-1-0-protocol/src/main/java/org/apache/qpid/server/protocol/v1_0/ConsumerTarget_1_0.java Tue May 17 14:13:00 2016 @@ -395,8 +395,14 @@ class ConsumerTarget_1_0 extends Abstrac { public void postCommit() { -//_link.getEndpoint().settle(_deliveryTag); - _link.getEndpoint().updateDisposition(_deliveryTag, (DeliveryState)outcome, true); +if(Boolean.TRUE.equals(settled)) +{ +_link.getEndpoint().settle(_deliveryTag); +} +else +{ + _link.getEndpoint().updateDisposition(_deliveryTag, (DeliveryState) outcome, true); +} _link.getEndpoint().sendFlowConditional(); } - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-dispatch git commit: DISPATCH-245 - Fixed latest round of 2 errors reported by coverity
Repository: qpid-dispatch Updated Branches: refs/heads/master 8346bf37b -> bab8a2b8c DISPATCH-245 - Fixed latest round of 2 errors reported by coverity Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/bab8a2b8 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/bab8a2b8 Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/bab8a2b8 Branch: refs/heads/master Commit: bab8a2b8c781c931495dca99e145cb9c3f1cecfe Parents: 8346bf3 Author: Ganesh MurthyAuthored: Tue May 17 10:07:01 2016 -0400 Committer: Ganesh Murthy Committed: Tue May 17 10:07:01 2016 -0400 -- src/connection_manager.c| 5 +++-- src/router_core/forwarder.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/bab8a2b8/src/connection_manager.c -- diff --git a/src/connection_manager.c b/src/connection_manager.c index 459ea7f..e208246 100644 --- a/src/connection_manager.c +++ b/src/connection_manager.c @@ -149,9 +149,10 @@ static qd_error_t load_server_config(qd_dispatch_t *qd, qd_server_config_t *conf config->link_capacity= qd_entity_opt_long(entity, "linkCapacity", 0); CHECK(); config->ssl_enabled = has_attrs(entity, ssl_attributes, ssl_attributes_count); config->link_capacity= qd_entity_opt_long(entity, "linkCapacity", 0); CHECK(); -config->host = qd_entity_opt_string(entity, "host", 0); QD_ERROR_RET(); -if (! config->host) +config->host = qd_entity_opt_string(entity, "host", 0); CHECK(); +if (! config->host) { config->host = qd_entity_opt_string(entity, "addr", 0); CHECK(); +} assert(config->host); // http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/bab8a2b8/src/router_core/forwarder.c -- diff --git a/src/router_core/forwarder.c b/src/router_core/forwarder.c index 35d2f55..4890e78 100644 --- a/src/router_core/forwarder.c +++ b/src/router_core/forwarder.c @@ -538,7 +538,7 @@ int qdr_forward_balanced_CT(qdr_core_t *core, // // If the delivery is unsettled and the link is inter-router, account for the outstanding delivery. // -if (!in_delivery->settled && chosen_link_bit >= 0) { +if (in_delivery && !in_delivery->settled && chosen_link_bit >= 0) { addr->outstanding_deliveries[chosen_link_bit]++; out_delivery->tracking_addr = addr; addr->tracked_deliveries++; - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org
qpid-site git commit: DISPATCH-256: Release content minor updates, fix some generation errors.
Repository: qpid-site Updated Branches: refs/heads/asf-site 627da7248 -> 5911c9cf8 DISPATCH-256: Release content minor updates, fix some generation errors. Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/5911c9cf Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/5911c9cf Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/5911c9cf Branch: refs/heads/asf-site Commit: 5911c9cf8ca77a19031ed185fe3e841c05e7503c Parents: 627da72 Author: Alan ConwayAuthored: Tue May 17 09:49:46 2016 -0400 Committer: Alan Conway Committed: Tue May 17 09:49:46 2016 -0400 -- .../qpid-dispatch-master/book/auto_links.html | 8 +++--- .../book/console_installation.html | 2 +- .../qpid-dispatch-master/book/link_routing.html | 2 +- .../qpid-dispatch-master/book/schema.html | 22 + .../releases/qpid-dispatch-master/index.html| 2 +- .../qpid-dispatch-master/man/qdmanage.html | 8 +++--- .../man/qdrouterd.conf.html | 26 +++- .../qpid-dispatch-master/man/qdstat.html| 2 +- .../book/auto_links.html.in | 8 +++--- .../book/console_installation.html.in | 2 +- .../book/link_routing.html.in | 2 +- .../qpid-dispatch-master/book/schema.html.in| 22 + input/releases/qpid-dispatch-master/index.md| 2 +- .../qpid-dispatch-master/man/qdmanage.html.in | 8 +++--- .../man/qdrouterd.conf.html.in | 26 +++- .../qpid-dispatch-master/man/qdstat.html.in | 2 +- 16 files changed, 98 insertions(+), 46 deletions(-) -- http://git-wip-us.apache.org/repos/asf/qpid-site/blob/5911c9cf/content/releases/qpid-dispatch-master/book/auto_links.html -- diff --git a/content/releases/qpid-dispatch-master/book/auto_links.html b/content/releases/qpid-dispatch-master/book/auto_links.html index 42cd747..fdd7498 100644 --- a/content/releases/qpid-dispatch-master/book/auto_links.html +++ b/content/releases/qpid-dispatch-master/book/auto_links.html @@ -144,7 +144,7 @@ through a pair of queues on a broker: connector { name: broker role: route-container -addr: hostname +host: hostname port: port sasl-mechanisms: ANONYMOUS } @@ -265,7 +265,7 @@ multiple brokers share the message-queueing load. connector { name: broker1 role: route-container -addr: hostname +host: hostname port: port sasl-mechanisms: ANONYMOUS } @@ -273,7 +273,7 @@ multiple brokers share the message-queueing load. connector { name: broker2 role: route-container -addr: hostname +host: hostname port: port sasl-mechanisms: ANONYMOUS } @@ -319,7 +319,7 @@ to the same address. Since configurable entities in the router can also be accessed via the management protocol, we can remotely add a shard to the above example using qdmanage: -qdmanage create --type org.apache.qpid.dispatch.connector addr=host port=port name=broker3 +qdmanage create --type org.apache.qpid.dispatch.connector host=host port=port name=broker3 qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink addr=queue.first dir=in connection=broker3 qdmanage create --type org.apache.qpid.dispatch.router.config.autoLink addr=queue.first dir=out connection=broker3 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/5911c9cf/content/releases/qpid-dispatch-master/book/console_installation.html -- diff --git a/content/releases/qpid-dispatch-master/book/console_installation.html b/content/releases/qpid-dispatch-master/book/console_installation.html index bc13941..ca7d0a1 100644 --- a/content/releases/qpid-dispatch-master/book/console_installation.html +++ b/content/releases/qpid-dispatch-master/book/console_installation.html @@ -135,7 +135,7 @@ To start the protons nodejs proxy: This will start the proxy listening to ws traffic on port 5673 and translating it to tcp on port 5672. One of the routers in the network needs to have a listener configured on port 5672. That listeners role should be normal. For example: listener { - addr: 0.0.0.0 + host: 0.0.0.0 role: normal port: amqp saslMechanisms: ANONYMOUS http://git-wip-us.apache.org/repos/asf/qpid-site/blob/5911c9cf/content/releases/qpid-dispatch-master/book/link_routing.html -- diff --git a/content/releases/qpid-dispatch-master/book/link_routing.html b/content/releases/qpid-dispatch-master/book/link_routing.html index c70d1c8..6f08973 100644 ---
[02/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/search/all_0.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/search/all_0.js b/content/releases/qpid-proton-master/proton/cpp/api/search/all_0.js index 3d809b2..1eb9f2f 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/search/all_0.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/search/all_0.js @@ -1,22 +1,22 @@ var searchData= [ - ['accept',['accept',['../classproton_1_1delivery.html#aadb9f3b844fb4cf98288cd3c60a3af91',1,'proton::delivery::accept()'],['../classproton_1_1io_1_1socket_1_1listener.html#a7b20021c0d5b97c93aec28cc646a9644',1,'proton::io::socket::listener::accept(std::string host, std::string port)'],['../classproton_1_1io_1_1socket_1_1listener.html#a694de5297ecaba02f90f183475de210b',1,'proton::io::socket::listener::accept()']]], - ['accepted',['ACCEPTED',['../classproton_1_1delivery.html#adc6e5733fc3c22f0a7b2914188c49c90a69c37229a15f9a89e188ad210f31c647',1,'proton::delivery']]], - ['acceptor',['acceptor',['../classproton_1_1acceptor.html',1,'proton']]], - ['address',['address',['../classproton_1_1terminus.html#a977efa04715923ca4fa290a6ec90c830',1,'proton::terminus::address() const '],['../classproton_1_1terminus.html#a55bd472073cd9deb89a93a14fbe6afe9',1,'proton::terminus::address(const std::string )']]], + ['accept',['accept',['../classproton_1_1delivery.html#aadb9f3b844fb4cf98288cd3c60a3af91',1,'proton::delivery::accept()'],['../classproton_1_1io_1_1connection__engine.html#a8a5938806dc28d71c3ed5f89cc537ddd',1,'proton::io::connection_engine::accept()']]], + ['active',['active',['../classproton_1_1connection.html#a6fd1dc792a0b98e6530a7383d4ef3074',1,'proton::connection::active()'],['../classproton_1_1endpoint.html#ac6e82b77dfe6fbae3b18e5f14ab7c25b',1,'proton::endpoint::active()'],['../classproton_1_1link.html#a6fd1dc792a0b98e6530a7383d4ef3074',1,'proton::link::active()'],['../classproton_1_1session.html#a6fd1dc792a0b98e6530a7383d4ef3074',1,'proton::session::active()']]], + ['add_5fcredit',['add_credit',['../classproton_1_1receiver.html#a84d3a001340d11201e03c6ed7c763641',1,'proton::receiver']]], + ['address',['address',['../classproton_1_1source.html#a977efa04715923ca4fa290a6ec90c830',1,'proton::source::address()'],['../classproton_1_1source__options.html#a36fa9e64134459cfe70707e0439ba850',1,'proton::source_options::address()'],['../classproton_1_1target.html#a977efa04715923ca4fa290a6ec90c830',1,'proton::target::address()'],['../classproton_1_1target__options.html#a39a0acbf2c7de97e77df483ca9c4c6a9',1,'proton::target_options::address()']]], ['amqp',['AMQP',['../classproton_1_1url.html#af0f2c496befc10e2fc0cf4999a733b4c',1,'proton::url']]], ['amqps',['AMQPS',['../classproton_1_1url.html#a2756fc4457346e3df1cc83fbfac6275b',1,'proton::url']]], ['annotation_5fkey',['annotation_key',['../classproton_1_1annotation__key.html',1,'proton']]], ['annotation_5fkey',['annotation_key',['../classproton_1_1annotation__key.html#a056f77e21066cbf900772853454102a8',1,'proton::annotation_key::annotation_key()'],['../classproton_1_1annotation__key.html#afdd676d37486aa26af7fdd588f994d26',1,'proton::annotation_key::annotation_key(const T x)']]], ['annotation_5fmap',['annotation_map',['../classproton_1_1message.html#a9e6632424a9202af17b1665ccf975377',1,'proton::message']]], ['anonymous_5fpeer',['ANONYMOUS_PEER',['../classproton_1_1ssl.html#abe68233596c90fd29d934854560ff5f3ac0c5cd6b794574267c2ad08f485bd76d',1,'proton::ssl']]], - ['append',['append',['../classproton_1_1codec_1_1data.html#a2063391a2df2e01d257a0deea850258f',1,'proton::codec::data']]], - ['appendn',['appendn',['../classproton_1_1codec_1_1data.html#aa93b3077282a673a1cbb7eed3b08993f',1,'proton::codec::data']]], - ['application_5fproperties',['application_properties',['../classproton_1_1message.html#a44ddc8be3787f1e396789dd0b1b965a9',1,'proton::message']]], ['array',['ARRAY',['../namespaceproton.html#a83c2656d467d69eb49725c18f5aa13a9a1e029fbf0c881b85d80fc8e89b753688',1,'proton']]], ['assert_5ftype_5fequal',['assert_type_equal',['../namespaceproton.html#aa77887032372174b09ee779f5df12056',1,'proton']]], + ['at_5fleast_5fonce',['AT_LEAST_ONCE',['../structproton_1_1delivery__mode.html#a811fe196a5d9d37857c2f8adeeaac3c6a3cf51e9f762513a58768bb63e8ba14c1',1,'proton::delivery_mode']]], + ['at_5fmost_5fonce',['AT_MOST_ONCE',['../structproton_1_1delivery__mode.html#a811fe196a5d9d37857c2f8adeeaac3c6adc975babe0d2bc27916397e614eb6624',1,'proton::delivery_mode']]], ['auth',['AUTH',['../classproton_1_1sasl.html#af47997198e7e7301a1cd8602c7f02acda8b22fbb60fcbd7a4a5e1e6ff6ee38218',1,'proton::sasl']]], - ['auto_5faccept',['auto_accept',['../classproton_1_1link__options.html#a0aec8f881be0dd6148532f4da99c88ab',1,'proton::link_options']]], -
[45/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection__options.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection__options.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection__options.js index d221d86..5632d10 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection__options.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection__options.js @@ -1,18 +1,22 @@ var classproton_1_1connection__options = [ [ "connection_options", "classproton_1_1connection__options.html#a8034b8d17ca30a4cfc3db8c6a898dc4d", null ], +[ "connection_options", "classproton_1_1connection__options.html#a90933e18af82770dfa522b0e3b356f3e", null ], [ "connection_options", "classproton_1_1connection__options.html#aa946cf564c3b226b0172b3b78f59928a", null ], [ "~connection_options", "classproton_1_1connection__options.html#adeab0ac65b8d78eb8a78002f1ecd1138", null ], [ "container_id", "classproton_1_1connection__options.html#a4c6429303ccb719d9c585c88f300e007", null ], -[ "handler", "classproton_1_1connection__options.html#a6c97b43c08a8ca22f136d8281b38aa8a", null ], +[ "handler", "classproton_1_1connection__options.html#a7bca23aeb3455378ef2d35975758e504", null ], [ "idle_timeout", "classproton_1_1connection__options.html#a7c838237bfba8a5a04c2b97e6f023448", null ], -[ "max_channels", "classproton_1_1connection__options.html#ae04e46928f67fef14fc58c501fea1bd8", null ], [ "max_frame_size", "classproton_1_1connection__options.html#ad0e93961fd048b2ee5e8bdac2b041686", null ], +[ "max_sessions", "classproton_1_1connection__options.html#af66706fdb4a2f3f4d9943be9ee4b1347", null ], [ "operator=", "classproton_1_1connection__options.html#a2c612e142b60cf61ce50d88582465167", null ], [ "sasl_allow_insecure_mechs", "classproton_1_1connection__options.html#afbabea03db40dee25da7bbdc7e918322", null ], [ "sasl_allowed_mechs", "classproton_1_1connection__options.html#a52f0724b86920647ef8624922aa54ab6", null ], [ "sasl_config_name", "classproton_1_1connection__options.html#ad8e93a44cab5e65949046fb036c237a6", null ], +[ "sasl_config_path", "classproton_1_1connection__options.html#a0fc40d55673b5c89e4b5a13c630edca5", null ], [ "sasl_enabled", "classproton_1_1connection__options.html#aedcd8a70f24d08ab0bb6178524ae6a0d", null ], [ "ssl_client_options", "classproton_1_1connection__options.html#a4eb280b5a62adb5b2075d6316a590c70", null ], -[ "ssl_server_options", "classproton_1_1connection__options.html#a5ce3c4591be545f5ae67f22ef64fb9ef", null ] +[ "ssl_server_options", "classproton_1_1connection__options.html#a5ce3c4591be545f5ae67f22ef64fb9ef", null ], +[ "update", "classproton_1_1connection__options.html#a68a8c198dfa16653afc4a70a2b845604", null ], +[ "virtual_host", "classproton_1_1connection__options.html#a0300a2a68ecca3f684e91e637a45e028", null ] ]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1container-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1container-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1container-members.html index 55b6494..d682a0c 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1container-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1container-members.html @@ -96,18 +96,30 @@ $(document).ready(function(){initNavTree('classproton_1_1container.html','');}); This is the complete list of members for container, including all inherited members. - client_connection_options(const connection_options )container - connect(const proton::url , const connection_options opts=connection_options())container - container(const std::string id=std::string())container - container(handler mhandler, const std::string id=std::string())container - id() const container - link_options(const link_options )container - listen(const proton::url , const connection_options opts=connection_options())container - open_receiver(const url , const proton::link_options l=proton::link_options(), const connection_options c=connection_options())container - open_sender(const proton::url , const proton::link_options l=proton::link_options(), const connection_options c=connection_options())container - run()container - server_connection_options(const connection_options )container - ~container() (defined in container)container + auto_stop(bool)=0containerpure virtual +
[19/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/endpoint_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/endpoint_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/endpoint_8hpp_source.html index 2e6587a..6c27aab 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/endpoint_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/endpoint_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('endpoint_8hpp_source.html','');}); endpoint.hpp -1#ifndef PROTON_CPP_ENDPOINT_H - 2#define PROTON_CPP_ENDPOINT_H +1#ifndef PROTON_ENDPOINT_HPP + 2#define PROTON_ENDPOINT_HPP 3 4/* 5 * @@ -116,92 +116,84 @@ $(document).ready(function(){initNavTree('endpoint_8hpp_source.html','');}); 21 * under the License. 22 * 23 */ - 24#include proton/config.hpp - 25#include proton/export.hpp - 26#include proton/condition.hpp - 27#include proton/comparable.hpp - 28 - 29namespace proton { - 30 - 32class - 33PN_CPP_CLASS_EXTERN endpoint { - 34 public: - 35 PN_CPP_EXTERN virtual ~endpoint(); - 36 - 46typedef int state; - 47 - 48 // XXX use an enum instead to handle name collision - 49 - 50PN_CPP_EXTERN static const state LOCAL_UNINIT; - 51PN_CPP_EXTERN static const state REMOTE_UNINIT; - 52PN_CPP_EXTERN static const state LOCAL_ACTIVE; - 53PN_CPP_EXTERN static const state REMOTE_ACTIVE; - 54PN_CPP_EXTERN static const state LOCAL_CLOSED; - 55PN_CPP_EXTERN static const state REMOTE_CLOSED; - 56PN_CPP_EXTERN static const state LOCAL_MASK; - 57PN_CPP_EXTERN static const state REMOTE_MASK; + 24 + 25#include proton/config.hpp + 26#include proton/error_condition.hpp + 27#include proton/export.hpp + 28#include proton/internal/comparable.hpp + 29 + 30namespace proton { + 31 + 33class + 34PN_CPP_CLASS_EXTERN endpoint { + 35 public: + 36 PN_CPP_EXTERN virtual ~endpoint(); + 37 + 38 // XXX Add the container accessor here. + 39 + 41 virtual bool uninitialized() const = 0; + 42 + 44 virtual bool active() const = 0; + 45 + 47 virtual bool closed() const = 0; + 48 + 50 virtual class error_condition error() const = 0; + 51 + 52 // XXX Add virtual open() and open(endpoint_options) + 53 + 57 virtual void close() = 0; 58 - 60 - 62 virtual condition local_condition() const = 0; + 62 virtual void close(const error_condition) = 0; 63 - 65 virtual condition remote_condition() const = 0; - 66 - 67#if PN_CPP_HAS_CPP11 - 68 // Make everything explicit for C++11 compilers - 69 endpoint() = default; - 70 endpoint operator=(const endpoint) = default; - 71 endpoint operator=(endpoint) = default; - 72 - 73 endpoint(const endpoint) = default; - 74 endpoint(endpoint) = default; - 75#endif - 76}; + 64#if PN_CPP_HAS_DEFAULTED_FUNCTIONS + 65 // Make everything explicit for C++11 compilers + 66 + 67 endpoint() = default; + 68 endpoint operator=(const endpoint) = default; + 69 endpoint operator=(endpoint) = default; + 70 + 71 endpoint(const endpoint) = default; + 72 endpoint(endpoint) = default; + 73#endif + 74}; + 75 + 76namespace internal { 77 - 79namespace internal { - 80 - 81template class T, class D class iter_base { - 82 public: - 83 typedef T value_type; - 84 - 85 T operator*() const { return obj_; } - 86 T* operator-() const { return const_castT*(obj_); } - 87 D operator++(int) { D x(*this); ++(*this); return x; } - 88 bool operator==(const iter_baseT, D x) const { return obj_ == x.obj_; } - 89 bool operator!=(const iter_baseT, D x) const { return obj_ != x.obj_; } - 91 protected: - 92 explicit iter_base(T p = 0) : obj_(p) {} - 93 T obj_; - 94}; - 95 - 96templateclass I class iter_range { - 97 public: - 98 typedef I iterator; - 99 - 100 explicit iter_range(I begin = I(), I end = I()) : begin_(begin), end_(end) {} - 101 I begin() const { return begin_; } - 102 I end() const { return end_; } - 103 bool empty() const { return begin_ == end_; } - 104 private: - 105 I begin_, end_; - 106}; - 107 - 108} // namespace internal - 110 - 111} // namespace proton - 112 - 113#endif // PROTON_CPP_H -proton::endpoint::LOCAL_MASKstatic const state LOCAL_MASKMask including all LOCAL_ bits (UNINIT, ACTIVE, CLOSED) Definition: endpoint.hpp:56 -proton::endpointThe base class for session, connection, and link. Definition:
[46/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection-members.html index c70d5e8..40f5fff 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection-members.html @@ -96,30 +96,32 @@ $(document).ready(function(){initNavTree('classproton_1_1connection.html','');}) This is the complete list of members for connection, including all inherited members. - close()connection - connection() (defined in connection)connectioninline - container() const connection - container_id() const connection - default_session()connection - host() const connection - links() const connection - LOCAL_ACTIVEendpointstatic - LOCAL_CLOSEDendpointstatic - local_condition() const connectionvirtual - LOCAL_MASKendpointstatic - LOCAL_UNINITendpointstatic - open_receiver(const std::string addr, const link_options opts=link_options())connection - open_sender(const std::string addr, const link_options opts=link_options())connection + active() const connectionvirtual + close()connectionvirtual + close(const error_condition )connectionvirtual + closed() const connectionvirtual + connection()connectioninline + container() const connection + container_id() const connection + default_session()connection + error() const connectionvirtual + idle_timeout() const connection + max_frame_size() const connection + max_sessions() const connection + open()connection + open(const connection_options )connection + open_receiver(const std::string addr)connection + open_receiver(const std::string addr, const receiver_options )connection + open_sender(const std::string addr)connection + open_sender(const std::string addr, const sender_options )connection open_session()connection - REMOTE_ACTIVEendpointstatic - REMOTE_CLOSEDendpointstatic - remote_condition() const connectionvirtual - REMOTE_MASKendpointstatic - REMOTE_UNINITendpointstatic + open_session(const session_options )connection + receivers() const connection + senders() const connection sessions() const connection - state() const connection - proton::endpoint::state typedefendpoint transport() const connection + uninitialized() const connectionvirtual + virtual_host() const connection ~endpoint() (defined in endpoint)endpointvirtual http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection.html index 34c7783..543bbf3 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1connection.html @@ -90,9 +90,7 @@ $(document).ready(function(){initNavTree('classproton_1_1connection.html','');}) -Public Types Public Member Functions -Static Public Attributes List of all members connection @@ -109,110 +107,109 @@ Inheritance diagram for connection: - + - -Public Types -typedef intstate -A bit mask of state bit values. More... - - Public Member Functions - -endpoint::statestate () const -Get the state of this connection. - -conditionlocal_condition () const -XXX add endpoint state boolean operations. More... - - -conditionremote_condition () const -Get the error condition of the remote endpoint. - + +connection () +Create an empty connection. + + +booluninitialized () const +True if the local end is uninitialized. + + +boolactive () const +True if the local end is active. + + +boolclosed () const +True if the local and remote ends are closed. + + +class error_conditionerror () const +Get the error condition of the remote endpoint. + class container container () const Get the container. More... -class transporttransport () const +class transporttransport () const Get the transport for the connection. - -std::stringhost () const -Return the AMQP host name for the connection. - + +std::stringvirtual_host () const +Return the AMQP hostname attribute for the connection. + std::stringcontainer_id () const Return the container ID for the connection. +voidopen () +Open the connection. More... + +voidopen (const connection_options ) +Open the connection. More... + voidclose () -Initiate local
[21/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/duration_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/duration_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/duration_8hpp_source.html index 4acb82d..bb1c60a 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/duration_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/duration_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('duration_8hpp_source.html','');}); duration.hpp -1#ifndef PROTON_CPP_DURATION_H - 2#define PROTON_CPP_DURATION_H +1#ifndef PROTON_DURATION_HPP + 2#define PROTON_DURATION_HPP 3 4/* 5 * @@ -117,58 +117,58 @@ $(document).ready(function(){initNavTree('duration_8hpp_source.html','');}); 22 * 23 */ 24 - 25#include proton/export.hpp - 26#include proton/comparable.hpp - 27#include proton/types_fwd.hpp + 25#include proton/export.hpp + 26#include proton/internal/comparable.hpp + 27#include proton/types_fwd.hpp 28 29#include iosfwd 30 31namespace proton { 32 - 34class duration : private comparableduration { + 34class duration : private internal::comparableduration { 35 public: - 36typedef uint64_t numeric_type; - 37 - 38explicit duration(numeric_type ms = 0) : ms_(ms) {} - 39duration operator=(numeric_type ms) { ms_ = ms; return *this; } - 40 - 41numeric_type milliseconds() const { return ms_; } - 42numeric_type ms() const { return ms_; } - 43 - 44PN_CPP_EXTERN static const duration FOREVER; - 45PN_CPP_EXTERN static const duration IMMEDIATE; - 46PN_CPP_EXTERN static const duration SECOND; - 47PN_CPP_EXTERN static const duration MINUTE; - 48 - 49 private: - 50 numeric_type ms_; - 51}; + 37typedef int64_t numeric_type; + 38 + 40explicit duration(numeric_type ms = 0) : ms_(ms) {} + 41 + 43duration operator=(numeric_type ms) { ms_ = ms; return *this; } + 44 + 46numeric_type milliseconds() const { return ms_; } + 47 + 48PN_CPP_EXTERN static const duration FOREVER; + 49PN_CPP_EXTERN static const duration IMMEDIATE; + 50PN_CPP_EXTERN static const duration SECOND; + 51PN_CPP_EXTERN static const duration MINUTE; 52 - 54PN_CPP_EXTERN std::ostream operator(std::ostream, duration); - 55 - 58inline bool operator(duration x, duration y) { return x.ms() y.ms(); } - 59inline bool operator==(duration x, duration y) { return x.ms() == y.ms(); } - 60 - 61inline duration operator+(duration x, duration y) { return duration(x.ms() + y.ms()); } - 62inline duration operator-(duration x, duration y) { return duration(x.ms() - y.ms()); } - 63inline duration operator*(duration d, uint64_t n) { return duration(d.ms()*n); } - 64inline duration operator*(uint64_t n, duration d) { return d * n; } - 66} - 67 - 68#endif // PROTON_CPP_DURATION_H -proton::operatorstd::ostream operator(std::ostream , const binary )Print binary value. -proton::duration::durationduration(numeric_type ms=0)Construct from milliseconds. Definition: duration.hpp:38 -proton::duration::numeric_typeuint64_t numeric_typeNumeric type used to store milliseconds. Definition: duration.hpp:36 + 53 private: + 54 numeric_type ms_; + 55}; + 56 + 58PN_CPP_EXTERN std::ostream operator(std::ostream, duration); + 59 + 62inline bool operator(duration x, duration y) { return x.milliseconds() y.milliseconds(); } + 63inline bool operator==(duration x, duration y) { return x.milliseconds() == y.milliseconds(); } + 64 + 65inline duration operator+(duration x, duration y) { return duration(x.milliseconds() + y.milliseconds()); } + 66inline duration operator-(duration x, duration y) { return duration(x.milliseconds() - y.milliseconds()); } + 67inline duration operator*(duration d, uint64_t n) { return duration(d.milliseconds()*n); } + 68inline duration operator*(uint64_t n, duration d) { return d * n; } + 70 + 71} // proton + 72 + 73#endif // PROTON_DURATION_HPP +proton::operatorstd::ostream operator(std::ostream , const binary )Print a binary value. +proton::duration::durationduration(numeric_type ms=0)Construct from milliseconds. Definition: duration.hpp:40 proton::durationA span of time in milliseconds. Definition: duration.hpp:34 -proton::duration::IMMEDIATEstatic const duration IMMEDIATEDont wait at all. Definition: duration.hpp:45 -types_fwd.hppForward declarations for all the C++ types used by proton to represent AMQP types. -proton::duration::SECONDstatic const duration SECONDOne second. Definition:
[50/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/c/api/reactor_8h_source.html -- diff --git a/content/releases/qpid-proton-master/proton/c/api/reactor_8h_source.html b/content/releases/qpid-proton-master/proton/c/api/reactor_8h_source.html index 1ba9cf4..e0d27d9 100755 --- a/content/releases/qpid-proton-master/proton/c/api/reactor_8h_source.html +++ b/content/releases/qpid-proton-master/proton/c/api/reactor_8h_source.html @@ -174,43 +174,43 @@ $(document).ready(function(){initNavTree('reactor_8h_source.html','');}); 126 pn_connection_t *connection, 127 const char *host, 128 const char *port); - 145PN_EXTERN const char *pn_reactor_get_connection_address(pn_reactor_t *reactor, - 146 pn_connection_t *connection); - 147 - 148PN_EXTERN int pn_reactor_wakeup(pn_reactor_t *reactor); - 149PN_EXTERN void pn_reactor_start(pn_reactor_t *reactor); - 150PN_EXTERN bool pn_reactor_quiesced(pn_reactor_t *reactor); - 151PN_EXTERN bool pn_reactor_process(pn_reactor_t *reactor); - 152PN_EXTERN void pn_reactor_stop(pn_reactor_t *reactor); - 153PN_EXTERN void pn_reactor_run(pn_reactor_t *reactor); - 154PN_EXTERN pn_task_t *pn_reactor_schedule(pn_reactor_t *reactor, int delay, pn_handler_t *handler); - 155 - 156 - 157PN_EXTERN void pn_acceptor_set_ssl_domain(pn_acceptor_t *acceptor, pn_ssl_domain_t *domain); - 158PN_EXTERN void pn_acceptor_close(pn_acceptor_t *acceptor); - 159PN_EXTERN pn_acceptor_t *pn_connection_acceptor(pn_connection_t *connection); - 160 - 161PN_EXTERN pn_timer_t *pn_timer(pn_collector_t *collector); - 162PN_EXTERN pn_timestamp_t pn_timer_deadline(pn_timer_t *timer); - 163PN_EXTERN void pn_timer_tick(pn_timer_t *timer, pn_timestamp_t now); - 164PN_EXTERN pn_task_t *pn_timer_schedule(pn_timer_t *timer, pn_timestamp_t deadline); - 165PN_EXTERN int pn_timer_tasks(pn_timer_t *timer); - 166 - 167PN_EXTERN pn_record_t *pn_task_attachments(pn_task_t *task); - 168PN_EXTERN void pn_task_cancel(pn_task_t *task); + 148PN_EXTERN const char *pn_reactor_get_connection_address(pn_reactor_t *reactor, + 149 pn_connection_t *connection); + 150 + 151PN_EXTERN int pn_reactor_wakeup(pn_reactor_t *reactor); + 152PN_EXTERN void pn_reactor_start(pn_reactor_t *reactor); + 153PN_EXTERN bool pn_reactor_quiesced(pn_reactor_t *reactor); + 154PN_EXTERN bool pn_reactor_process(pn_reactor_t *reactor); + 155PN_EXTERN void pn_reactor_stop(pn_reactor_t *reactor); + 156PN_EXTERN void pn_reactor_run(pn_reactor_t *reactor); + 157PN_EXTERN pn_task_t *pn_reactor_schedule(pn_reactor_t *reactor, int delay, pn_handler_t *handler); + 158 + 159 + 160PN_EXTERN void pn_acceptor_set_ssl_domain(pn_acceptor_t *acceptor, pn_ssl_domain_t *domain); + 161PN_EXTERN void pn_acceptor_close(pn_acceptor_t *acceptor); + 162PN_EXTERN pn_acceptor_t *pn_connection_acceptor(pn_connection_t *connection); + 163 + 164PN_EXTERN pn_timer_t *pn_timer(pn_collector_t *collector); + 165PN_EXTERN pn_timestamp_t pn_timer_deadline(pn_timer_t *timer); + 166PN_EXTERN void pn_timer_tick(pn_timer_t *timer, pn_timestamp_t now); + 167PN_EXTERN pn_task_t *pn_timer_schedule(pn_timer_t *timer, pn_timestamp_t deadline); + 168PN_EXTERN int pn_timer_tasks(pn_timer_t *timer); 169 - 170PN_EXTERN pn_reactor_t *pn_class_reactor(const pn_class_t *clazz, void *object); - 171PN_EXTERN pn_reactor_t *pn_object_reactor(void *object); - 172PN_EXTERN pn_reactor_t *pn_event_reactor(pn_event_t *event); - 173 - 174PN_EXTERN pn_handler_t *pn_record_get_handler(pn_record_t *record); - 175PN_EXTERN void pn_record_set_handler(pn_record_t *record, pn_handler_t *handler); + 170PN_EXTERN pn_record_t *pn_task_attachments(pn_task_t *task); + 171PN_EXTERN void pn_task_cancel(pn_task_t *task); + 172 + 173PN_EXTERN pn_reactor_t *pn_class_reactor(const pn_class_t *clazz, void *object); + 174PN_EXTERN pn_reactor_t *pn_object_reactor(void *object); + 175PN_EXTERN pn_reactor_t *pn_event_reactor(pn_event_t *event); 176 - 180#ifdef __cplusplus - 181} - 182#endif - 183 - 184#endif /* reactor.h */ + 177PN_EXTERN pn_handler_t *pn_record_get_handler(pn_record_t *record); + 178PN_EXTERN void pn_record_set_handler(pn_record_t *record, pn_handler_t *handler); + 179 + 183#ifdef __cplusplus + 184} + 185#endif + 186 + 187#endif /* reactor.h */ pn_reactor_set_connection_hostPN_EXTERN void pn_reactor_set_connection_host(pn_reactor_t *reactor, pn_connection_t *connection, const char *host, const char *port) pn_event_type_tpn_event_type_tDefinition:
[09/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton.html b/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton.html index 35f7f79..3b9fd93 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton.html @@ -92,7 +92,6 @@ $(document).ready(function(){initNavTree('namespaceproton.html','');}); Namespaces Classes -Typedefs Enumerations Functions @@ -100,20 +99,20 @@ $(document).ready(function(){initNavTree('namespaceproton.html','');}); -The proton namespace. +The main Proton namespace. More... Namespaces - amqp -AMQP typedefs for C++ types. + codec +Experimental - AMQP data encoding and decoding. + + io +Experimental - An SPI for multithreaded network IO. Classes -class acceptor -A context for accepting inbound connections. More... - class annotation_key A key for use with AMQP annotation maps. More... @@ -121,10 +120,7 @@ Classes Arbitrary binary data. More... class byte_array -Used to represent fixed-sized data types that don't have a natural C++ representation as an array of bytes. More... - -class condition -Describes an endpoint error state. More... +Arbitrary fixed-size data. More... class connection A connection to a remote AMQP peer. More... @@ -133,10 +129,10 @@ Classes Options for creating a connection. More... class container -A top-level container of connections, sessions, and links. More... +A top-level container of connections, sessions, senders, and receivers. More... struct conversion_error -Raised if there is an error converting between AMQP and C++ data. More... +An error converting between AMQP and C++ data. More... class decimal128 128-bit decimal floating point. More... @@ -147,8 +143,14 @@ Classes class decimal64 64-bit decimal floating point. More... +class default_container +A single-threaded container. More... + class delivery -A message transfer. More... +A received message. More... + +struct delivery_mode +The message delivery policy to establish when opening a link. More... class duration A span of time in milliseconds. More... @@ -157,19 +159,25 @@ Classes The base class for session, connection, and link. More... struct error -The base proton error. More... +The base Proton error. More... + +class error_condition +Describes an endpoint error state. More... + +class event_loop +Experimental - A serial execution context. More... -class handler -Callback functions for handling proton events. More... +class inject_handler +Experimental - A handler for injected code. More... class link A named channel for sending or receiving messages. More... -class link_iterator -An iterator for links. More... +class listen_handler +Experimental - A handler for incoming connections. More... -class link_options -Options for creating a link. More... +class listener +A listener for incoming connections. More... class message An AMQP message. More... @@ -177,72 +185,94 @@ Classes class message_id An AMQP message ID. More... +class messaging_handler +A handler for Proton messaging events. More... + class receiver -A link for receiving messages. More... +A channel for receiving messages. More... + +class receiver_options +Options for creating a receiver. More... class sasl SASL information. More... class scalar -A holder for an instance of any scalar AMQP type, see AMQP and C++ types. More... - -class scalar_base -Base class for scalar types. More... +A holder for an instance of any scalar AMQP type. More... class sender -A link for sending messages. More... +A channel for sending messages. More... + +class sender_options +Options for creating a sender. More... class session -A container of links. More... +A container of senders and receivers. More... + +class session_options +Options for creating a session. More... + +class source +The source node is where messages originate. More... -class session_iterator -An iterator for sessions. More... +class source_options +Options for creating a source node for a sender or receiver. More... class ssl SSL information. More... +class ssl_certificate +Experimental - An SSL certificate. More... + class ssl_client_options -SSL configuration for outbound connections. More... +Experimental - SSL configuration for outbound connections. More... class ssl_server_options -SSL configuration for inbound connections. More... +Experimental - SSL configuration for inbound connections. More... class symbol -symbol is a std::string that represents the AMQP symbol type. More... +A
[27/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/connection__engine_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/connection__engine_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/connection__engine_8hpp_source.html index a412878..5d3b0b0 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/connection__engine_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/connection__engine_8hpp_source.html @@ -93,123 +93,141 @@ $(document).ready(function(){initNavTree('connection__engine_8hpp_source.html',' connection_engine.hpp -1#ifndef CONNECTION_ENGINE_HPP - 2#define CONNECTION_ENGINE_HPP +1#ifndef PROTON_IO_CONNECTION_ENGINE_HPP + 2#define PROTON_IO_CONNECTION_ENGINE_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/condition.hpp - 24#include proton/connection.hpp - 25#include proton/connection_options.hpp - 26#include proton/error.hpp - 27#include proton/export.hpp - 28#include proton/pn_unique_ptr.hpp - 29#include proton/transport.hpp - 30#include proton/types.hpp - 31 - 32#include cstddef - 33#include utility - 34#include string - 35 - 36struct pn_collector_t; - 37 - 38namespace proton { - 39 - 40class handler; - 41 - 43namespace io { - 44 - 46class connection_engine_context; - 48 - 50struct mutable_buffer { - 51 char* data; - 52 size_t size; - 53 - 54 mutable_buffer(char* data_=0, size_t size_=0) : data(data_), size(size_) {} - 55}; + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/config.hpp + 26#include proton/connection.hpp + 27#include proton/connection_options.hpp + 28#include proton/error.hpp + 29#include proton/error_condition.hpp + 30#include proton/export.hpp + 31#include proton/internal/pn_unique_ptr.hpp + 32#include proton/transport.hpp + 33#include proton/types.hpp + 34 + 35#include cstddef + 36#include utility + 37#include string + 38 + 39struct pn_collector_t; + 40 + 41namespace proton { + 42 + 43class event_loop; + 44class proton_handler; + 45 + 46// FIXME aconway 2016-05-04: doc + 47 + 48namespace io { + 49 + 50class link_namer; + 51 + 53struct mutable_buffer { + 54char* data; + 55size_t size; 56 - 58struct const_buffer { - 59 const char* data; - 60 size_t size; - 61 - 62 const_buffer(const char* data_=0, size_t size_=0) : data(data_), size(size_) {} - 63}; - 64 - 91class - 92PN_CPP_CLASS_EXTERN connection_engine { - 93 public: - 94 // TODO aconway 2016-03-18: this will change - 95 class container { - 96 public: - 98 PN_CPP_EXTERN container(const std::string id = ); - 99 PN_CPP_EXTERN ~container(); - 100 - 102 PN_CPP_EXTERN std::string id() const; - 103 - 109
[33/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.js index 1aa5a56..c079bfc 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.js @@ -1,25 +1,23 @@ var classproton_1_1sender = [ -[ "state", "classproton_1_1sender.html#a9660be8f45524b15c3931fb752de3b3e", null ], [ "sender", "classproton_1_1sender.html#ae8473244d5665777c846fa88eba39252", null ], +[ "active", "classproton_1_1sender.html#a6fd1dc792a0b98e6530a7383d4ef3074", null ], [ "close", "classproton_1_1sender.html#a5ae591df94fc66ccb85cbb6565368bca", null ], +[ "close", "classproton_1_1sender.html#a817883d28ce0ac8a29d917d196796f68", null ], +[ "closed", "classproton_1_1sender.html#a24c88f59fb7d18a293dbc5e6cbebd744", null ], [ "connection", "classproton_1_1sender.html#af13d10fc3d843719af9ff4c456330a73", null ], [ "container", "classproton_1_1sender.html#a604ee46e04955a2323f305b4a81017a0", null ], [ "credit", "classproton_1_1sender.html#a75360c7515b9f569871c5ea953286649", null ], [ "detach", "classproton_1_1sender.html#ac295bade8aee589f6718dfa79edc2a34", null ], -[ "local_condition", "classproton_1_1sender.html#aaaea8dc733566e78a066d2435f8a60c5", null ], -[ "local_source", "classproton_1_1sender.html#a2246ba119cbaa626fb423e1ba80f84c5", null ], -[ "local_target", "classproton_1_1sender.html#a1e65cc5198f2c2e57d28815f401eb7d9", null ], +[ "draining", "classproton_1_1sender.html#a19c36a38b50e8080b94a47230a56234f", null ], +[ "error", "classproton_1_1sender.html#ae94b11511c3ff52ec5b4988122a232ff", null ], [ "name", "classproton_1_1sender.html#a37627d5d5bba7f4a8690c71c2ab3cb07", null ], -[ "open", "classproton_1_1sender.html#afdfda4724950dfecdbc2e74b6a888998", null ], -[ "queued", "classproton_1_1sender.html#a42add3dc24b98be816b02f7ba64737f4", null ], -[ "receiver", "classproton_1_1sender.html#a08a29346f1a6b36085afc57cbba90894", null ], -[ "receiver", "classproton_1_1sender.html#ab8db92c685717230b2f19be20c660005", null ], -[ "remote_condition", "classproton_1_1sender.html#a492e060bda7b5f5a49a9e5cd19f92834", null ], -[ "remote_source", "classproton_1_1sender.html#adc8d612ee69e5722919c1bc2c95df66e", null ], -[ "remote_target", "classproton_1_1sender.html#ad5797a56dcc8453297ee6551fed06a95", null ], -[ "send", "classproton_1_1sender.html#aefaf5ace497245ca76c6c9d629ae7bee", null ], -[ "sender", "classproton_1_1sender.html#aa29986e9373916447665a8791845e7cf", null ], +[ "open", "classproton_1_1sender.html#a9e8555112049fc2b4945120b3c45f8ab", null ], +[ "open", "classproton_1_1sender.html#a0177dfbb87c4a94379c4ab6ac77a134e", null ], +[ "return_credit", "classproton_1_1sender.html#abc4cb5f2f38643abb47c0b221a130bc8", null ], +[ "send", "classproton_1_1sender.html#a214eb30b24e6831d016a47b9a830", null ], [ "session", "classproton_1_1sender.html#aa33faff52aea9845efaf184f86676cc5", null ], -[ "state", "classproton_1_1sender.html#a1e2622353881ca93799c7d127a1464ce", null ] +[ "source", "classproton_1_1sender.html#a2f1d8ca25f71dff178c462cf984327f9", null ], +[ "target", "classproton_1_1sender.html#a68cde95e630ce554bb4a2ba9ef087a17", null ], +[ "uninitialized", "classproton_1_1sender.html#ac148c054a035b462f4483f38078374bf", null ] ]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.png -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.png b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.png index e5010f3..5581a3e 100755 Binary files a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.png and b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender__options-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender__options-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender__options-members.html new file mode 100755 index 000..613e6c6 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1sender__options-members.html @@ -0,0 +1,120 @@
[04/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/sasl_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/sasl_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/sasl_8hpp_source.html index c311c3e..0515d14 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/sasl_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/sasl_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('sasl_8hpp_source.html','');}); sasl.hpp -1#ifndef PROTON_CPP_SASL_H - 2#define PROTON_CPP_SASL_H +1#ifndef PROTON_SASL_HPP + 2#define PROTON_SASL_HPP 3 4/* 5 * @@ -119,67 +119,64 @@ $(document).ready(function(){initNavTree('sasl_8hpp_source.html','');}); 24 25#include proton/export.hpp 26#include proton/config.hpp - 27#include proton/sasl.h - 28#include string - 29 - 30namespace proton { - 31 - 33class sasl { - 35 sasl(pn_sasl_t* s) : object_(s) {} - 37 - 38 public: - 39#if PN_CPP_HAS_CPP11 - 40 sasl() = delete; - 41 sasl(const sasl) = delete; - 42 sasl(sasl) = default; - 43 sasl operator=(const sasl) = delete; - 44 sasl operator=(sasl) = delete; - 45#endif - 46 - 48enum outcome { - 49NONE = PN_SASL_NONE, - 50OK = PN_SASL_OK, - 51AUTH = PN_SASL_AUTH, - 52SYS = PN_SASL_SYS, - 53PERM = PN_SASL_PERM, - 54TEMP = PN_SASL_TEMP - 55 }; - 56 - 58 PN_CPP_EXTERN enum outcome outcome() const; - 59 - 61 PN_CPP_EXTERN std::string user() const; - 62 - 64 PN_CPP_EXTERN std::string mech() const; - 65 - 67 private: - 68 void allow_insecure_mechs(bool); - 69 bool allow_insecure_mechs(); - 70 void allowed_mechs(const std::string ); - 71 void config_name(const std::string); - 72 void config_path(const std::string); - 73 - 74 pn_sasl_t* const object_; - 75 - 76 friend class connection_options; - 77 friend class transport; - 79}; + 27#include proton/internal/object.hpp + 28 + 29#include proton/sasl.h + 30 + 31#include string + 32 + 33namespace proton { + 34 + 36class sasl { + 38 sasl(pn_sasl_t* s) : object_(s) {} + 40 + 41 public: + 42#if PN_CPP_HAS_DELETED_FUNCTIONS + 43 sasl() = delete; + 44 sasl(const sasl) = delete; + 45 sasl operator=(const sasl) = delete; + 46 sasl operator=(sasl) = delete; + 47#endif + 48#if PN_CPP_HAS_DEFAULTED_FUNCTIONS + 49 sasl(sasl) = default; + 50#endif + 51 + 53enum outcome { + 54NONE = PN_SASL_NONE, + 55OK = PN_SASL_OK, + 56AUTH = PN_SASL_AUTH, + 57SYS = PN_SASL_SYS, + 58PERM = PN_SASL_PERM, + 59TEMP = PN_SASL_TEMP + 60 }; + 61 + 63 PN_CPP_EXTERN enum outcome outcome() const; + 64 + 66 PN_CPP_EXTERN std::string user() const; + 67 + 69 PN_CPP_EXTERN std::string mech() const; + 70 + 72 private: + 73 pn_sasl_t* const object_; + 74 + 75 friend class internal::factorysasl; + 77}; + 78 + 79} // proton 80 - 81} - 82 - 83#endif // PROTON_CPP_SASL_H -proton::sasl::SYSFailed due to a system error. Definition: sasl.hpp:52 -proton::sasl::PERMFailed due to unrecoverable error. Definition: sasl.hpp:53 -proton::saslSASL information. Definition: sasl.hpp:33 -proton::sasl::AUTHFailed due to bad credentials. Definition: sasl.hpp:51 -proton::connection_optionsOptions for creating a connection. Definition: connection_options.hpp:68 -proton::sasl::OKAuthentication succeeded. Definition: sasl.hpp:50 -proton::sasl::TEMPFailed due to transient error. Definition: sasl.hpp:54 -proton::sasl::NONENegotiation not completed. Definition: sasl.hpp:49 + 81#endif // PROTON_SASL_HPP +proton::sasl::SYSFailed due to a system error. Definition: sasl.hpp:57 +proton::sasl::PERMFailed due to unrecoverable error. Definition: sasl.hpp:58 +proton::saslSASL information. Definition: sasl.hpp:36 +proton::sasl::AUTHFailed due to bad credentials. Definition: sasl.hpp:56 +proton::sasl::OKAuthentication succeeded. Definition: sasl.hpp:55 +proton::sasl::TEMPFailed due to transient error. Definition: sasl.hpp:59 +proton::sasl::NONENegotiation not completed. Definition: sasl.hpp:54 proton::sasl::mechstd::string mech() const Get the mechanism. proton::sasl::userstd::string user() const Get the user name. -proton::sasl::outcomeoutcomeThe result of the SASL negotiation. Definition: sasl.hpp:48 +proton::sasl::outcomeoutcomeThe result of the SASL negotiation. Definition: sasl.hpp:53 proton::sasl::outcomeenum outcome outcome()
[13/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/listener_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/listener_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/listener_8hpp_source.html new file mode 100755 index 000..5809cb5 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/listener_8hpp_source.html @@ -0,0 +1,157 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: proton/listener.hpp Source File + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('listener_8hpp_source.html','');}); + + + + + + + + + + + + + + +listener.hpp + + +1#ifndef PROTON_LISTENER_HPP + 2#define PROTON_LISTENER_HPP + 3 + 4/* + 5 * Licensed to the Apache Software Foundation (ASF) under one + 6 * or more contributor license agreements. See the NOTICE file + 7 * distributed with this work for additional information + 8 * regarding copyright ownership. The ASF licenses this file + 9 * to you under the Apache License, Version 2.0 (the + 10 * License); you may not use this file except in compliance + 11 * with the License. You may obtain a copy of the License at + 12 * + 13 * http://www.apache.org/licenses/LICENSE-2.0 + 14 * + 15 * Unless required by applicable law or agreed to in writing, + 16 * software distributed under the License is distributed on an + 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 18 * KIND, either express or implied. See the License for the + 19 * specific language governing permissions and limitations + 20 * under the License. + 21 */ + 22 + 23#include proton/export.hpp + 24 + 25#include string + 26 + 27namespace proton { + 28 + 29class container; + 30 + 32class PN_CPP_CLASS_EXTERN listener { + 33 public: + 35 PN_CPP_EXTERN listener(); + 36 + 38 PN_CPP_EXTERN listener(container, const std::string); + 40 + 43 PN_CPP_EXTERN void stop(); + 44 + 45 private: + 46 std::string url_; + 47 container* container_; + 48}; + 49 + 50} // proton + 51 + 52#endif // PROTON_LISTENER_HPP +proton::containerA top-level container of connections, sessions, senders, and receivers. Definition: container.hpp:61 +proton::listenerA listener for incoming connections. Definition: listener.hpp:32 +protonThe main Proton namespace. Definition: annotation_key.hpp:28 + + + + + +protonlistener.hpp +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/map_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/map_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/map_8hpp_source.html index 1d598a4..8d5c4e3 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/map_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/map_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/map.hpp Source File +Qpid Proton C++ API: proton/codec/map.hpp Source File @@ -93,51 +93,58 @@ $(document).ready(function(){initNavTree('map_8hpp_source.html','');}); map.hpp -1#ifndef PROTON_MAP_HPP - 2#define PROTON_MAP_HPP - 3/* - 4 * Licensed to the Apache Software Foundation (ASF) under one - 5 * or more contributor license agreements. See the NOTICE file - 6 * distributed with this work for additional information - 7 * regarding copyright ownership. The ASF licenses this file - 8 * to you under the Apache License, Version 2.0 (the - 9 * License); you may not use this file except in compliance - 10 * with the License. You may obtain a copy of the License at - 11 * - 12 * http://www.apache.org/licenses/LICENSE-2.0 +1#ifndef PROTON_CODEC_MAP_HPP + 2#define PROTON_CODEC_MAP_HPP + 3 + 4/* + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this
[16/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_o.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_o.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_o.html index e4cd7bb..990d232 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_o.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_o.html @@ -95,127 +95,153 @@ $(document).ready(function(){initNavTree('functions_o.html','');}); OK : sasl +on_accept() +: listen_handler + +on_close() +: listen_handler + on_connection_close() -: handler +: messaging_handler on_connection_error() -: handler +: messaging_handler on_connection_open() -: handler +: messaging_handler on_container_start() -: handler +: messaging_handler -on_delivery_accept() -: handler - -on_delivery_reject() -: handler +on_delivery_settle() +: messaging_handler -on_delivery_release() -: handler +on_error() +: listen_handler +, messaging_handler -on_delivery_settle() -: handler +on_inject() +: inject_handler on_message() -: handler +: messaging_handler on_receiver_close() -: handler +: messaging_handler + +on_receiver_drain_finish() +: messaging_handler on_receiver_error() -: handler +: messaging_handler on_receiver_open() -: handler +: messaging_handler on_sendable() -: handler +: messaging_handler on_sender_close() -: handler +: messaging_handler + +on_sender_drain_start() +: messaging_handler on_sender_error() -: handler +: messaging_handler on_sender_open() -: handler +: messaging_handler on_session_close() -: handler +: messaging_handler on_session_error() -: handler +: messaging_handler on_session_open() -: handler +: messaging_handler + +on_tracker_accept() +: messaging_handler + +on_tracker_reject() +: messaging_handler + +on_tracker_release() +: messaging_handler + +on_tracker_settle() +: messaging_handler on_transport_close() -: handler +: messaging_handler on_transport_error() -: handler +: messaging_handler -on_unhandled_error() -: handler +on_transport_open() +: messaging_handler open() -: link +: connection +, receiver +, sender +, session open_receiver() -: connection -, container -, session +: connection +, container +, default_container +, container_impl_base +, session open_sender() -: connection -, container -, session +: connection +, container +, default_container +, container_impl_base +, session open_session() -: connection +: connection operator std::string() : binary +, url operator!() -: condition - -operator++() -: link_iterator -, session_iterator - -operator -: scalar_base +: error_condition operator : byte_array N -, encoder -, scalar_base +, encoder operator=() : binary , connection_options , duration -, link_options , message , message_id +, receiver_options , scalar +, sender_options +, session_options +, source_options +, target_options , timestamp , url , value -operator== -: scalar_base - operator() -: decoder +: decoder outcome : sasl +outgoing_bytes() +: session + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_p.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_p.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_p.html index 444e01a..f077bc5 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_p.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_p.html @@ -92,8 +92,8 @@ $(document).ready(function(){initNavTree('functions_p.html','');}); Here is a list of all documented class members with links to the class documentation for each member: - p - -parse() -: url +password() +: url path() : url @@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('functions_p.html','');}); : sasl port() -: url +: url port_int() : url @@ -110,6 +110,10 @@ $(document).ready(function(){initNavTree('functions_p.html','');}); priority() : message +properties() +: error_condition +, message + property_map : message http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_r.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_r.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_r.html index d2ccc27..0eadb15 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_r.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_r.html @@ -95,66 +95,53 @@ $(document).ready(function(){initNavTree('functions_r.html','');}); random() : uuid -read() -: engine
[15/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/hierarchy.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/hierarchy.html b/content/releases/qpid-proton-master/proton/cpp/api/hierarchy.html index 7a5578a..7563775 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/hierarchy.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/hierarchy.html @@ -95,60 +95,99 @@ $(document).ready(function(){initNavTree('hierarchy.html','');}); This inheritance list is sorted roughly, but not completely, alphabetically: [detail level 1234] -CacceptorA context for accepting inbound connections -Cbasic_string Char STL class -CstringSTL class -CsymbolSymbol is a std::string that represents the AMQP symbol type -Cbyte_array N Used to represent fixed-sized data types that don't have a natural C++ representation as an array of bytes -Cbyte_array 16 -Cdecimal128128-bit decimal floating point -CuuidA 16-byte universally unique identifier -Cbyte_array 4 -Cdecimal3232-bit decimal floating point -Cbyte_array 8 -Cdecimal6464-bit decimal floating point -CconditionDescribes an endpoint error state -Cconnection_optionsOptions for creating a connection -CcontainerA top-level container of connections, sessions, and links -CdataWrapper for a proton data object -CdecoderStream-like decoder from AMQP bytes to C++ values -CencoderStream-like encoder from AMQP bytes to C++ values -CdeliveryA message transfer -CdurationA span of time in milliseconds -CendpointThe base class for session, connection, and link -CconnectionA connection to a remote AMQP peer -ClinkA named channel for sending or receiving messages -CreceiverA link for receiving messages -CsenderA link for sending messages -CsessionA container of links -CengineA connection_engine with non-blocking socket IO -CexceptionSTL class -Cruntime_errorSTL class -CerrorThe base proton error -Cconversion_errorRaised if there is an error converting between AMQP and C++ data -Ctimeout_errorRaised if a timeout expires -Curl_errorRaised if URL parsing fails -CguardUse to call io::initialize and io::finalize around a scope -ChandlerCallback functions for handling proton events -Clink_iteratorAn iterator for links -Clink_optionsOptions for creating a link -ClistenerListening socket -CmessageAn AMQP message -CsaslSASL information -Cscalar_baseBase class for scalar types -Cannotation_keyA key for use with AMQP annotation maps -Cmessage_idAn AMQP message ID -CscalarA holder for an instance of any scalar AMQP type, see AMQP and C++ types -Csession_iteratorAn iterator for sessions -CsslSSL information -Cssl_client_optionsSSL configuration for outbound connections -Cssl_server_optionsSSL configuration for inbound connections -CterminusOne end of a link, either a source or a target -Ctimestamp64 bit timestamp in milliseconds since the epoch 00:00:00 (UTC), 1 January 1970 -CurlA proton URL -CvalueA holder for any AMQP value, simple or complex, see AMQP and C++ types -Cvector T STL class -CbinaryArbitrary binary data +Cbasic_string Char STL class +CstringSTL class +CsymbolA std::string that represents the AMQP symbol type +Ccomparable byte_array N +Cbyte_array 16 +Cdecimal128128-bit decimal floating point +CuuidA 16-byte universally unique identifier +Cbyte_array 4 +Cdecimal3232-bit decimal floating point +Cbyte_array 8 +Cdecimal6464-bit decimal floating point +Cbyte_array N Arbitrary fixed-size data +Ccomparable duration +CdurationA span of time in milliseconds +Ccomparable object pn_connection_t +Cobject pn_connection_t +CconnectionA connection to a remote AMQP peer +Ccomparable object pn_delivery_t +Cobject pn_delivery_t +CtransferThe base class for delivery and tracker +CdeliveryA received message +CtrackerA tracker for a sent message +Ccomparable object pn_link_t +Cobject pn_link_t +ClinkA named channel for sending or receiving messages +CreceiverA channel for receiving messages +CsenderA channel for sending messages +Ccomparable object pn_session_t +Cobject pn_session_t +CsessionA container of senders and receivers +Ccomparable object pn_transport_t +Cobject pn_transport_t +CtransportA network channel supporting an AMQP connection +Ccomparable object T +Ccomparable scalar_base +Cscalar_baseBase class for scalar types +Cannotation_keyA key for use with AMQP annotation maps +Cmessage_idAn AMQP message ID +CscalarA holder for an instance of any scalar AMQP type +Ccomparable timestamp +CtimestampA 64-bit timestamp in milliseconds since the Unix epoch +Ccomparable value +CvalueA holder for any AMQP value, simple or complex +Cconnection_engineExperimental - An AMQP protocol engine for a single connection +Cconnection_optionsOptions for creating a
[28/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value-members.html index 37cdee6..facc962 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value-members.html @@ -99,15 +99,13 @@ $(document).ready(function(){initNavTree('classproton_1_1value.html','');}); clear()value coerce(const value v)valuerelated coerce(const value v, T x)valuerelated - empty() const (defined in value_base)value_base - get(const value v)valuerelated - get(const value v, T x)valuerelated - operator (defined in value)valuefriend - operator=(const value ) (defined in value)value - operator=(const T x)valueinline - operator== (defined in value)valuefriend - swap(value , value )valuefriend - type() const (defined in value_base)value_base + get(const value v)valuerelated + get(const value v, T x)valuerelated + operator (defined in value)valuefriend + operator=(const value ) (defined in value)value + operator=(const T x)valueinline + operator== (defined in value)valuefriend + swap(value , value )valuefriend value()value value(const value ) (defined in value)value value(const T x, typename assignable T ::type *=0)valueinline http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value.html index 9a79cf3..d45e93d 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1value.html @@ -99,12 +99,18 @@ $(document).ready(function(){initNavTree('classproton_1_1value.html','');}); -A holder for any AMQP value, simple or complex, see AMQP and C++ types. +A holder for any AMQP value, simple or complex. More... #include value.hpp - -Inherits value_base, and comparable value . + +Inheritance diagram for value: + + + + + + Public Member Functions @@ -115,25 +121,17 @@ Public Member Functions templateclass T value (const T x, typename assignable T ::type *=0) -Construct from any allowed type T, see AMQP and C++ types. +Construct from any allowed type T. templateclass T assignable T, value ::typeoperator= (const T x) -Assign from any allowed type T, see AMQP and C++ types. +Assign from any allowed type T. voidclear () Reset the value to null. - -type_idtype () const -Get the type ID for the current value. - - -boolempty () const -True if the value is null. - Copy a value value (const value ) @@ -178,7 +176,8 @@ Related Functions Detailed Description -A holder for any AMQP value, simple or complex, see AMQP and C++ types. +A holder for any AMQP value, simple or complex. +See alsoAMQP and C++ types Friends And Related Function Documentation @@ -204,10 +203,10 @@ Related Functions Coerce the contained value to type T. For example: uint64_t i = getuint64_t(x) -Will succeed if x contains any numeric value, but may lose precision if it contains a float or double value. +This will succeed if x contains any numeric value, but may lose precision if it contains a float or double value. Exceptions -conversion_errorif the value cannot be converted to T according to std::is_convertible +conversion_errorif the value cannot be converted to T according to std::is_convertible @@ -247,7 +246,7 @@ Related Functions Like coerce(const value) but assigns the value to a reference instead of returning it. -May be more efficient for complex values (arrays, maps etc.) +May be more efficient for complex values (arrays, maps, etc.) @@ -275,10 +274,10 @@ Related Functions Get a contained value of type T. For example: uint64_t i = getuint64_t(x) -Will succeed if and only if x contains a uint64_t value. +This will succeed if and only if x contains a uint64_t value. Exceptions -conversion_errorif contained value is not of type T. +conversion_errorif contained value is not of type T. @@ -318,7 +317,7 @@ Related Functions Like get(const value) but assigns the value to a reference instead of returning it. -May be more efficient for complex values (arrays, maps etc.) +May be more efficient for complex values (arrays, maps, etc.)
[31/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.html new file mode 100755 index 000..36b6aa2 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.html @@ -0,0 +1,198 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: ssl_certificate + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1ssl__certificate.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +ssl_certificate + + + +Experimental - An SSL certificate. + More... + +#include ssl.hpp + + +Public Member Functions + +ssl_certificate (const std::string certdb_main) +Create an SSL certificate. + +ssl_certificate (const std::string certdb_main, const std::string certdb_extra) +Create an SSL certificate. More... + +ssl_certificate (const std::string certdb_main, const std::string certdb_extra, const std::string passwd) +Create an SSL certificate. More... + + +Detailed Description +Experimental - An SSL certificate. +Constructor Destructor Documentation + + + + + + ssl_certificate + ( + const std::string + certdb_main, + + + + + const std::string + certdb_extra + + + + ) + + + + + +Create an SSL certificate. + + + + + + + + + ssl_certificate + ( + const std::string + certdb_main, + + + + + const std::string + certdb_extra, + + + + + const std::string + passwd + + + + ) + + + + + +Create an SSL certificate. + + + +The documentation for this class was generated from the following file: +proton/ssl.hpp + + + + + + +protonssl_certificate +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.js new file mode 100755 index 000..4b0d8b9 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__certificate.js @@ -0,0 +1,6 @@ +var classproton_1_1ssl__certificate = +[ +[ "ssl_certificate", "classproton_1_1ssl__certificate.html#a06065e17b1b4e178adc0047ae99335ac", null ], +[ "ssl_certificate", "classproton_1_1ssl__certificate.html#a8db4264dc2c610f8cc91903610f48361", null ], +[ "ssl_certificate", "classproton_1_1ssl__certificate.html#aa23f3c38df56f3e9ea116462c6c98547", null ] +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__client__options.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__client__options.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__client__options.html index 00f7174..8395eb3 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__client__options.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1ssl__client__options.html @@ -97,7 +97,7 @@ $(document).ready(function(){initNavTree('classproton_1_1ssl__client__options.ht -SSL configuration for outbound connections. +Experimental - SSL configuration for outbound connections. More... #include ssl.hpp @@ -111,7 +111,7 @@ Public Member Functions Create SSL client options (no client certificate). -ssl_client_options (ssl_certificate , const std::string trust_db, enum ssl::verify_mode=ssl::VERIFY_PEER_NAME)
[24/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/decoder_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/decoder_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/decoder_8hpp_source.html index edb19ef..5f08719 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/decoder_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/decoder_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/decoder.hpp Source File +Qpid Proton C++ API: proton/codec/decoder.hpp Source File @@ -93,200 +93,203 @@ $(document).ready(function(){initNavTree('decoder_8hpp_source.html','');}); decoder.hpp -1#ifndef PROTON_DECODER_HPP - 2#define PROTON_DECODER_HPP - 3/* - 4 * Licensed to the Apache Software Foundation (ASF) under one - 5 * or more contributor license agreements. See the NOTICE file - 6 * distributed with this work for additional information - 7 * regarding copyright ownership. The ASF licenses this file - 8 * to you under the Apache License, Version 2.0 (the - 9 * License); you may not use this file except in compliance - 10 * with the License. You may obtain a copy of the License at - 11 * - 12 * http://www.apache.org/licenses/LICENSE-2.0 +1#ifndef PROTON_CODEC_DECODER_HPP + 2#define PROTON_CODEC_DECODER_HPP + 3 + 4/* + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at 13 * - 14 * Unless required by applicable law or agreed to in writing, - 15 * software distributed under the License is distributed on an - 16 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 17 * KIND, either express or implied. See the License for the - 18 * specific language governing permissions and limitations - 19 * under the License. - 20 */ - 21 - 22#include proton/data.hpp - 23#include proton/types_fwd.hpp - 24#include proton/type_traits.hpp - 25 - 26#include utility - 27 - 28// Proton namespace - 29namespace proton { + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/codec/data.hpp + 26#include proton/internal/type_traits.hpp + 27#include proton/types_fwd.hpp + 28 + 29#include utility 30 - 31class annotation_key; - 32class message_id; - 33class scalar; - 34class value; - 35class value_base; - 36 - 38namespace codec { - 39 - 44class decoder : public data { - 45 public: - 46 - 50explicit decoder(const data d, bool exact=false) : data(d), exact_(exact) {} - 51 - 53 PN_CPP_EXTERN explicit decoder(const value_base, bool exact=false); - 54 - 56 PN_CPP_EXTERN void decode(const char* buffer, size_t size); - 57 - 59 PN_CPP_EXTERN void decode(const std::string); + 31namespace proton { + 32 + 33class annotation_key; + 34class message_id; + 35class scalar; + 36class value; + 37 + 38namespace internal { + 39class value_base; + 40} + 41 + 42namespace codec { + 43 + 50class decoder : public data { + 51 public: + 55explicit decoder(const data d, bool exact=false) : data(d), exact_(exact) {} + 56 + 59 PN_CPP_EXTERN explicit decoder(const internal::value_base, bool exact=false); 60 - 62 PN_CPP_EXTERN bool more(); - 63 - 66 PN_CPP_EXTERN type_id next_type(); - 67 - 71 PN_CPP_EXTERN decoder operator(bool); - 72 PN_CPP_EXTERN decoder operator(uint8_t); - 73 PN_CPP_EXTERN decoder operator(int8_t); - 74 PN_CPP_EXTERN decoder operator(uint16_t); - 75 PN_CPP_EXTERN decoder operator(int16_t); - 76 PN_CPP_EXTERN decoder operator(uint32_t); - 77 PN_CPP_EXTERN decoder operator(int32_t); - 78 PN_CPP_EXTERN decoder operator(wchar_t); - 79 PN_CPP_EXTERN decoder operator(uint64_t); - 80 PN_CPP_EXTERN decoder operator(int64_t); - 81 PN_CPP_EXTERN decoder operator(timestamp); - 82
[07/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex0.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex0.js b/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex0.js index 64cf251..851375e 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex0.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex0.js @@ -1,253 +1,253 @@ var NAVTREEINDEX0 = { -".html":[5,0,0,0], -".html":[5,0,0,1], -".html":[5,0,0,1,0], -"acceptor_8hpp_source.html":[6,0,0,1], -"amqp_8hpp_source.html":[6,0,0,2], +"amqp__types_8hpp_source.html":[6,0,0,0,0], "annotated.html":[5,0], "annotation__key_8hpp_source.html":[6,0,0,3], "binary_8hpp_source.html":[6,0,0,4], "byte__array_8hpp_source.html":[6,0,0,5], -"classproton_1_1acceptor.html":[5,0,0,2], -"classproton_1_1acceptor.html#a5ae591df94fc66ccb85cbb6565368bca":[5,0,0,2,1], -"classproton_1_1acceptor.html#ab963172f8e38b29e67d2b0f2081fbd12":[5,0,0,2,2], -"classproton_1_1acceptor.html#abca6c99d0ebf350dc36d2277a3e4ccca":[5,0,0,2,0], -"classproton_1_1annotation__key.html":[5,0,0,3], -"classproton_1_1annotation__key.html#a056f77e21066cbf900772853454102a8":[5,0,0,3,0], -"classproton_1_1annotation__key.html#a66ceb164d011d6093397953a5593b9dc":[5,0,0,3,2], -"classproton_1_1annotation__key.html#a6a70b946e3620c70eac8e97f7f33fb27":[5,0,0,3,6], -"classproton_1_1annotation__key.html#aa20857e13b7782626fe3adeda0ef445a":[5,0,0,3,4], -"classproton_1_1annotation__key.html#aab3f78c82556a26b3c2e8736a7d0c777":[5,0,0,3,9], -"classproton_1_1annotation__key.html#ab73c44b530463fda5e11bc403ca9edd3":[5,0,0,3,7], -"classproton_1_1annotation__key.html#acde842b82d257271f07a642d344aeaa4":[5,0,0,3,5], -"classproton_1_1annotation__key.html#ace2642bea7a7ab2d830f42390eb4a604":[5,0,0,3,8], -"classproton_1_1annotation__key.html#adf5c253dc7ca30bb66f6fe057527660c":[5,0,0,3,3], -"classproton_1_1annotation__key.html#afdd676d37486aa26af7fdd588f994d26":[5,0,0,3,1], -"classproton_1_1binary.html":[5,0,0,4], -"classproton_1_1binary.html#a158c15ae02b18500986d8c1eaa364ba5":[5,0,0,4,0], -"classproton_1_1binary.html#a3cefe983fafd99d805c67436ae52ce0e":[5,0,0,4,2], -"classproton_1_1binary.html#a41d17800b6b2db7003118d667e84ca94":[5,0,0,4,1], -"classproton_1_1binary.html#a7d27cc515e59f676f08d399124be099d":[5,0,0,4,5], -"classproton_1_1binary.html#ac04f4568094b18213b75d4400d8e2477":[5,0,0,4,6], -"classproton_1_1binary.html#ae5587f73a9cbca80502df1f975566bca":[5,0,0,4,4], -"classproton_1_1binary.html#aef5a7fbdb5ce0fdbe911409cde269474":[5,0,0,4,3], -"classproton_1_1binary.html#af400dbe3fe1572c567f882190c772196":[5,0,0,4,7], -"classproton_1_1byte__array.html":[5,0,0,5], -"classproton_1_1byte__array.html#a03b598c27d7d68857a02259eca68ea7c":[5,0,0,5,11], -"classproton_1_1byte__array.html#a13c57dab17e2c903cadfa5e35ba84064":[5,0,0,5,1], -"classproton_1_1byte__array.html#a1881f7a7e8d9c1cb46fe6f4984e0c165":[5,0,0,5,17], -"classproton_1_1byte__array.html#a308ac5841c7984d6b8668cbdf7fbb030":[5,0,0,5,13], -"classproton_1_1byte__array.html#a421ef78ccdc84f0f6b2b14e2732527ba":[5,0,0,5,3], -"classproton_1_1byte__array.html#a43b072c392b8ed7e8e2a9009491b5a87":[5,0,0,5,20], -"classproton_1_1byte__array.html#a4b0424da8c99197075d119ba0959bf1e":[5,0,0,5,5], -"classproton_1_1byte__array.html#a4bbdd41bfc847213cc17df2150f2d36f":[5,0,0,5,10], -"classproton_1_1byte__array.html#a5cef60cb24e71a774ca7fd34a0299242":[5,0,0,5,12], -"classproton_1_1byte__array.html#a89a6dcafb6130e3e1bcd6d1285e0dd6f":[5,0,0,5,9], -"classproton_1_1byte__array.html#a8bac4d75006235270f0c23744aa2517e":[5,0,0,5,16], -"classproton_1_1byte__array.html#a92b881db836646f4039adcbb73c8595f":[5,0,0,5,8], -"classproton_1_1byte__array.html#a9e468c6efb6d8a6e23aa038e77e2683b":[5,0,0,5,14], -"classproton_1_1byte__array.html#aad40b6f664e3f2f7ab960886c2f7e325":[5,0,0,5,0], -"classproton_1_1byte__array.html#abe8933d436779a43cb5c1896ff5f2918":[5,0,0,5,7], -"classproton_1_1byte__array.html#ad25b518036b886d8f35a3c059301d007":[5,0,0,5,6], -"classproton_1_1byte__array.html#ad319fc54a93a2c7058c70e40428ed2e2":[5,0,0,5,4], -"classproton_1_1byte__array.html#ae826995827ec4abdb8e2212ebbc4e506":[5,0,0,5,18], -"classproton_1_1byte__array.html#aea40041f227d76ad1e1f063131bbc95c":[5,0,0,5,15], -"classproton_1_1byte__array.html#af73e25d01bd5857297741fe1e6ff986e":[5,0,0,5,19], -"classproton_1_1byte__array.html#afdb67657e63a66ed3fae7b0c9fd81b48":[5,0,0,5,2], -"classproton_1_1codec_1_1data.html":[3,0,0], -"classproton_1_1codec_1_1data.html#a2063391a2df2e01d257a0deea850258f":[3,0,0,1], -"classproton_1_1codec_1_1data.html#a6d2092659257ca523b45b972c740f98f":[3,0,0,7], -"classproton_1_1codec_1_1data.html#a7f81049d67d14f5690af825689397a95":[3,0,0,8], -"classproton_1_1codec_1_1data.html#aa3f101f08b701a1320781fec0ff23417":[3,0,0,0], -"classproton_1_1codec_1_1data.html#aa93b3077282a673a1cbb7eed3b08993f":[3,0,0,2],
[37/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.html index ed2ef49..cdf6981 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.html @@ -108,7 +108,6 @@ Inheritance diagram for message_id: - @@ -116,19 +115,15 @@ Inheritance diagram for message_id: Public Member Functions message_id () -An empty message_id has a uint64_t == 0 value. +An empty message_id has a uint64_t value set to 0. templateclass T message_id (const T x) Construct from any type that can be assigned. - -type_idtype () const -AMQP type of data stored in the scalar. - Assignment operators -Assign a C++ value, deduce the AMQP type() +Assign a C++ value, deduce the AMQP type() message_id operator= (uint64_t x) @@ -153,19 +148,19 @@ Related Functions template uint64_tget (const message_id x) -Get the uint64_t value or throw conversion_error. More... +Get the uint64_t value or throw conversion_error. More... template uuidget (const message_id x) -Get the uuid value or throw conversion_error. More... +Get the uuid value or throw conversion_error. More... template binaryget (const message_id x) -Get the binary value or throw conversion_error. More... +Get the binary value or throw conversion_error. More... template std::stringget (const message_id x) -Get the std::string value or throw conversion_error. More... +Get the std::string value or throw conversion_error. More... templateclass T Tcoerce (const message_id x) @@ -206,10 +201,10 @@ Related Functions Coerce the contained value to type T. For example: uint64_t i = getuint64_t(x) -Will succeed if x contains any numeric value, but may lose precision if it contains a float or double value. +This will succeed if x contains any numeric value, but may lose precision if it contains a float or double value. Exceptions -conversion_errorif the value cannot be converted to T according to std::is_convertible +conversion_errorif the value cannot be converted to T according to std::is_convertible @@ -238,7 +233,7 @@ Related Functions -Get the uint64_t value or throw conversion_error. +Get the uint64_t value or throw conversion_error. @@ -264,7 +259,7 @@ Related Functions -Get the uuid value or throw conversion_error. +Get the uuid value or throw conversion_error. @@ -290,7 +285,7 @@ Related Functions -Get the binary value or throw conversion_error. +Get the binary value or throw conversion_error. @@ -316,7 +311,7 @@ Related Functions -Get the std::string value or throw conversion_error. +Get the std::string value or throw conversion_error. http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.js index 36affed..219f959 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.js @@ -7,7 +7,6 @@ var classproton_1_1message__id = [ "operator=", "classproton_1_1message__id.html#aed980fe37bb256dba6b312cc2e9082bb", null ], [ "operator=", "classproton_1_1message__id.html#a782793e9b93fc85f7f7a0e74dc468521", null ], [ "operator=", "classproton_1_1message__id.html#a0e4798868734cc90ea4e9ed3ca870d3d", null ], -[ "type", "classproton_1_1message__id.html#a6a70b946e3620c70eac8e97f7f33fb27", null ], [ "coerce", "classproton_1_1message__id.html#a8965a5e1c4122df8aee11e971ceabd07", null ], [ "get", "classproton_1_1message__id.html#a8e96d12c2968550ffea0e57fc6ca2c7d", null ], [ "get", "classproton_1_1message__id.html#a9df1e3d65a418435d46c08f9cb2948de", null ], http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.png -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.png b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message__id.png index 86dc25b..b4f4af8 100755 Binary files
[42/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.html new file mode 100755 index 000..fd347f5 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.html @@ -0,0 +1,235 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: error_condition + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1error__condition.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +error_condition + + + +Describes an endpoint error state. + More... + +#include error_condition.hpp + + +Public Member Functions + +error_condition () +Create an empty error condition. + +error_condition (std::string description) +Create an error condition with only a description. More... + + +error_condition (std::string name, std::string description) +Create an error condition with a name and description. + +error_condition (std::string name, std::string description, proton::value properties) +Experimental - Create an error condition with name, description, and informational properties. More... + +booloperator! () const +If you are using a C++11 compiler, you may use an error_condition in boolean contexts. More... + + +boolempty () const +No condition has been set. + + +std::stringname () const +Condition name. + + +std::stringdescription () const +Descriptive string for condition. + + +valueproperties () const +Extra information for condition. + + +std::stringwhat () const +Simple printable string for condition. + + +Detailed Description +Describes an endpoint error state. +Constructor Destructor Documentation + + + + + + error_condition + ( + std::string + description) + + + + + +Create an error condition with only a description. +A default name will be used ("proton:io:error"). + + + + + + + + + error_condition + ( + std::string + name, + + + + + std::string + description, + + + + + proton::value + properties + + + + ) + + + + + +Experimental - Create an error condition with name, description, and informational properties. + + + +Member Function Documentation + + + + + + bool operator! + ( + ) + const + + + + +If you are using a C++11 compiler, you may use an error_condition in boolean contexts. +The expression will be true if the error_condition is set. No condition set. + + + +The documentation for this class was generated from the following file: +proton/error_condition.hpp + + + + + + +protonerror_condition +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.js new file mode 100755 index 000..34fc9c1 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1error__condition.js @@ -0,0 +1,13 @@ +var classproton_1_1error__condition = +[ +[ "error_condition", "classproton_1_1error__condition.html#a66ce60ce079e6a9446d8dad21b9a63bb", null ], +[ "error_condition", "classproton_1_1error__condition.html#a4f32954b9494f55fa28e99c3402f254b", null ], +[ "error_condition", "classproton_1_1error__condition.html#ab882b2726f7171112feba9d03ff9a588", null ], +[ "error_condition", "classproton_1_1error__condition.html#a7f06478c5510128d7cf62b394161b9b3", null ], +[ "description", "classproton_1_1error__condition.html#a7b5000e45c1386c4e56ef650f6b0ef5b", null ], +[ "empty",
[14/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/link_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/link_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/link_8hpp_source.html index 2045773..1f038aa 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/link_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/link_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('link_8hpp_source.html','');}); link.hpp -1#ifndef PROTON_CPP_LINK_H - 2#define PROTON_CPP_LINK_H +1#ifndef PROTON_LINK_HPP + 2#define PROTON_LINK_HPP 3 4/* 5 * @@ -117,141 +117,87 @@ $(document).ready(function(){initNavTree('link_8hpp_source.html','');}); 22 * 23 */ 24 - 25#include proton/endpoint.hpp - 26#include proton/export.hpp - 27#include proton/message.hpp - 28#include proton/terminus.hpp - 29 - 30#include proton/object.hpp - 31#include proton/link_options.hpp - 32 - 33#include proton/types.h - 34 - 35#include string - 36 - 37namespace proton { - 38 - 39class sender; - 40class receiver; - 41class condition; - 42class link_context; - 43 - 46class - 47PN_CPP_CLASS_EXTERN link : public internal::objectpn_link_t , public endpoint { - 49 link(pn_link_t* l) : internal::objectpn_link_t(l) {} - 51 - 52 public: - 53 link() : internal::objectpn_link_t(0) {} - 54 - 55 // Endpoint behaviours - 56 - 58 PN_CPP_EXTERN endpoint::state state() const; - 59 - 60 PN_CPP_EXTERN condition local_condition() const; - 61 PN_CPP_EXTERN condition remote_condition() const; - 62 - 65 PN_CPP_EXTERN void open(const link_options opts = link_options()); - 66 - 69 PN_CPP_EXTERN void close(); - 70 - 75 PN_CPP_EXTERN void detach(); - 76 - 78 PN_CPP_EXTERN class sender sender(); - 79 - 81 PN_CPP_EXTERN const class sender sender() const; - 82 - 84 PN_CPP_EXTERN class receiver receiver(); - 85 - 87 PN_CPP_EXTERN const class receiver receiver() const; - 88 - 90 PN_CPP_EXTERN int credit() const; - 91 - 93 PN_CPP_EXTERN int queued(); - 94 - 98 PN_CPP_EXTERN int unsettled(); - 100 - 104 PN_CPP_EXTERN int drained(); - 106 - 108 PN_CPP_EXTERN terminus local_source() const; - 109 - 111 PN_CPP_EXTERN terminus local_target() const; + 25#include proton/endpoint.hpp + 26#include proton/export.hpp + 27#include proton/message.hpp + 28#include proton/source.hpp + 29#include proton/target.hpp + 30#include proton/internal/object.hpp + 31#include proton/sender_options.hpp + 32#include proton/receiver_options.hpp + 33 + 34#include proton/types.h + 35 + 36#include string + 37 + 38namespace proton { + 39 + 40class sender; + 41class receiver; + 42class error_condition; + 43class link_context; + 44class proton_event; + 45class messaging_adapter; + 46class proton_handler; + 47class delivery; + 48class connection; + 49class container; + 50class session; + 51class sender_iterator; + 52class receiver_iterator; + 53 + 56class + 57PN_CPP_CLASS_EXTERN link : public internal::objectpn_link_t , public endpoint { + 59 link(pn_link_t* l) : internal::objectpn_link_t(l) {} + 61 + 62 public: + 64link() : internal::objectpn_link_t(0) {} + 65 + 66 PN_CPP_EXTERN bool uninitialized() const; + 67 PN_CPP_EXTERN bool active() const; + 68 PN_CPP_EXTERN bool closed() const; + 69 + 70 PN_CPP_EXTERN class error_condition error() const; + 71 + 72 PN_CPP_EXTERN void close(); + 73 PN_CPP_EXTERN void close(const error_condition); + 74 + 79 // XXX Should take error condition + 80 PN_CPP_EXTERN void detach(); + 81 + 83 PN_CPP_EXTERN int credit() const; + 84 + 91 PN_CPP_EXTERN bool draining(); + 92 + 94 PN_CPP_EXTERN std::string name() const; + 95 + 97 PN_CPP_EXTERN class container container() const; + 98 + 100 PN_CPP_EXTERN class connection connection() const; + 101 + 103 PN_CPP_EXTERN class session session() const; + 104 + 105 protected: + 107 + 108 // Initiate the AMQP attach frame. + 109 void attach(); + 110 + 111 friend class internal::factorylink; 112 - 114 PN_CPP_EXTERN terminus remote_source() const; + 114}; 115 - 117 PN_CPP_EXTERN terminus remote_target() const; - 118 - 120 PN_CPP_EXTERN std::string name() const; - 121 - 123 PN_CPP_EXTERN class container container() const; - 124 - 126 PN_CPP_EXTERN class connection connection() const; - 127 - 129 PN_CPP_EXTERN class session
[01/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
Repository: qpid-site Updated Branches: refs/heads/asf-site 0cf607fac -> 627da7248 http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/search/all_c.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/search/all_c.js b/content/releases/qpid-proton-master/proton/cpp/api/search/all_c.js index a845cae..2d4a715 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/search/all_c.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/search/all_c.js @@ -1,39 +1,44 @@ var searchData= [ ['ok',['OK',['../classproton_1_1sasl.html#af47997198e7e7301a1cd8602c7f02acda2bc49ec37d6a5715dd23e85f1ff5bb59',1,'proton::sasl']]], - ['on_5fconnection_5fclose',['on_connection_close',['../classproton_1_1handler.html#a804f0ea9c2754f143624b4078a61f650',1,'proton::handler']]], - ['on_5fconnection_5ferror',['on_connection_error',['../classproton_1_1handler.html#aafa83dc2f8f477ba1f76e86dc69cd1e9',1,'proton::handler']]], - ['on_5fconnection_5fopen',['on_connection_open',['../classproton_1_1handler.html#a16ba022e899957b2e25b9561b1f53968',1,'proton::handler']]], - ['on_5fcontainer_5fstart',['on_container_start',['../classproton_1_1handler.html#a4949b0c93402fae0c07492d984688a25',1,'proton::handler']]], - ['on_5fdelivery_5faccept',['on_delivery_accept',['../classproton_1_1handler.html#a7dd4db2d94ff7493e172aaa0a516ea12',1,'proton::handler']]], - ['on_5fdelivery_5freject',['on_delivery_reject',['../classproton_1_1handler.html#aa9bb667a0dd8cbe7a0b22323bdf706fd',1,'proton::handler']]], - ['on_5fdelivery_5frelease',['on_delivery_release',['../classproton_1_1handler.html#aa285c53270943fd19df10b62d7f92130',1,'proton::handler']]], - ['on_5fdelivery_5fsettle',['on_delivery_settle',['../classproton_1_1handler.html#afc96eabc76c471d61627493eadb58ac8',1,'proton::handler']]], - ['on_5fmessage',['on_message',['../classproton_1_1handler.html#a96879b0b0b7ade11f98d3f450abd4c46',1,'proton::handler']]], - ['on_5freceiver_5fclose',['on_receiver_close',['../classproton_1_1handler.html#a77ac5c1fd05404728451cd06dee1c907',1,'proton::handler']]], - ['on_5freceiver_5ferror',['on_receiver_error',['../classproton_1_1handler.html#a0c281aee5483822bdf4b428834bd7f28',1,'proton::handler']]], - ['on_5freceiver_5fopen',['on_receiver_open',['../classproton_1_1handler.html#a768b0a50669aa1d512d12e9d68af14cd',1,'proton::handler']]], - ['on_5fsendable',['on_sendable',['../classproton_1_1handler.html#aa24f522a68cdf382762702cece7790e7',1,'proton::handler']]], - ['on_5fsender_5fclose',['on_sender_close',['../classproton_1_1handler.html#a7942b98699bd21e827041626ee1b5c84',1,'proton::handler']]], - ['on_5fsender_5ferror',['on_sender_error',['../classproton_1_1handler.html#a2d9d98eee878f1e734457ba01e21228a',1,'proton::handler']]], - ['on_5fsender_5fopen',['on_sender_open',['../classproton_1_1handler.html#a0b5d066e5463d3365f662c8a7dc52661',1,'proton::handler']]], - ['on_5fsession_5fclose',['on_session_close',['../classproton_1_1handler.html#a54fe4fc5394418f8606f9263f13d2e98',1,'proton::handler']]], - ['on_5fsession_5ferror',['on_session_error',['../classproton_1_1handler.html#aca924d2f68649df7945719be3d29a597',1,'proton::handler']]], - ['on_5fsession_5fopen',['on_session_open',['../classproton_1_1handler.html#adddbfd9b7fc7719490bdc21331c42302',1,'proton::handler']]], - ['on_5ftransport_5fclose',['on_transport_close',['../classproton_1_1handler.html#a47c33c5e6c13d23f1b8a745bf7bdfa8f',1,'proton::handler']]], - ['on_5ftransport_5ferror',['on_transport_error',['../classproton_1_1handler.html#af89551ce0e44ae3465d4b078f1c87653',1,'proton::handler']]], - ['on_5funhandled_5ferror',['on_unhandled_error',['../classproton_1_1handler.html#ae4aed3af3c63842de90297f851ac7d2a',1,'proton::handler']]], - ['open',['open',['../classproton_1_1link.html#afdfda4724950dfecdbc2e74b6a888998',1,'proton::link']]], - ['open_5freceiver',['open_receiver',['../classproton_1_1connection.html#af1fb4d28f91a33fb7c8a73a4083f6745',1,'proton::connection::open_receiver()'],['../classproton_1_1container.html#a9d15beec9803fa359017bb6263cef249',1,'proton::container::open_receiver()'],['../classproton_1_1session.html#af1fb4d28f91a33fb7c8a73a4083f6745',1,'proton::session::open_receiver()']]], - ['open_5fsender',['open_sender',['../classproton_1_1connection.html#a7ebd6d1b79102078ccdb1e07b1cd90f7',1,'proton::connection::open_sender()'],['../classproton_1_1container.html#ae8a3a769f9c424c05993f6d137376c76',1,'proton::container::open_sender()'],['../classproton_1_1session.html#a7ebd6d1b79102078ccdb1e07b1cd90f7',1,'proton::session::open_sender()']]], - ['open_5fsession',['open_session',['../classproton_1_1connection.html#a417060fdeea996b1684bd0fecc6c6420',1,'proton::connection']]], - ['operator_21',['operator!',['../classproton_1_1condition.html#ac8b1d32dbd52d431450c70b151cfa205',1,'proton::condition']]], -
[35/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.js index 7facca0..dd9cfe8 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.js @@ -1,44 +1,31 @@ var classproton_1_1messaging__handler = [ -[ "messaging_handler", "classproton_1_1messaging__handler.html#abbdb59a6250e1781d54437f544c629a5", null ], -[ "~messaging_handler", "classproton_1_1messaging__handler.html#a201aeea68c4111e6be199c26b334ad4c", null ], -[ "on_abort", "classproton_1_1messaging__handler.html#a342e728ae59acf4d63296600991c1c0e", null ], -[ "on_accepted", "classproton_1_1messaging__handler.html#aa70fe409c59582573ef775236ffd0165", null ], -[ "on_commit", "classproton_1_1messaging__handler.html#a068c76a13e5f47a57d71d347ad9240fa", null ], -[ "on_connection_closed", "classproton_1_1messaging__handler.html#ad22b0bb4ea660d87cd05c04b944ed223", null ], -[ "on_connection_closing", "classproton_1_1messaging__handler.html#a4f7968eb3590e8a7eaee63f4884fd1d7", null ], -[ "on_connection_error", "classproton_1_1messaging__handler.html#a8fe71d24a2f27fc51ade0dd300968bb3", null ], -[ "on_connection_opened", "classproton_1_1messaging__handler.html#ad858e0315d485567f427d791bc86bd64", null ], -[ "on_connection_opening", "classproton_1_1messaging__handler.html#aa721e490819f1596a56b65aa38441a4c", null ], -[ "on_disconnected", "classproton_1_1messaging__handler.html#a441487bc690c2eb1cbf97d65184978fd", null ], -[ "on_fetch", "classproton_1_1messaging__handler.html#a2b116c546f5259df1450b215aa4203bc", null ], -[ "on_id_loaded", "classproton_1_1messaging__handler.html#a6cd4ee17d4e9196515bb46f41b0d273c", null ], -[ "on_link_closed", "classproton_1_1messaging__handler.html#a3858a996dec37f557d061ad69d80c43a", null ], -[ "on_link_closing", "classproton_1_1messaging__handler.html#a67f713f9367f89a065da6a355e53876b", null ], -[ "on_link_error", "classproton_1_1messaging__handler.html#a3d57f197d9df3bed62288a91b0b94b49", null ], -[ "on_link_opened", "classproton_1_1messaging__handler.html#ade9936a6e49dbf06e1f4a73cd13c9bfe", null ], -[ "on_link_opening", "classproton_1_1messaging__handler.html#a7d22e4de1bd7972ecb8b37c1074c27ef", null ], -[ "on_message", "classproton_1_1messaging__handler.html#aaf6bffc63bf68e3b789dcc5a1f0be849", null ], -[ "on_quit", "classproton_1_1messaging__handler.html#a26463d9070301e895433bc02554c7f17", null ], -[ "on_record_inserted", "classproton_1_1messaging__handler.html#a9be899f5195747fac947fc2e4019006f", null ], -[ "on_records_loaded", "classproton_1_1messaging__handler.html#aabd226c05f21df4df92873c20cb1205c", null ], -[ "on_rejected", "classproton_1_1messaging__handler.html#a3ac9f85435c46ac2ef17460cb2c52b6c", null ], -[ "on_released", "classproton_1_1messaging__handler.html#ab2d70633d5aa1f9f139ec075b832b5bb", null ], -[ "on_request", "classproton_1_1messaging__handler.html#a8642383ca3fd3dcf2f6db41969ec8349", null ], -[ "on_response", "classproton_1_1messaging__handler.html#a8c6045ac4c1b358d8cd32be33bbfa243", null ], -[ "on_sendable", "classproton_1_1messaging__handler.html#ac7fce3d3c61df8d53a00bacad8a9f937", null ], -[ "on_session_closed", "classproton_1_1messaging__handler.html#a97c99d89d177a396e97ef737719d2f6d", null ], -[ "on_session_closing", "classproton_1_1messaging__handler.html#a57a0d3bdd4eb6a96016196d1fc52778e", null ], -[ "on_session_error", "classproton_1_1messaging__handler.html#a16becd364ba2242b1d2688fa535e8397", null ], -[ "on_session_opened", "classproton_1_1messaging__handler.html#a806621c79d4762ab27957d8933803d47", null ], -[ "on_session_opening", "classproton_1_1messaging__handler.html#ada14844330655ad08c40ff96b2690ed2", null ], -[ "on_settled", "classproton_1_1messaging__handler.html#a67cddcec4df563665f015c825c141e04", null ], -[ "on_start", "classproton_1_1messaging__handler.html#a965406fe0d0ffd4097a70b92378dd52f", null ], -[ "on_timer", "classproton_1_1messaging__handler.html#a36f50f05b7b078f28617c85b2beb4fa8", null ], -[ "on_transaction_aborted", "classproton_1_1messaging__handler.html#ab600ef26e91810e3e9a651ce3d5f6873", null ], -[ "on_transaction_committed", "classproton_1_1messaging__handler.html#ac9b68a7cf93a755d5753f1773513f8d2", null ], -[ "on_transaction_declared", "classproton_1_1messaging__handler.html#a1f6b856f15ee9de7bb871e3022e4709d", null ], -[ "on_transport_closed",
[44/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.html index 918ee02..48a41fa 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.html @@ -107,7 +107,7 @@ Inheritance diagram for decimal64: - + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.png -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.png b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.png index 9a0733c..432b232 100755 Binary files a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.png and b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1decimal64.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1default__container-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1default__container-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1default__container-members.html new file mode 100755 index 000..23d607f --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1default__container-members.html @@ -0,0 +1,139 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: Member List + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1default__container.html','');}); + + + + + + + + + + + + + + +default_container Member List + + + +This is the complete list of members for default_container, including all inherited members. + + auto_stop(bool set) PN_CPP_OVERRIDEdefault_containervirtual + client_connection_options(const connection_options o) PN_CPP_OVERRIDEdefault_containervirtual + client_connection_options() const PN_CPP_OVERRIDEdefault_containervirtual + connect(const std::string url, const connection_options ) PN_CPP_OVERRIDEdefault_containervirtual + proton::container::connect(const std::string url)container + default_container(proton::messaging_handler h, const std::string id=)default_containerexplicit + default_container(const std::string id=)default_containerexplicit + default_container(container *c)default_containerinlineexplicit + id() const PN_CPP_OVERRIDEdefault_containervirtual + listen(const std::string url, listen_handler l) PN_CPP_OVERRIDEdefault_containervirtual + proton::container::listen(const std::string url, const connection_options )containervirtual + proton::container::listen(const std::string url)containervirtual + open_receiver(const std::string url, const proton::receiver_options o=proton::receiver_options(), const connection_options c=connection_options()) PN_CPP_OVERRIDEdefault_containervirtual + proton::container::open_receiver(const std::string url)containervirtual + proton::container::open_receiver(const std::string url, const proton::receiver_options o)containervirtual + open_sender(const std::string url, const proton::sender_options o=proton::sender_options(), const connection_options c=connection_options()) PN_CPP_OVERRIDEdefault_containervirtual + proton::container::open_sender(const std::string url)containervirtual + proton::container::open_sender(const std::string url, const proton::sender_options o)containervirtual + receiver_options(const class receiver_options o) PN_CPP_OVERRIDEdefault_container + receiver_options() const PN_CPP_OVERRIDEdefault_containervirtual + proton::container::receiver_options(const receiver_options )=0containerpure virtual + run() PN_CPP_OVERRIDEdefault_containervirtual + sender_options(const class sender_options o) PN_CPP_OVERRIDEdefault_container + sender_options() const PN_CPP_OVERRIDEdefault_containervirtual + proton::container::sender_options(const sender_options )=0containerpure virtual +
[38/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message-members.html index a5b69db..91cf95b 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message-members.html @@ -96,61 +96,63 @@ $(document).ready(function(){initNavTree('classproton_1_1message.html','');}); This is the complete list of members for message, including all inherited members. - address(const std::string addr) (defined in message)message - address() const (defined in message)message annotation_map typedefmessage - application_properties()message - application_properties() const (defined in message)message body(const value x)message body() const message body()message clear()message - content_encoding(const std::string s) (defined in message)message - content_encoding() const (defined in message)message - content_type(const std::string s) (defined in message)message - content_type() const (defined in message)message - correlation_id(const message_id ) (defined in message)message - correlation_id() const (defined in message)message - creation_time(timestamp t) (defined in message)message - creation_time() const (defined in message)message + content_encoding(const std::string s)message + content_encoding() const message + content_type(const std::string s)message + content_type() const message + correlation_id(const message_id )message + correlation_id() const message + creation_time(timestamp t)message + creation_time() const message decode(const std::vector char bytes)message delivery_annotations()message - delivery_annotations() const (defined in message)message + delivery_annotations() const message delivery_count() const message delivery_count(uint32_t)message durable() const message durable(bool)message encode(std::vector char bytes) const message encode() const message - expiry_time(timestamp t) (defined in message)message - expiry_time() const (defined in message)message + expiry_time(timestamp t)message + expiry_time() const message first_acquirer() const message first_acquirer(bool)message - group_id(const std::string s) (defined in message)message - group_id() const (defined in message)message + group_id(const std::string s)message + group_id() const message group_sequence() const message group_sequence(int32_t)message - id(const message_id id) (defined in message)message - id() const (defined in message)message + id(const message_id id)message + id() const message inferred() const message inferred(bool)message message()message message(const message )message message(const value x)message message_annotations()message - message_annotations() const (defined in message)message + message_annotations() const message operator=(const message )message priority() const message priority(uint8_t)message + properties()message + properties() const message property_map typedefmessage - reply_to(const std::string addr) (defined in message)message - reply_to() const (defined in message)message - reply_to_group_id(const std::string s) (defined in message)message - reply_to_group_id() const (defined in message)message - subject(const std::string s) (defined in message)message - subject() const (defined in message)message + reply_to(const std::string addr)message + reply_to() const message + reply_to_group_id(const std::string s)message + reply_to_group_id() const message + subject(const std::string s)message + subject() const message + to(const std::string addr)message + to() const message ttl() const message ttl(duration)message + user(const std::string user)message + user() const message ~message() (defined in message)message http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message.html index ce5d0a9..d139549 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1message.html @@ -105,13 +105,11 @@ $(document).ready(function(){initNavTree('classproton_1_1message.html','');}); Public Types - -typedef std::map std::string,
[51/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
QPID-7201: Update the Proton master snapshot Project: http://git-wip-us.apache.org/repos/asf/qpid-site/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-site/commit/627da724 Tree: http://git-wip-us.apache.org/repos/asf/qpid-site/tree/627da724 Diff: http://git-wip-us.apache.org/repos/asf/qpid-site/diff/627da724 Branch: refs/heads/asf-site Commit: 627da72481ba96aada2190b94893862f2d4b8db7 Parents: 0cf607f Author: Justin RossAuthored: Tue May 17 05:43:15 2016 -0700 Committer: Justin Ross Committed: Tue May 17 05:43:15 2016 -0700 -- content/releases/qpid-proton-master/index.html |2 +- .../proton/c/api/group__connection.html |6 +- .../proton/c/api/group__reactor.html| 13 +- .../proton/c/api/reactor_8h_source.html | 70 +- .../proton/c/api/version_8h_source.html |2 +- .../proton/cpp/api/amqp__types_8hpp_source.html | 211 +++ .../proton/cpp/api/annotated.html | 118 +- .../cpp/api/annotation__key_8hpp_source.html| 119 +- .../proton/cpp/api/binary_8hpp_source.html | 99 +- .../proton/cpp/api/byte__array_8hpp_source.html | 168 +- .../proton/cpp/api/classes.html | 57 +- .../classproton_1_1annotation__key-members.html |1 - .../cpp/api/classproton_1_1annotation__key.html | 79 +- .../cpp/api/classproton_1_1annotation__key.js |1 - .../cpp/api/classproton_1_1annotation__key.png | Bin 485 -> 869 bytes .../proton/cpp/api/classproton_1_1binary.html |2 +- .../cpp/api/classproton_1_1byte__array.html | 15 +- .../cpp/api/classproton_1_1byte__array.png | Bin 717 -> 712 bytes ...classproton_1_1codec_1_1decoder-members.html | 76 +- .../api/classproton_1_1codec_1_1decoder.html| 203 ++- .../cpp/api/classproton_1_1codec_1_1decoder.js | 10 +- ...classproton_1_1codec_1_1encoder-members.html | 68 +- .../api/classproton_1_1codec_1_1encoder.html| 90 +- .../cpp/api/classproton_1_1codec_1_1encoder.js | 14 +- .../api/classproton_1_1connection-members.html | 44 +- .../cpp/api/classproton_1_1connection.html | 348 ++-- .../proton/cpp/api/classproton_1_1connection.js | 28 +- .../cpp/api/classproton_1_1connection.png | Bin 386 -> 1427 bytes ...ssproton_1_1connection__options-members.html | 22 +- .../api/classproton_1_1connection__options.html | 54 +- .../api/classproton_1_1connection__options.js | 10 +- .../api/classproton_1_1container-members.html | 36 +- .../cpp/api/classproton_1_1container.html | 696 +++- .../proton/cpp/api/classproton_1_1container.js | 36 +- .../proton/cpp/api/classproton_1_1container.png | Bin 0 -> 749 bytes .../cpp/api/classproton_1_1decimal128.html |2 +- .../cpp/api/classproton_1_1decimal128.png | Bin 526 -> 969 bytes .../cpp/api/classproton_1_1decimal32.html |2 +- .../proton/cpp/api/classproton_1_1decimal32.png | Bin 512 -> 953 bytes .../cpp/api/classproton_1_1decimal64.html |2 +- .../proton/cpp/api/classproton_1_1decimal64.png | Bin 514 -> 957 bytes ...assproton_1_1default__container-members.html | 139 ++ .../api/classproton_1_1default__container.html | 1016 +++ .../api/classproton_1_1default__container.js| 31 + .../api/classproton_1_1default__container.png | Bin 0 -> 488 bytes .../api/classproton_1_1delivery-members.html| 25 +- .../proton/cpp/api/classproton_1_1delivery.html | 114 +- .../proton/cpp/api/classproton_1_1delivery.js | 15 +- .../proton/cpp/api/classproton_1_1delivery.png | Bin 0 -> 1280 bytes .../api/classproton_1_1duration-members.html|7 +- .../proton/cpp/api/classproton_1_1duration.html | 30 +- .../proton/cpp/api/classproton_1_1duration.js |3 +- .../proton/cpp/api/classproton_1_1duration.png | Bin 562 -> 558 bytes .../api/classproton_1_1endpoint-members.html| 19 +- .../proton/cpp/api/classproton_1_1endpoint.html | 116 +- .../proton/cpp/api/classproton_1_1endpoint.js |9 +- ...classproton_1_1error__condition-members.html | 120 ++ .../api/classproton_1_1error__condition.html| 235 +++ .../cpp/api/classproton_1_1error__condition.js | 13 + .../api/classproton_1_1event__loop-members.html | 112 ++ .../cpp/api/classproton_1_1event__loop.html | 129 ++ .../cpp/api/classproton_1_1event__loop.js |5 + .../classproton_1_1inject__handler-members.html | 112 ++ .../cpp/api/classproton_1_1inject__handler.html | 129 ++ .../cpp/api/classproton_1_1inject__handler.js |5 + ...ton_1_1io_1_1connection__engine-members.html | 126 ++ ...classproton_1_1io_1_1connection__engine.html | 426 + .../classproton_1_1io_1_1connection__engine.js | 19 + ..._1_1io_1_1container__impl__base-members.html | 138 ++ ...ssproton_1_1io_1_1container__impl__base.html | 1021 +++ ...lassproton_1_1io_1_1container__impl__base.js | 30
[30/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1terminus.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1terminus.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1terminus.html index 9504cb0..94adc69 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1terminus.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1terminus.html @@ -102,148 +102,119 @@ $(document).ready(function(){initNavTree('classproton_1_1terminus.html','');}); More... #include terminus.hpp + +Inheritance diagram for terminus: + + + + + + + + Public Types -enum type { TYPE_UNSPECIFIED, -SOURCE, -TARGET, -COORDINATOR - }Type of terminus. More... - +enum durability_mode { NONDURABLE, +CONFIGURATION, +UNSETTLED_STATE + }The persistence mode of the source or target. More... + -enum durability { NONDURABLE, -CONFIGURATION, -DELIVERIES - }Durability. - - -enum expiry_policy { EXPIRE_WITH_LINK, -EXPIRE_WITH_SESSION, -EXPIRE_WITH_CONNECTION, -EXPIRE_NEVER - }Expiry policy. +enum expiry_policy { LINK_CLOSE, +SESSION_CLOSE, +CONNECTION_CLOSE, +NEVER + }When expiration of the source or target begins. More... -enum distribution_mode { MODE_UNSPECIFIED, -COPY, -MOVE - }Distribution mode. - - Public Member Functions - -enum typetype () const -Get the terminus type. - - -voidtype (enum type) -Set the terminus type. - enum expiry_policyexpiry_policy () const -Get the expiration policy. +Get the policy for when expiration begins. - -voidexpiry_policy (enum expiry_policy) -Set the expiration policy. - - -enum distribution_modedistribution_mode () const -Get the distribution mode. - - -voiddistribution_mode (enum distribution_mode) -Set the distribution mode. - - -enum durabilitydurability () -Get the durability flag. - - -voiddurability (enum durability) -Set the durability flag. - - -std::stringaddress () const -Get the source or target address. - - -voidaddress (const std::string ) -Set the source or target address. - +durationtimeout () const +The period after which the source is discarded on expiry. More... + + +enum durability_modedurability_mode () +Get the durability flag. + booldynamic () const True if the remote node is created dynamically. - -voiddynamic (bool) -Enable or disable dynamic creation of the remote node. - -value node_properties () -Obtain a reference to the AMQP dynamic node properties for the terminus. More... - -const value node_properties () const -Obtain a reference to the AMQP dynamic node properties for the terminus. More... - -value filter () -Obtain a reference to the AMQP filter set for the terminus. More... - -const value filter () const -Obtain a reference to the AMQP filter set for the terminus. More... - +valuenode_properties () const +Obtain a reference to the AMQP dynamic node properties for the terminus. More... + Detailed Description One end of a link, either a source or a target. The source terminus is where messages originate; the target terminus is where they go. See alsoproton::link Member Enumeration Documentation - + - enum type + enum durability_mode -Type of terminus. +The persistence mode of the source or target. -EnumeratorCOORDINATOR -Transaction coordinator. +EnumeratorNONDURABLE +No persistence. + +CONFIGURATION +Only configuration is persisted. + +UNSETTLED_STATE +Configuration and unsettled state are persisted. -Member Function Documentation - + - value filter - ( - ) - + enum expiry_policy -Obtain a reference to the AMQP filter set for the terminus. -See also link_options::selector. +When expiration of the source or target begins. + +EnumeratorLINK_CLOSE +When the link is closed. + +SESSION_CLOSE +When the containing session is closed. + +CONNECTION_CLOSE +When the containing connection is closed. + +NEVER +The terminus never expires. + + - +Member Function Documentation + - const value filter + value node_properties ( ) const @@ -251,35 +222,17 @@ void -Obtain a reference to the AMQP filter set for the terminus. -See also link_options::selector. - - - - - - - - - value node_properties - ( - ) - - - - - Obtain a reference to the AMQP dynamic node properties for the terminus. -See also link_options::lifetime_policy. +See also lifetime_policy. - + - const value node_properties + duration timeout (
[23/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/default__container_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/default__container_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/default__container_8hpp_source.html new file mode 100755 index 000..901c02a --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/default__container_8hpp_source.html @@ -0,0 +1,202 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: proton/default_container.hpp Source File + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('default__container_8hpp_source.html','');}); + + + + + + + + + + + + + + +default_container.hpp + + +1#ifndef PROTON_DEFAULT_CONTAINER_HPP + 2#define PROTON_DEFAULT_CONTAINER_HPP + 3 + 4/* + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25// FIXME aconway 2016-05-04: doc + 26 + 27#include proton/container.hpp + 28 + 29namespace proton { + 30 + 31// FIXME aconway 2016-05-04: doc + 32 + 34class PN_CPP_CLASS_EXTERN default_container : public container { + 35 public: + 40 PN_CPP_EXTERN explicit default_container(proton::messaging_handler h, const std::string id = ); + 41 + 51 PN_CPP_EXTERN explicit default_container(const std::string id = ); + 52 + 55PN_CPP_EXTERN explicit default_container(container* c) : impl_(c) {} + 56 + 57 // FIXME aconway 2016-05-13: @copydoc all. + 58 + 59 PN_CPP_EXTERN returnedconnection connect(const std::string url, const connection_options ) PN_CPP_OVERRIDE; + 60 PN_CPP_EXTERN listener listen(const std::string url, listen_handler l) PN_CPP_OVERRIDE; + 61 + 64 PN_CPP_EXTERN void stop_listening(const std::string url) PN_CPP_OVERRIDE; + 66 + 67 PN_CPP_EXTERN void run() PN_CPP_OVERRIDE; + 68 PN_CPP_EXTERN void auto_stop(bool set) PN_CPP_OVERRIDE; + 69 + 70 PN_CPP_EXTERN void stop(const error_condition err = error_condition()) PN_CPP_OVERRIDE; + 71 + 72 PN_CPP_EXTERN returnedsender open_sender( + 73 const std::string url, + 74 const proton::sender_options o = proton::sender_options(), + 75 const connection_options c = connection_options()) PN_CPP_OVERRIDE; + 76 + 77 PN_CPP_EXTERN returnedreceiver open_receiver( + 78 const std::stringurl, + 79 const proton::receiver_options o = proton::receiver_options(), + 80 const connection_options c = connection_options()) PN_CPP_OVERRIDE; + 81 + 82 PN_CPP_EXTERN std::string id() const PN_CPP_OVERRIDE; + 83 PN_CPP_EXTERN void client_connection_options(const connection_options o) PN_CPP_OVERRIDE; + 84 PN_CPP_EXTERN connection_options client_connection_options() const PN_CPP_OVERRIDE; + 85 PN_CPP_EXTERN void server_connection_options(const connection_options o) PN_CPP_OVERRIDE; + 86 PN_CPP_EXTERN connection_options server_connection_options() const PN_CPP_OVERRIDE; + 88 PN_CPP_EXTERN void sender_options(const class sender_options o) PN_CPP_OVERRIDE; + 89 PN_CPP_EXTERN class sender_options sender_options() const PN_CPP_OVERRIDE; + 91 PN_CPP_EXTERN void receiver_options(const class receiver_options o) PN_CPP_OVERRIDE; + 92 PN_CPP_EXTERN class receiver_options receiver_options() const PN_CPP_OVERRIDE; + 93 + 94 private: + 95
[40/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1container__impl__base.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1container__impl__base.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1container__impl__base.html new file mode 100755 index 000..8716ca7 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1container__impl__base.html @@ -0,0 +1,1021 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: container_impl_base + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1io_1_1container__impl__base.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +container_impl_baseabstract + + + +Experimental - A base container implementation. + More... + +#include container_impl_base.hpp + +Inheritance diagram for container_impl_base: + + + + + + + + + +Public Member Functions +voidclient_connection_options (const connection_options opts) +Connection options that will be to outgoing connections. More... + +connection_optionsclient_connection_options () const +Connection options that will be to outgoing connections. More... + +voidserver_connection_options (const connection_options opts) +Connection options that will be applied to incoming connections. More... + +connection_optionsserver_connection_options () const +Connection options that will be applied to incoming connections. More... + +voidsender_options (const class sender_options opts) +Sender options applied to senders created by this container. More... + +class sender_optionssender_options () const +Sender options applied to senders created by this container. More... + +voidreceiver_options (const class receiver_options opts) +Receiver options applied to receivers created by this container. More... + +class receiver_optionsreceiver_options () const +Receiver options applied to receivers created by this container. More... + +returned sender open_sender (const std::string url, const class sender_options opts, const connection_options copts) +Open a connection to url and open a sender for url.path(). More... + +returned receiver open_receiver (const std::string url, const class receiver_options opts, const connection_options copts) +Open a connection to url and open a receiver for url.path(). More... + +virtual returned connection connect (const std::string url, const connection_options )=0 +Connect to url and send an open request to the remote peer. More... + + +returned connection connect (const std::string url) +Connect to url and send an open request to the remote peer. + +virtual listenerlisten (const std::string url, listen_handler lh)=0 +Start listening on url. More... + +virtual listenerlisten (const std::string url, const connection_options ) +Listen with a fixed set of options for all accepted connections. More... + +virtual listenerlisten (const std::string url) +Start listening on URL. More... + +virtual voidrun ()=0 +Run the container in this thread. More... + +virtual voidauto_stop (bool)=0 +If true, the container will stop (i.e., run() will return) when all active connections and listeners are closed. More... + +virtual voidstop (const error_condition err=error_condition())=0 +Stop the container with an optional error_condition err. More... + + +virtual returned sender open_sender (const std::string url) +Open a connection to url and open a sender for url.path(). + +virtual returned sender open_sender (const std::string url, const proton::sender_options o) +Open a connection to url and open a sender for url.path(). More... + +virtual returned sender open_sender (const std::string url, const proton::sender_options o, const connection_options c)=0 +Open a connection to url and open a sender for url.path(). More... + +virtual returned receiver open_receiver (const std::string url) +Open a connection to url and open a receiver for url.path(). More... + +virtual returned receiver open_receiver (const std::string url, const proton::receiver_options o) +Open a connection to url and open a receiver for url.path(). More... + +virtual returned receiver open_receiver (const std::string url, const proton::receiver_options
[25/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/data_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/data_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/data_8hpp_source.html index bb588fd..1351691 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/data_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/data_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/data.hpp Source File +Qpid Proton C++ API: proton/codec/data.hpp Source File @@ -93,132 +93,130 @@ $(document).ready(function(){initNavTree('data_8hpp_source.html','');}); data.hpp -Go to the documentation of this file. 1#ifndef PROTON_DATA_HPP - 2#define PROTON_DATA_HPP +1#ifndef PROTON_CODEC_DATA_HPP + 2#define PROTON_CODEC_DATA_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/object.hpp - 24#include proton/types_fwd.hpp - 25#include proton/type_id.hpp - 26 + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/internal/object.hpp + 26#include proton/types_fwd.hpp + 27#include proton/type_id.hpp 28 29struct pn_data_t; 30 31namespace proton { 32 33class value; - 39 - 41namespace codec { - 42 - 44class data : public internal::objectpn_data_t { - 45 public: - 47data(pn_data_t* d=0) : internal::objectpn_data_t(d) {} - 48 - 50 PN_CPP_EXTERN static data create(); - 51 - 53 PN_CPP_EXTERN void copy(const data); - 54 - 56 PN_CPP_EXTERN void clear(); - 57 - 59 PN_CPP_EXTERN void rewind(); - 60 - 62 PN_CPP_EXTERN bool empty() const; - 63 - 65 PN_CPP_EXTERN int append(data src); - 66 - 68 PN_CPP_EXTERN int appendn(data src, int limit); - 69 - 70 protected: - 71 PN_CPP_EXTERN void* point() const; - 72 PN_CPP_EXTERN void restore(void* h); - 73 PN_CPP_EXTERN void narrow(); - 74 PN_CPP_EXTERN void widen(); - 75 PN_CPP_EXTERN bool next(); - 76 PN_CPP_EXTERN bool prev(); - 77 + 34 + 35// XXX - internal namespace + 36namespace codec { + 37 + 40class data : public internal::objectpn_data_t { + 42 data(pn_data_t* d) : internal::objectpn_data_t(d) {} + 43 + 44 public: + 46 data() : internal::objectpn_data_t(0) {} + 47 + 49 PN_CPP_EXTERN static data create(); + 50 + 52 PN_CPP_EXTERN void copy(const data); + 53 + 55 PN_CPP_EXTERN void clear(); + 56 + 58 PN_CPP_EXTERN void rewind(); + 59 + 61 PN_CPP_EXTERN bool empty() const; + 62 + 64 PN_CPP_EXTERN int append(data src); + 65 + 67 PN_CPP_EXTERN int appendn(data src, int limit); + 68 + 69 PN_CPP_EXTERN bool next(); + 70 PN_CPP_EXTERN void* point() const; + 71 PN_CPP_EXTERN void restore(void* h); + 72 + 73 protected: + 74 void narrow(); + 75 void widen(); + 76 + 77 friend class internal::factorydata;
[26/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/container_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/container_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/container_8hpp_source.html index dfd873c..3ed8249 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/container_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/container_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('container_8hpp_source.html','');}); container.hpp -1#ifndef PROTON_CPP_CONTAINER_H - 2#define PROTON_CPP_CONTAINER_H +1#ifndef PROTON_CONTAINER_HPP + 2#define PROTON_CONTAINER_HPP 3 4/* 5 * @@ -117,97 +117,109 @@ $(document).ready(function(){initNavTree('container_8hpp_source.html','');}); 22 * 23 */ 24 - 25#include proton/duration.hpp - 26#include proton/export.hpp - 27#include proton/pn_unique_ptr.hpp - 28#include proton/url.hpp - 29#include proton/connection_options.hpp - 30#include proton/link_options.hpp - 31 - 32#include string - 33 - 34namespace proton { - 35 - 36class connection; - 37class acceptor; - 38class handler; - 39class sender; - 40class receiver; - 41class link; - 42class handler; - 43class task; - 44class container_impl; - 45 - 50 - 56class container { - 57 public: - 65 PN_CPP_EXTERN container(const std::string id=std::string()); - 66 - 71 PN_CPP_EXTERN container(handler mhandler, const std::string id=std::string()); - 72 - 73 PN_CPP_EXTERN ~container(); - 74 - 76 PN_CPP_EXTERN connection connect(const proton::url, - 77 const connection_options opts = connection_options()); - 78 - 80 PN_CPP_EXTERN acceptor listen(const proton::url, - 81 const connection_options opts = connection_options()); - 82 - 85 PN_CPP_EXTERN void run(); + 25// FIXME aconway 2016-05-04: doc + 26 + 27#include proton/connection_options.hpp + 28#include proton/error_condition.hpp + 29#include proton/listener.hpp + 30#include proton/internal/pn_unique_ptr.hpp + 31#include proton/thread_safe.hpp + 32 + 33#include string + 34 + 35namespace proton { + 36 + 37class connection; + 38class connection_options; + 39class container_impl; + 40class messaging_handler; + 41class listen_handler; + 42class receiver; + 43class receiver_options; + 44class sender; + 45class sender_options; + 46class task; + 47 + 48class container; + 49 + 61class PN_CPP_CLASS_EXTERN container { + 62 public: + 63 PN_CPP_EXTERN virtual ~container(); + 64 + 76 virtual returnedconnection connect(const std::string url, const connection_options ) = 0; + 77 + 79 PN_CPP_EXTERN returnedconnection connect(const std::string url); + 80 + 84 virtual void stop_listening(const std::string url) = 0; 86 - 90 PN_CPP_EXTERN sender open_sender(const proton::url , - 91 const proton::link_options l = proton::link_options(), - 92 const connection_options c = connection_options()); - 93 - 97 PN_CPP_EXTERN receiver open_receiver(const url , - 98 const proton::link_options l = proton::link_options(), - 99 const connection_options c = connection_options()); - 100 - 102 PN_CPP_EXTERN std::string id() const; - 103 - 107 PN_CPP_EXTERN task schedule(int delay, handler *h = 0); - 108 - 110 - 115 PN_CPP_EXTERN void client_connection_options(const connection_options ); - 116 - 120 PN_CPP_EXTERN void server_connection_options(const connection_options ); - 121 - 126 PN_CPP_EXTERN void link_options(const link_options ); - 127 - 129 private: - 131 class reactor reactor() const; - 132 - 133 internal::pn_unique_ptrcontainer_impl impl_; - 134 - 135 friend class connector; - 136 friend class link; - 137 friend class messaging_adapter; - 139}; - 140 - 141} - 142 - 143#endif // PROTON_CPP_CONTAINER_H -proton::container::open_sendersender open_sender(const proton::url , const proton::link_options l=proton::link_options(), const connection_options c=connection_options())Open a connection to url and open a sender for url.path(). -proton::containerA top-level container of connections, sessions, and links. Definition: container.hpp:56 -proton::acceptorA context for accepting inbound connections. Definition: acceptor.hpp:36 -proton::container::server_connection_optionsvoid server_connection_options(const
[49/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/annotation__key_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/annotation__key_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/annotation__key_8hpp_source.html index 837b80e..f63bb78 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/annotation__key_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/annotation__key_8hpp_source.html @@ -93,67 +93,70 @@ $(document).ready(function(){initNavTree('annotation__key_8hpp_source.html',''); annotation_key.hpp -1#ifndef ANNOTATION_KEY_HPP - 2#define ANNOTATION_KEY_HPP +1#ifndef PROTON_ANNOTATION_KEY_HPP + 2#define PROTON_ANNOTATION_KEY_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/scalar_base.hpp - 24#include proton/symbol.hpp - 25 - 26namespace proton { + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/internal/scalar_base.hpp + 26#include proton/symbol.hpp 27 - 31class annotation_key : public scalar_base { - 32 public: - 33 using scalar_base::type; - 34 - 36annotation_key() { put_(uint64_t(0)); } - 37 - 39template class T annotation_key(const T x) { *this = x; } - 40 - 43 annotation_key operator=(uint64_t x) { put_(x); return *this; } - 44 annotation_key operator=(const symbol x) { put_(x); return *this; } - 48 annotation_key operator=(const std::string x) { put_(symbol(x)); return *this; } - 49 annotation_key operator=(const char *x) { put_(symbol(x)); return *this; } - 51 - 53 friend class message; - 54 friend class codec::decoder; - 56}; - 57 - 59template class T T get(const annotation_key x); - 61 - 63template inline uint64_t getuint64_t(const annotation_key x) { return internal::getuint64_t(x); } - 65template inline symbol getsymbol(const annotation_key x) { return internal::getsymbol(x); } - 67 - 70templateclass T T coerce(const annotation_key x) { return internal::coerceT(x); } - 71} - 72 - 73#endif // ANNOTATION_KEY_HPP -proton::annotation_keyA key for use with AMQP annotation maps. Definition: annotation_key.hpp:31 -proton::annotation_key::annotation_keyannotation_key(const T x)Construct from any type that can be assigned. Definition: annotation_key.hpp:39 -proton::scalar_baseBase class for scalar types. Definition: scalar_base.hpp:47 -proton::symbolsymbol is a std::string that represents the AMQP symbol type. Definition: symbol.hpp:27 -proton::annotation_key::coerceT coerce(const annotation_key x)Get the binary value or throw conversion_error. Definition: annotation_key.hpp:70 -proton::annotation_key::annotation_keyannotation_key()An empty annotation key has a uint64_t == 0 value. Definition: annotation_key.hpp:36 -proton::scalar_base::typetype_id type() const AMQP type of data stored in the scalar. -protonThe proton namespace. Definition: acceptor.hpp:31 + 28namespace
[12/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/message_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/message_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/message_8hpp_source.html index 0141387..f896701 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/message_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/message_8hpp_source.html @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('message_8hpp_source.html','');}); message.hpp -1#ifndef PROTON_CPP_MESSAGE_H - 2#define PROTON_CPP_MESSAGE_H +1#ifndef PROTON_MESSAGE_HPP + 2#define PROTON_MESSAGE_HPP 3 4/* 5 * @@ -117,13 +117,13 @@ $(document).ready(function(){initNavTree('message_8hpp_source.html','');}); 22 * 23 */ 24 - 25#include proton/map.hpp - 26#include proton/annotation_key.hpp - 27#include proton/duration.hpp - 28#include proton/export.hpp - 29#include proton/message_id.hpp - 30#include proton/pn_unique_ptr.hpp - 31#include proton/value.hpp + 25#include proton/annotation_key.hpp + 26#include proton/codec/map.hpp + 27#include proton/duration.hpp + 28#include proton/export.hpp + 29#include proton/message_id.hpp + 30#include proton/internal/pn_unique_ptr.hpp + 31#include proton/value.hpp 32 33#include string 34#include vector @@ -133,172 +133,206 @@ $(document).ready(function(){initNavTree('message_8hpp_source.html','');}); 38 39namespace proton { 40 - 41class link; - 42class delivery; - 43class message_id; - 44class annotation_key; - 45 + 41class delivery; + 42class message_id; + 43class annotation_key; + 44 49class message { 50 public: - 52typedef std::mapstd::string, scalar property_map; - 53 - 55typedef std::mapannotation_key, value annotation_map; - 56 - 58 PN_CPP_EXTERN message(); - 59 - 61 PN_CPP_EXTERN message(const message); - 62 - 63#if PN_CPP_HAS_CPP11 - 64 PN_CPP_EXTERN message(message); - 66 - 67 // XXX move assignment operator? - do this in general for CPP11 - 68#endif - 69 - 72 PN_CPP_EXTERN message(const value x); - 73 - 74 PN_CPP_EXTERN ~message(); + 53typedef std::mapstd::string, scalar property_map; + 54 + 57typedef std::mapannotation_key, value annotation_map; + 58 + 60 PN_CPP_EXTERN message(); + 61 + 63 PN_CPP_EXTERN message(const message); + 64 + 66 PN_CPP_EXTERN message operator=(const message); + 67 + 68#if PN_CPP_HAS_RVALUE_REFERENCES + 69 PN_CPP_EXTERN message(message); + 71 + 73 PN_CPP_EXTERN message operator=(message); + 74#endif 75 - 77 PN_CPP_EXTERN message operator=(const message); - 78 + 78 PN_CPP_EXTERN message(const value x); + 79 + 80 PN_CPP_EXTERN ~message(); 81 - 83 PN_CPP_EXTERN void clear(); 84 - 85 PN_CPP_EXTERN void id(const message_id id); - 86 PN_CPP_EXTERN message_id id() const; + 86 PN_CPP_EXTERN void clear(); 87 - 92 PN_CPP_EXTERN void user_id(const std::string user); - 93 PN_CPP_EXTERN std::string user_id() const; - 95 - 98 PN_CPP_EXTERN void encode(std::vectorchar bytes) const; + 92 PN_CPP_EXTERN void id(const message_id id); + 93 + 95 PN_CPP_EXTERN message_id id() const; + 96 + 98 PN_CPP_EXTERN void user(const std::string user); 99 - 101 PN_CPP_EXTERN std::vectorchar encode() const; + 101 PN_CPP_EXTERN std::string user() const; 102 - 104 PN_CPP_EXTERN void decode(const std::vectorchar bytes); - 105 - 107 - 110 - 111 PN_CPP_EXTERN void address(const std::string addr); - 112 PN_CPP_EXTERN std::string address() const; - 113 - 114 PN_CPP_EXTERN void reply_to(const std::string addr); - 115 PN_CPP_EXTERN std::string reply_to() const; - 116 - 117 PN_CPP_EXTERN void correlation_id(const message_id); - 118 PN_CPP_EXTERN message_id correlation_id() const; - 119 - 121 - 124 - 126 PN_CPP_EXTERN void body(const value x); - 127 - 129 PN_CPP_EXTERN const value body() const; - 130 - 132 PN_CPP_EXTERN value body(); - 133 - 134 PN_CPP_EXTERN void subject(const std::string s); - 135 PN_CPP_EXTERN std::string subject() const; - 136 - 137 PN_CPP_EXTERN void content_type(const std::string s); - 138 PN_CPP_EXTERN std::string content_type() const; - 139 - 140 PN_CPP_EXTERN void content_encoding(const std::string s); - 141 PN_CPP_EXTERN std::string content_encoding() const; - 142 - 143 PN_CPP_EXTERN void expiry_time(timestamp t); - 144 PN_CPP_EXTERN timestamp expiry_time() const; - 145 - 146
[41/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1connection__engine.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1connection__engine.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1connection__engine.html new file mode 100755 index 000..79d0aa0 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1io_1_1connection__engine.html @@ -0,0 +1,426 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: connection_engine + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1io_1_1connection__engine.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +connection_engine + + + +Experimental - An AMQP protocol engine for a single connection. + More... + +#include connection_engine.hpp + + +Public Member Functions +connection_engine (proton::container , link_namer , event_loop *loop=0) +Create a connection engine. More... + +voidconfigure (const connection_options opts=connection_options()) +Configure a connection by applying exactly the options in opts (including proton::messaging_handler) Does not apply any default options, to apply container defaults use connect() or accept() instead. More... + +voidconnect (const connection_options opts) +Call configure() with client options and call connection::open() Options applied: container::id(), container::client_connection_options(), opts. More... + +voidaccept (const connection_options opts) +Call configure() with server options. More... + +mutable_bufferread_buffer () +The engine's read buffer. More... + +voidread_done (size_t n) +Indicate that the first n bytes of read_buffer() have valid data. More... + +voidread_close () +Indicate that the read side of the transport is closed and no more data will be read. More... + +const_bufferwrite_buffer () const +The engine's write buffer. More... + +voidwrite_done (size_t n) +Indicate that the first n bytes of write_buffer() have been written successfully. More... + +voidwrite_close () +Indicate that the write side of the transport has closed and no more data can be written. More... + +voiddisconnected (const error_condition =error_condition()) +Inform the engine that the transport been disconnected unexpectedly, without completing the AMQP connection close sequence. More... + +booldispatch () +Dispatch all available events and call the corresponding messaging_handler methods. More... + + +proton::connectionconnection () const +Get the AMQP connection associated with this connection_engine. + + +proton::transporttransport () const +Get the transport associated with this connection_engine. + + +proton::container container () const +Get the container associated with this connection_engine. + + +Detailed Description +Experimental - An AMQP protocol engine for a single connection. +A connection_engine is a protocol engine that integrates AMQP into any IO or concurrency framework. +io::connection_engine manages a single proton::connection and dispatches events to a proton::messaging_handler. It does no IO of its own, but allows you to integrate AMQP protocol handling into any IO or concurrency framework. +The application is coded the same way as for the proton::container. The application implements a proton::messaging_handler to respond to transport, connection, session, link, and message events. With a little care, the same handler classes can be used for both container and connection_engine. the broker.cpp example illustrates this. +You need to write the IO code to read AMQP data to the read_buffer(). The engine parses the AMQP frames. dispatch() calls the appropriate functions on the applications proton::messaging_handler. You write output data from the engine's write_buffer() to your IO. +The engine is not safe for concurrent use, but you can process different engines concurrently. A common pattern for high-performance servers is to serialize read/write activity per connection and dispatch in a fixed-size thread pool. +The engine is designed to work with a classic reactor (e.g., select, poll, epoll) or an async-request driven proactor (e.g., windows completion ports, boost.asio, libuv). +The engine never throws exceptions.
[20/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/encoder_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/encoder_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/encoder_8hpp_source.html index 986f446..69190f0 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/encoder_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/encoder_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/encoder.hpp Source File +Qpid Proton C++ API: proton/codec/encoder.hpp Source File @@ -93,188 +93,195 @@ $(document).ready(function(){initNavTree('encoder_8hpp_source.html','');}); encoder.hpp -1#ifndef PROTON_ENCODER_HPP - 2#define PROTON_ENCODER_HPP +1#ifndef PROTON_CODEC_ENCODER_HPP + 2#define PROTON_CODEC_ENCODER_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/data.hpp - 24#include proton/types_fwd.hpp - 25#include proton/type_traits.hpp - 26 - 27namespace proton { + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/codec/data.hpp + 26#include proton/internal/type_traits.hpp + 27#include proton/types_fwd.hpp 28 - 29class scalar_base; - 30class value_base; - 31 - 33namespace codec { - 34 - 39class encoder : public data { - 40 public: - 42explicit encoder(const data d) : data(d) {} - 43 - 45 PN_CPP_EXTERN explicit encoder(value_base v); - 46 - 56 PN_CPP_EXTERN bool encode(char* buffer, size_t size); - 57 - 62 PN_CPP_EXTERN void encode(std::string); - 63 - 65 PN_CPP_EXTERN std::string encode(); - 66 - 69 PN_CPP_EXTERN encoder operator(bool); - 70 PN_CPP_EXTERN encoder operator(uint8_t); - 71 PN_CPP_EXTERN encoder operator(int8_t); - 72 PN_CPP_EXTERN encoder operator(uint16_t); - 73 PN_CPP_EXTERN encoder operator(int16_t); - 74 PN_CPP_EXTERN encoder operator(uint32_t); - 75 PN_CPP_EXTERN encoder operator(int32_t); - 76 PN_CPP_EXTERN encoder operator(wchar_t); - 77 PN_CPP_EXTERN encoder operator(uint64_t); - 78 PN_CPP_EXTERN encoder operator(int64_t); - 79 PN_CPP_EXTERN encoder operator(timestamp); - 80 PN_CPP_EXTERN encoder operator(float); - 81 PN_CPP_EXTERN encoder operator(double); - 82 PN_CPP_EXTERN encoder operator(decimal32); - 83 PN_CPP_EXTERN encoder operator(decimal64); - 84 PN_CPP_EXTERN encoder operator(decimal128); - 85 PN_CPP_EXTERN encoder operator(const uuid); - 86 PN_CPP_EXTERN encoder operator(const std::string); - 87 PN_CPP_EXTERN encoder operator(const symbol); - 88 PN_CPP_EXTERN encoder operator(const binary); - 89 PN_CPP_EXTERN encoder operator(const scalar_base); - 90 PN_CPP_EXTERN encoder operator(const null); - 92 - 95 PN_CPP_EXTERN encoder operator(const value_base); - 96 - 98 PN_CPP_EXTERN encoder operator(const start); - 100
[47/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1codec_1_1decoder.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1codec_1_1decoder.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1codec_1_1decoder.html index 945c1fb..a111618 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1codec_1_1decoder.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1codec_1_1decoder.html @@ -91,44 +91,33 @@ $(document).ready(function(){initNavTree('classproton_1_1codec_1_1decoder.html', Public Member Functions -Static Public Member Functions Friends List of all members -decoderInternal details of AMQP encoding. +decoder -Stream-like decoder from AMQP bytes to C++ values. +Experimental - Stream-like decoder from AMQP bytes to C++ values. More... #include decoder.hpp - -Inheritance diagram for decoder: - - - - - - - + +Inherits data. Public Member Functions -decoder (const data d, bool exact=false) -Wrap Proton-C data object. More... +decoder (const data d, bool exact=false) +Wrap a Proton C data object. More... - -decoder (const value_base , bool exact=false) -Attach decoder to a proton::value. The decoder is rewound to the start of the data. - - -voiddecode (const char *buffer, size_t size) -Decode AMQP data from a buffer and add it to the end of the decoders stream. */. +decoder (const internal::value_base , bool exact=false) +Attach decoder to a proton::value. More... + +voiddecode (const char *buffer, size_t size) +Decode AMQP data from a buffer and add it to the end of the decoders stream. More... - -voiddecode (const std::string ) -Decode AMQP data from a std::string and add it to the end of the decoders stream. */. +voiddecode (const std::string ) +Decode AMQP data from a std::string and add it to the end of the decoders stream. More... boolmore () @@ -137,12 +126,11 @@ booltype_idnext_type () Get the type of the next value that will be read by operator. More... -decoder operator (start ) +decoder operator (start ) Start decoding a container type, such as an ARRAY, LIST or MAP. More... - -decoder operator (const finish ) -Finish decoding a container type, and move on to the next value in the stream. +decoder operator (const finish ) +Finish decoding a container type, and move on to the next value in the stream. More... templateclass T decoder operator (sequence_ref T r) @@ -157,34 +145,10 @@ templateclass T decoder operator (pair_sequence_ref T r) Extract an AMQP MAP to a C++ push_back sequence of pairs preserving encoded order. More... - -voidcopy (const data ) -Copy the contents of another data object. - - -voidclear () -Clear the data. - - -voidrewind () -Rewind current position to the start. - - -boolempty () const -True if there are no values. - - -intappend (data src) -Append the contents of another data object. - - -intappendn (data src, int limit) -Append up to limit items from data object. - Extract built-in types Exceptions -conversion_errorif the decoder is empty or has an incompatible type. +conversion_errorif the decoder is empty or has an incompatible type. @@ -258,20 +222,13 @@ int decoder operator (scalar ) - -decoder operator (value_base ) - + +decoder operator (internal::value_base ) + decoder operator (null ) - -Static Public Member Functions - -static datacreate () -Create a new data object. - - Friends @@ -279,8 +236,9 @@ classmessage Detailed Description -Stream-like decoder from AMQP bytes to C++ values. -Internal use only, see proton::value, proton::scalar and AMQP and C++ types for the recommended ways to manage AMQP data. +Experimental - Stream-like decoder from AMQP bytes to C++ values. +For internal use only. +See alsoAMQP and C++ types for the recommended ways to manage AMQP data Constructor Destructor Documentation @@ -292,7 +250,7 @@ classmessage decoder ( - const data + const data d, @@ -314,12 +272,95 @@ classmessage -Wrap Proton-C data object. +Wrap a Proton C data object. The exact flag if set means decode only when there is an exact match between the AMQP and C++ type. If not set then perform automatic conversions. + + + + + + + + + decoder + ( + const internal::value_base + , + + + + + bool + exact = false + + + + ) + + + + + +explicit + + + + +Attach decoder to a proton::value. +The decoder is rewound to the start of the data. + + + Member
[22/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/deque_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/deque_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/deque_8hpp_source.html index 2f822be..fb0a37f 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/deque_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/deque_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/deque.hpp Source File +Qpid Proton C++ API: proton/codec/deque.hpp Source File @@ -93,64 +93,69 @@ $(document).ready(function(){initNavTree('deque_8hpp_source.html','');}); deque.hpp -1#ifndef PROTON_DEQUE_HPP - 2#define PROTON_DEQUE_HPP - 3/* - 4 * Licensed to the Apache Software Foundation (ASF) under one - 5 * or more contributor license agreements. See the NOTICE file - 6 * distributed with this work for additional information - 7 * regarding copyright ownership. The ASF licenses this file - 8 * to you under the Apache License, Version 2.0 (the - 9 * License); you may not use this file except in compliance - 10 * with the License. You may obtain a copy of the License at - 11 * - 12 * http://www.apache.org/licenses/LICENSE-2.0 - 13 * - 14 * Unless required by applicable law or agreed to in writing, - 15 * software distributed under the License is distributed on an - 16 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 17 * KIND, either express or implied. See the License for the - 18 * specific language governing permissions and limitations - 19 * under the License. - 20 */ - 21 - 22#include deque - 23#include utility - 24 - 25#include proton/encoder.hpp - 26#include proton/decoder.hpp - 27 - 28namespace proton { - 29namespace codec { - 30 - 32template class T, class A - 33encoder operator(encoder e, const std::dequeT, A x) { - 34 return e encoder::array(x, internal::type_id_ofT::value); - 35} - 36 - 38template class A - 39encoder operator(encoder e, const std::dequevalue, A x) { return e encoder::list(x); } - 40 - 42template class A - 43encoder operator(encoder e, const std::dequescalar, A x) { return e encoder::list(x); } - 44 - 47template class A, class K, class T - 48encoder operator(encoder e, const std::dequestd::pairK,T, A x) { return e encoder::map(x); } - 49 - 51template class T, class A decoder operator(decoder d, std::dequeT, A x) { return d decoder::sequence(x); } - 52 - 54template class A, class K, class T decoder operator(decoder d, std::dequestd::pairK, T , A x) { return d decoder::pair_sequence(x); } - 55 - 56} - 57} - 58#endif // PROTON_DEQUE_HPP -protonThe proton namespace. Definition: acceptor.hpp:31 +1#ifndef PROTON_CODEC_DEQUE_HPP + 2#define PROTON_CODEC_DEQUE_HPP + 3 + 4/* + 5 * Licensed to the Apache Software Foundation (ASF) under one + 6 * or more contributor license agreements. See the NOTICE file + 7 * distributed with this work for additional information + 8 * regarding copyright ownership. The ASF licenses this file + 9 * to you under the Apache License, Version 2.0 (the + 10 * License); you may not use this file except in compliance + 11 * with the License. You may obtain a copy of the License at + 12 * + 13 * http://www.apache.org/licenses/LICENSE-2.0 + 14 * + 15 * Unless required by applicable law or agreed to in writing, + 16 * software distributed under the License is distributed on an + 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 18 * KIND, either express or implied. See the License for the + 19 * specific language governing permissions and limitations + 20 * under the License. + 21 */ + 22 + 23#include proton/codec/encoder.hpp + 24#include proton/codec/decoder.hpp + 25 + 26#include deque + 27#include utility + 28 + 29namespace proton { + 30namespace codec { + 31 + 33template class T, class A + 34encoder operator(encoder e, const std::dequeT, A x) { + 35 return e encoder::array(x, internal::type_id_ofT::value); + 36} + 37 + 39template class A + 40encoder operator(encoder e, const std::dequevalue, A x) { return e encoder::list(x); } + 41 + 43template class A + 44encoder operator(encoder e, const std::dequescalar, A x) { return e encoder::list(x); } + 45 + 48template class A, class K, class T + 49encoder operator(encoder e, const std::dequestd::pairK,T, A x) { return e encoder::map(x); } + 50 + 52template class T, class A decoder operator(decoder d, std::dequeT, A x) { return d decoder::sequence(x); } + 53 + 55template class A, class K,
[03/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/scalar__base_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/scalar__base_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/scalar__base_8hpp_source.html index c47aa79..0c5d9f2 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/scalar__base_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/scalar__base_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/scalar_base.hpp Source File +Qpid Proton C++ API: proton/internal/scalar_base.hpp Source File @@ -93,226 +93,211 @@ $(document).ready(function(){initNavTree('scalar__base_8hpp_source.html','');}); scalar_base.hpp -1#ifndef PROTON_SCALAR_BASE_HPP - 2#define PROTON_SCALAR_BASE_HPP +1#ifndef PROTON_INTERNAL_SCALAR_BASE_HPP + 2#define PROTON_INTERNAL_SCALAR_BASE_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/binary.hpp - 24#include proton/comparable.hpp - 25#include proton/decimal.hpp - 26#include proton/error.hpp - 27#include proton/export.hpp - 28#include proton/symbol.hpp - 29#include proton/timestamp.hpp - 30#include proton/type_id.hpp - 31#include proton/types_fwd.hpp - 32#include proton/type_traits.hpp - 33#include proton/uuid.hpp - 34 - 35#include iosfwd - 36#include string - 37 - 38namespace proton { + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/binary.hpp + 26#include proton/decimal.hpp + 27#include proton/error.hpp + 28#include proton/export.hpp + 29#include proton/internal/comparable.hpp + 30#include proton/internal/type_traits.hpp + 31#include proton/symbol.hpp + 32#include proton/timestamp.hpp + 33#include proton/type_id.hpp + 34#include proton/types_fwd.hpp + 35#include proton/uuid.hpp + 36 + 37#include iosfwd + 38#include string 39 - 40namespace codec { - 41class decoder; - 42class encoder; - 43} - 44 - 45 - 47class scalar_base : private comparablescalar_base { - 48 public: - 50 PN_CPP_EXTERN type_id type() const; - 51 - 54 PN_CPP_EXTERN int64_t as_int() const; - 55 PN_CPP_EXTERN uint64_t as_uint() const; - 56 PN_CPP_EXTERN double as_double() const; - 57 PN_CPP_EXTERN std::string as_string() const; - 58 template class T void get(T x) const { get_(x); } - 59 template class T T get() const { T x; get_(x); return x; } - 61 - 63 friend PN_CPP_EXTERN bool operator(const scalar_base x, const scalar_base y); - 65 friend PN_CPP_EXTERN bool operator==(const scalar_base x, const scalar_base y); - 67 friend PN_CPP_EXTERN std::ostream operator(std::ostream o, const scalar_base x); - 68 - 69 protected: - 70 PN_CPP_EXTERN scalar_base(const pn_atom_t a); - 71 PN_CPP_EXTERN scalar_base(); - 72 PN_CPP_EXTERN scalar_base(const scalar_base); - 73 PN_CPP_EXTERN scalar_base
[39/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link-members.html index bf0cf1c..8aa2a12 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link-members.html @@ -96,46 +96,21 @@ $(document).ready(function(){initNavTree('classproton_1_1link.html','');}); This is the complete list of members for link, including all inherited members. - close()link - connection (defined in link)linkfriend + active() const linkvirtual + close()linkvirtual + close(const error_condition )linkvirtual + closed() const linkvirtual connection() const link container() const link credit() const link - delivery (defined in link)linkfriend - detach()link - link() (defined in link)linkinline - link_iterator (defined in link)linkfriend - link_options (defined in link)linkfriend - LOCAL_ACTIVEendpointstatic - LOCAL_CLOSEDendpointstatic - local_condition() const linkvirtual - LOCAL_MASKendpointstatic - local_source() const link - local_target() const link - LOCAL_UNINITendpointstatic - message (defined in link)linkfriend - messaging_adapter (defined in link)linkfriend + detach()link + draining()link + error() const linkvirtual + link()linkinline name() const link - open(const link_options opts=link_options())link - proton_event (defined in link)linkfriend - queued()link - receiver (defined in link)linkfriend - receiver()link - receiver() const link - REMOTE_ACTIVEendpointstatic - REMOTE_CLOSEDendpointstatic - remote_condition() const linkvirtual - REMOTE_MASKendpointstatic - remote_source() const link - remote_target() const link - REMOTE_UNINITendpointstatic - sender (defined in link)linkfriend - sender()link - sender() const link session() const link - state() const link - proton::endpoint::state typedefendpoint - ~endpoint() (defined in endpoint)endpointvirtual + uninitialized() const linkvirtual + ~endpoint() (defined in endpoint)endpointvirtual http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link.html index c8cc7b9..543441d 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1link.html @@ -90,10 +90,7 @@ $(document).ready(function(){initNavTree('classproton_1_1link.html','');}); -Public Types Public Member Functions -Static Public Attributes -Friends List of all members link @@ -110,167 +107,72 @@ Inheritance diagram for link: - - - + + + - -Public Types -typedef intstate -A bit mask of state bit values. More... - - Public Member Functions - -endpoint::statestate () const -Get the state of this link. - -conditionlocal_condition () const -XXX add endpoint state boolean operations. More... - - -conditionremote_condition () const -Get the error condition of the remote endpoint. - -voidopen (const link_options opts=link_options()) -Locally open the link. More... - + +link () +Create an empty link. + + +booluninitialized () const +True if the local end is uninitialized. + + +boolactive () const +True if the local end is active. + + +boolclosed () const +True if the local and remote ends are closed. + + +class error_conditionerror () const +Get the error condition of the remote endpoint. + voidclose () -Locally close the link. More... +Close the endpoint. More... +voidclose (const error_condition ) +Close the endpoint with an error condition. More... + voiddetach () Suspend the link without closing it. More... - -class sendersender () -Return sender if this link is a sender, 0 if not. - - -const class sendersender () const -Return sender if this link is a sender, 0 if not. - - -class receiverreceiver () -Return receiver if this link is a receiver, 0 if not. - - -const class receiverreceiver () const -Return receiver if this link is a receiver, 0 if not. - intcredit () const Credit available on the link. - -intqueued () -The number of deliveries queued on the link. - - -terminuslocal_source () const -Local source of the link. - - -terminuslocal_target () const -Local target of the link. - - -terminusremote_source () const -Remote source of the
[18/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/files.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/files.html b/content/releases/qpid-proton-master/proton/cpp/api/files.html index a4e340e..09b4901 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/files.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/files.html @@ -96,62 +96,79 @@ $(document).ready(function(){initNavTree('files.html','');}); Here is a list of all documented files with brief descriptions: [detail level 123] proton -io -connection_engine.hpp -socket.hpp -acceptor.hpp -amqp.hpp +codec +amqp_types.hpp +data.hpp +decoder.hpp +deque.hpp +encoder.hpp +forward_list.hpp +list.hpp +map.hpp +unordered_map.hpp +vector.hpp +internal +comparable.hpp +object.hpp +pn_unique_ptr.hpp +scalar_base.hpp +type_traits.hppInternal: Type traits for mapping between AMQP and C++ types +io +connection_engine.hpp +container_impl_base.hpp +link_namer.hpp annotation_key.hpp binary.hpp byte_array.hpp -comparable.hpp -condition.hpp -config.hpp -connection.hpp -connection_options.hpp -container.hpp -data.hpp -decimal.hpp -decoder.hpp -delivery.hpp -deque.hpp -duration.hpp -encoder.hpp -endpoint.hpp -error.hpp -export.hpp -forward_list.hpp -handler.hpp -link.hpp -link_options.hpp -list.hpp -map.hpp -message.hpp -message_id.hpp -object.hpp -pn_unique_ptr.hpp -receiver.hpp -reconnect_timer.hpp -sasl.hpp -scalar.hpp -scalar_base.hpp -sender.hpp -session.hpp -ssl.hpp -symbol.hpp -task.hpp -terminus.hpp -timestamp.hpp -transport.hpp -type_id.hppType-identifiers for AMQP types -type_traits.hppInternal: Type traits for mapping between AMQP and C++ types -types.hppInclude the definitions of all proton types used to represent AMQP types -types_fwd.hppForward declarations for all the C++ types used by proton to represent AMQP types -unordered_map.hpp -url.hpp -uuid.hpp -value.hpp -vector.hpp +config.hpp +connection.hpp +connection_options.hpp +container.hpp +decimal.hpp +default_container.hpp +delivery.hpp +delivery_mode.hpp +duration.hpp +endpoint.hpp +error.hpp +error_condition.hpp +event_loop.hpp +export.hpp +link.hpp +listen_handler.hpp +listener.hpp +message.hpp +message_id.hpp +messaging_handler.hpp +namespaces.hpp +receiver.hpp +receiver_options.hpp +reconnect_timer.hpp +sasl.hpp +scalar.hpp +sender.hpp +sender_options.hpp +session.hpp +session_options.hpp +source.hpp +source_options.hpp +ssl.hpp +symbol.hpp +target.hpp +target_options.hpp +task.hpp +terminus.hpp +thread_safe.hpp +timestamp.hpp +tracker.hpp +transfer.hpp +transport.hpp +type_id.hppType-identifiers for AMQP types +types.hppInclude the definitions of all proton types used to represent AMQP types +types_fwd.hppForward declarations for all the C++ types used by Proton to represent AMQP types +url.hpp +uuid.hpp +value.hpp http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/forward__list_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/forward__list_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/forward__list_8hpp_source.html index 1c76d9d..88fe4bb 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/forward__list_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/forward__list_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/forward_list.hpp Source File +Qpid Proton C++ API: proton/codec/forward_list.hpp Source File @@ -93,64 +93,69 @@ $(document).ready(function(){initNavTree('forward__list_8hpp_source.html','');}) forward_list.hpp -1#ifndef PROTON_FORWARD_LIST_HPP - 2#define PROTON_FORWARD_LIST_HPP - 3/* - 4 * Licensed to the Apache Software Foundation (ASF) under one - 5 * or more contributor license agreements. See the NOTICE file - 6 * distributed with this work for additional information - 7 * regarding copyright ownership. The ASF licenses this file - 8 * to you under the Apache License, Version 2.0 (the - 9 * License); you may not use this file except in compliance - 10 * with the License. You may obtain a copy of the License at - 11 * - 12 * http://www.apache.org/licenses/LICENSE-2.0 - 13 * - 14 * Unless required by applicable law or agreed to in writing, - 15 * software distributed under the License is distributed on an - 16 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 17 * KIND, either express or implied. See the License for the - 18 * specific language governing permissions and limitations - 19 * under the License. - 20 */ - 21 - 22#include forward_list - 23#include utility - 24 - 25#include proton/encoder.hpp -
[11/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html index 893b69e..2f6d057 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/message__id_8hpp_source.html @@ -93,74 +93,78 @@ $(document).ready(function(){initNavTree('message__id_8hpp_source.html','');}); message_id.hpp -1#ifndef MESSAGE_ID_HPP - 2#define MESSAGE_ID_HPP +1#ifndef PROTON_MESSAGE_ID_HPP + 2#define PROTON_MESSAGE_ID_HPP 3 4/* - 5 * Licensed to the Apache Software Foundation (ASF) under one - 6 * or more contributor license agreements. See the NOTICE file - 7 * distributed with this work for additional information - 8 * regarding copyright ownership. The ASF licenses this file - 9 * to you under the Apache License, Version 2.0 (the - 10 * License); you may not use this file except in compliance - 11 * with the License. You may obtain a copy of the License at - 12 * - 13 * http://www.apache.org/licenses/LICENSE-2.0 - 14 * - 15 * Unless required by applicable law or agreed to in writing, - 16 * software distributed under the License is distributed on an - 17 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 18 * KIND, either express or implied. See the License for the - 19 * specific language governing permissions and limitations - 20 * under the License. - 21 */ - 22 - 23#include proton/binary.hpp - 24#include proton/scalar_base.hpp - 25#include proton/uuid.hpp - 26 - 27#include string + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at + 13 * + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/binary.hpp + 26#include proton/internal/scalar_base.hpp + 27#include proton/uuid.hpp 28 - 29namespace proton { + 29#include string 30 - 40class message_id : public scalar_base { - 41 public: - 43message_id() { put_(uint64_t(0)); } - 44 - 46template class T message_id(const T x) { *this = x; } - 47 - 52 message_id operator=(uint64_t x) { put_(x); return *this; } - 53 message_id operator=(const uuid x) { put_(x); return *this; } - 54 message_id operator=(const binary x) { put_(x); return *this; } - 55 message_id operator=(const std::string x) { put_(x); return *this; } - 56message_id operator=(const char* x) { put_(x); return *this; } - 57 - 59 private: - 60 message_id(const pn_atom_t a): scalar_base(a) {} - 61 - 63 friend class message; - 64 friend class codec::decoder; - 66}; - 67 - 69template class T T get(const message_id x); - 71 - 73template inline uint64_t getuint64_t(const message_id x) { return internal::getuint64_t(x); } - 75template inline uuid getuuid(const message_id x) { return internal::getuuid(x); } - 77template inline binary getbinary(const message_id x) { return internal::getbinary(x); } - 79template inline std::string getstd::string(const message_id x) { return internal::getstd::string(x); } - 80 - 83templateclass T T coerce(const message_id x) { return internal::coerceT(x); } - 84} - 85#endif // MESSAGE_ID_HPP -proton::message_id::coerceT coerce(const message_id x)Coerce the contained value to type T. Definition: message_id.hpp:83 -proton::uuidA 16-byte universally unique identifier. Definition: uuid.hpp:31 -proton::scalar_baseBase class for scalar types. Definition: scalar_base.hpp:47 -proton::message_id::message_idmessage_id(const T x)Construct from any type that can be assigned. Definition: message_id.hpp:46 -proton::binaryArbitrary binary data. Definition: binary.hpp:31 -proton::message_id::operator=message_id operator=(const char *x)Treated as
[43/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery-members.html index 369e455..8e0fba9 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery-members.html @@ -97,22 +97,17 @@ $(document).ready(function(){initNavTree('classproton_1_1delivery.html','');}); This is the complete list of members for delivery, including all inherited members. accept()deliveryinline - ACCEPTED enum valuedelivery - connection() const delivery - container() const delivery - delivery() (defined in delivery)deliveryinline - link() const delivery - MODIFIED enum valuedelivery - modify()deliveryinline - NONE enum valuedelivery - RECEIVED enum valuedelivery + connection() const transfer + container() const transfer + delivery() (defined in delivery)deliveryinline + modify()deliveryinline + receiver() const delivery reject()deliveryinline - REJECTED enum valuedelivery - release()deliveryinline - RELEASED enum valuedelivery - remote_state() const delivery - session() const delivery - state enum namedelivery + release()deliveryinline + session() const transfer + settle()transfer + settled() const transfer + transfer()transferinline http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.html index 7ba7be3..387b2b3 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.html @@ -90,7 +90,6 @@ $(document).ready(function(){initNavTree('classproton_1_1delivery.html','');}); -Public Types Public Member Functions List of all members @@ -98,46 +97,26 @@ $(document).ready(function(){initNavTree('classproton_1_1delivery.html','');}); -A message transfer. +A received message. More... #include delivery.hpp - -Inherits object pn_delivery_t . + +Inheritance diagram for delivery: + + + + + + + - -Public Types -enum state { -NONE, -RECEIVED, -ACCEPTED, -REJECTED, - -RELEASED, -MODIFIED - - }Delivery state values. More... - - - Public Member Functions - -class linklink () const -Return the link for this delivery. - - -class sessionsession () const -Return the session for this delivery. - - -class connectionconnection () const -Return the connection for this delivery. - - -class container container () const -Return the container for this delivery. - + +class receiverreceiver () const +Return the receiver for this delivery. + voidaccept () Settle with ACCEPTED state. @@ -154,50 +133,31 @@ voidmodify () Settle with MODIFIED state. - -stateremote_state () const -Get the remote state for a delivery. - + +class sessionsession () const +Return the session for this transfer. + + +class connectionconnection () const +Return the connection for this transfer. + + +class container container () const +Return the container for this transfer. + + +voidsettle () +Settle the delivery; informs the remote end. + + +boolsettled () const +Return true if the transfer has been settled. + Detailed Description -A message transfer. -Every delivery exists within the context of a proton::link. A delivery attempt can fail. As a result, a particular message may correspond to multiple deliveries. -Member Enumeration Documentation - - - - - - enum state - - - - -Delivery state values. - -EnumeratorNONE -Unknown state. - -RECEIVED -Received but not yet settled. - -ACCEPTED -Settled as accepted. - -REJECTED -Settled as rejected. - -RELEASED -Settled as released. - -MODIFIED -Settled as modified. - - - - - -The documentation for this class was generated from the following file: +A received message. +A delivery attempt can fail. As a result, a particular message may correspond to multiple deliveries. +The documentation for this class was generated from the following file: proton/delivery.hpp http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1delivery.js -- diff --git
[05/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/pn__unique__ptr_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/pn__unique__ptr_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/pn__unique__ptr_8hpp_source.html index c6b80c0..f3bec11 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/pn__unique__ptr_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/pn__unique__ptr_8hpp_source.html @@ -4,7 +4,7 @@ -Qpid Proton C++ API: proton/pn_unique_ptr.hpp Source File +Qpid Proton C++ API: proton/internal/pn_unique_ptr.hpp Source File @@ -93,70 +93,73 @@ $(document).ready(function(){initNavTree('pn__unique__ptr_8hpp_source.html',''); pn_unique_ptr.hpp -1#ifndef UNIQUE_PTR_HPP - 2#define UNIQUE_PTR_HPP - 3/* - 4 * Licensed to the Apache Software Foundation (ASF) under one - 5 * or more contributor license agreements. See the NOTICE file - 6 * distributed with this work for additional information - 7 * regarding copyright ownership. The ASF licenses this file - 8 * to you under the Apache License, Version 2.0 (the - 9 * License); you may not use this file except in compliance - 10 * with the License. You may obtain a copy of the License at - 11 * - 12 * http://www.apache.org/licenses/LICENSE-2.0 +1#ifndef PROTON_INTERNAL_UNIQUE_PTR_HPP + 2#define PROTON_INTERNAL_UNIQUE_PTR_HPP + 3 + 4/* + 5 * + 6 * Licensed to the Apache Software Foundation (ASF) under one + 7 * or more contributor license agreements. See the NOTICE file + 8 * distributed with this work for additional information + 9 * regarding copyright ownership. The ASF licenses this file + 10 * to you under the Apache License, Version 2.0 (the + 11 * License); you may not use this file except in compliance + 12 * with the License. You may obtain a copy of the License at 13 * - 14 * Unless required by applicable law or agreed to in writing, - 15 * software distributed under the License is distributed on an - 16 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - 17 * KIND, either express or implied. See the License for the - 18 * specific language governing permissions and limitations - 19 * under the License. - 20 */ - 21 - 23 - 24#include proton/config.hpp - 25#include memory + 14 * http://www.apache.org/licenses/LICENSE-2.0 + 15 * + 16 * Unless required by applicable law or agreed to in writing, + 17 * software distributed under the License is distributed on an + 18 * AS IS BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + 19 * KIND, either express or implied. See the License for the + 20 * specific language governing permissions and limitations + 21 * under the License. + 22 * + 23 */ + 24 + 25#include proton/config.hpp 26 - 27namespace proton { - 28namespace internal { - 29 - 38template class T class pn_unique_ptr { - 39 public: - 40 pn_unique_ptr(T* p=0) : ptr_(p) {} - 41#if PN_CPP_HAS_CPP11 - 42 pn_unique_ptr(pn_unique_ptr x) : ptr_(0) { std::swap(ptr_, x.ptr_); } - 43#else - 44 pn_unique_ptr(const pn_unique_ptr x) : ptr_() { std::swap(ptr_, const_castpn_unique_ptr(x).ptr_); } - 45#endif - 46 ~pn_unique_ptr() { delete(ptr_); } - 47 T operator*() const { return *ptr_; } - 48 T* operator-() const { return ptr_; } - 49 T* get() const { return ptr_; } - 50 void reset(T* p = 0) { pn_unique_ptrT tmp(p); std::swap(ptr_, tmp.ptr_); } - 51 T* release() { T *p = ptr_; ptr_ = 0; return p; } - 52 operator bool() const { return get(); } - 53 bool operator !() const { return get(); } - 54 - 55#if PN_CPP_HAS_STD_PTR - 56 operator std::unique_ptrT() { T *p = ptr_; ptr_ = 0; return std::unique_ptrT(p); } - 57#endif - 58 - 59 private: - 60 T* ptr_; - 61}; - 62 - 63}} + 27#include memory + 28 + 29namespace proton { + 30namespace internal { + 31 + 40template class T class pn_unique_ptr { + 41 public: + 42 pn_unique_ptr(T* p=0) : ptr_(p) {} + 43#if PN_CPP_HAS_RVALUE_REFERENCES + 44 pn_unique_ptr(pn_unique_ptr x) : ptr_(0) { std::swap(ptr_, x.ptr_); } + 45#else + 46 pn_unique_ptr(const pn_unique_ptr x) : ptr_() { std::swap(ptr_, const_castpn_unique_ptr(x).ptr_); } + 47#endif + 48 ~pn_unique_ptr() { delete(ptr_); } + 49 T operator*() const { return *ptr_; } + 50 T* operator-() const { return ptr_; } + 51 T* get() const { return ptr_; } + 52 void reset(T* p = 0) { pn_unique_ptrT tmp(p); std::swap(ptr_, tmp.ptr_); } + 53 T* release() { T *p = ptr_; ptr_ = 0; return p; } + 54 operator bool()
[29/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.html new file mode 100755 index 000..06609b4 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.html @@ -0,0 +1,159 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: transfer + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1transfer.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +transfer + + + +The base class for delivery and tracker. + More... + +#include transfer.hpp + +Inheritance diagram for transfer: + + + + + + + + + + +Public Member Functions + +transfer () +Create an empty transfer. + + +class sessionsession () const +Return the session for this transfer. + + +class connectionconnection () const +Return the connection for this transfer. + + +class container container () const +Return the container for this transfer. + + +voidsettle () +Settle the delivery; informs the remote end. + + +boolsettled () const +Return true if the transfer has been settled. + + +Detailed Description +The base class for delivery and tracker. +The documentation for this class was generated from the following file: +proton/transfer.hpp + + + + + + +protontransfer +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.js new file mode 100755 index 000..dc564fe --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.js @@ -0,0 +1,9 @@ +var classproton_1_1transfer = +[ +[ "transfer", "classproton_1_1transfer.html#a27689e22340a12302f25eec6072c5d22", null ], +[ "connection", "classproton_1_1transfer.html#af13d10fc3d843719af9ff4c456330a73", null ], +[ "container", "classproton_1_1transfer.html#a604ee46e04955a2323f305b4a81017a0", null ], +[ "session", "classproton_1_1transfer.html#aa33faff52aea9845efaf184f86676cc5", null ], +[ "settle", "classproton_1_1transfer.html#a172df06404ec241cee5281536db603a7", null ], +[ "settled", "classproton_1_1transfer.html#ade04b72d05d480bc5cb9ff21cc22d229", null ] +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.png -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.png b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.png new file mode 100755 index 000..7f64ab0 Binary files /dev/null and b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transfer.png differ http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transport-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transport-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transport-members.html index 5de66f0..b1a1fe1 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transport-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1transport-members.html @@ -3,8 +3,8 @@ - -C++ AMQP Protocol Engine API: Member List + +Qpid Proton C++ API: Member List @@ -30,8 +30,8 @@ - - C++ AMQP Protocol Engine API + + Qpid Proton C++ API master @@ -55,7 +55,7 @@ - + var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -90,18 +90,17 @@ $(document).ready(function(){initNavTree('classproton_1_1transport.html','');});
[06/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex2.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex2.js b/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex2.js index 4665b07..bec00f9 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex2.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/navtreeindex2.js @@ -1,253 +1,253 @@ var NAVTREEINDEX2 = { -"classproton_1_1scalar__base.html#a085a31aed84d3c8d710102131bae556e":[5,0,0,27,3], -"classproton_1_1scalar__base.html#a28051eb03430b91fddd273b1363e0cf1":[5,0,0,27,1], -"classproton_1_1scalar__base.html#a358d3fdbe2e6663b4ec5306bd05b6d0f":[5,0,0,27,2], -"classproton_1_1scalar__base.html#a40bfb9a20944ad3d19f8a90a27a82576":[5,0,0,27,4], -"classproton_1_1scalar__base.html#a6a70b946e3620c70eac8e97f7f33fb27":[5,0,0,27,0], -"classproton_1_1scalar__base.html#aa4f061f731c5f2304b6538b6ac935e42":[5,0,0,27,5], -"classproton_1_1sender.html":[5,0,0,28], -"classproton_1_1sender.html#a08a29346f1a6b36085afc57cbba90894":[5,0,0,28,13], -"classproton_1_1sender.html#a1e2622353881ca93799c7d127a1464ce":[5,0,0,28,21], -"classproton_1_1sender.html#a1e65cc5198f2c2e57d28815f401eb7d9":[5,0,0,28,9], -"classproton_1_1sender.html#a2246ba119cbaa626fb423e1ba80f84c5":[5,0,0,28,8], -"classproton_1_1sender.html#a37627d5d5bba7f4a8690c71c2ab3cb07":[5,0,0,28,10], -"classproton_1_1sender.html#a42add3dc24b98be816b02f7ba64737f4":[5,0,0,28,12], -"classproton_1_1sender.html#a492e060bda7b5f5a49a9e5cd19f92834":[5,0,0,28,15], -"classproton_1_1sender.html#a5ae591df94fc66ccb85cbb6565368bca":[5,0,0,28,2], -"classproton_1_1sender.html#a604ee46e04955a2323f305b4a81017a0":[5,0,0,28,4], -"classproton_1_1sender.html#a75360c7515b9f569871c5ea953286649":[5,0,0,28,5], -"classproton_1_1sender.html#a9660be8f45524b15c3931fb752de3b3e":[5,0,0,28,0], -"classproton_1_1sender.html#aa29986e9373916447665a8791845e7cf":[5,0,0,28,19], -"classproton_1_1sender.html#aa33faff52aea9845efaf184f86676cc5":[5,0,0,28,20], -"classproton_1_1sender.html#aaaea8dc733566e78a066d2435f8a60c5":[5,0,0,28,7], -"classproton_1_1sender.html#ab8db92c685717230b2f19be20c660005":[5,0,0,28,14], -"classproton_1_1sender.html#ac295bade8aee589f6718dfa79edc2a34":[5,0,0,28,6], -"classproton_1_1sender.html#ad5797a56dcc8453297ee6551fed06a95":[5,0,0,28,17], -"classproton_1_1sender.html#adc8d612ee69e5722919c1bc2c95df66e":[5,0,0,28,16], -"classproton_1_1sender.html#ae8473244d5665777c846fa88eba39252":[5,0,0,28,1], -"classproton_1_1sender.html#aefaf5ace497245ca76c6c9d629ae7bee":[5,0,0,28,18], -"classproton_1_1sender.html#af13d10fc3d843719af9ff4c456330a73":[5,0,0,28,3], -"classproton_1_1sender.html#afdfda4724950dfecdbc2e74b6a888998":[5,0,0,28,11], -"classproton_1_1session.html":[5,0,0,29], -"classproton_1_1session.html#a1e2622353881ca93799c7d127a1464ce":[5,0,0,29,9], -"classproton_1_1session.html#a377ff364a7dcdbdb9eecdf093c911c68":[5,0,0,29,10], -"classproton_1_1session.html#a492e060bda7b5f5a49a9e5cd19f92834":[5,0,0,29,8], -"classproton_1_1session.html#a49de581742de87b197ff8d3f82cbb367":[5,0,0,29,11], -"classproton_1_1session.html#a5ae591df94fc66ccb85cbb6565368bca":[5,0,0,29,1], -"classproton_1_1session.html#a604ee46e04955a2323f305b4a81017a0":[5,0,0,29,3], -"classproton_1_1session.html#a7ebd6d1b79102078ccdb1e07b1cd90f7":[5,0,0,29,7], -"classproton_1_1session.html#a9660be8f45524b15c3931fb752de3b3e":[5,0,0,29,0], -"classproton_1_1session.html#aaaea8dc733566e78a066d2435f8a60c5":[5,0,0,29,5], -"classproton_1_1session.html#af13d10fc3d843719af9ff4c456330a73":[5,0,0,29,2], -"classproton_1_1session.html#af1fb4d28f91a33fb7c8a73a4083f6745":[5,0,0,29,6], -"classproton_1_1session.html#af304203ffaff9415b7884f53507b72dc":[5,0,0,29,4], -"classproton_1_1session__iterator.html":[5,0,0,30], -"classproton_1_1session__iterator.html#a2da7487a18e35ffb18eaea5eac7e93ac":[5,0,0,30,0], -"classproton_1_1ssl.html":[5,0,0,31], -"classproton_1_1ssl.html#a0d3f14f27a1e5af0a5f378fc1a8a8de4":[5,0,0,31,0], -"classproton_1_1ssl.html#a0d3f14f27a1e5af0a5f378fc1a8a8de4a6a8b4831d126ce349ac966f2f469413f":[5,0,0,31,0,2], -"classproton_1_1ssl.html#a0d3f14f27a1e5af0a5f378fc1a8a8de4a6ce26a62afab55d7606ad4e92428b30c":[5,0,0,31,0,0], -"classproton_1_1ssl.html#a0d3f14f27a1e5af0a5f378fc1a8a8de4aec34b0b90541576a22697631105dc847":[5,0,0,31,0,1], -"classproton_1_1ssl.html#aab73a626b87b792e31ff0eee531fbcb2":[5,0,0,31,2], -"classproton_1_1ssl.html#abe68233596c90fd29d934854560ff5f3":[5,0,0,31,1], -"classproton_1_1ssl.html#abe68233596c90fd29d934854560ff5f3a57807a2e5ed5e9858db1e84f24e91a0a":[5,0,0,31,1,2], -"classproton_1_1ssl.html#abe68233596c90fd29d934854560ff5f3ac0c5cd6b794574267c2ad08f485bd76d":[5,0,0,31,1,1], -"classproton_1_1ssl.html#abe68233596c90fd29d934854560ff5f3adb9333f2461b9f65dcb7346a8ceb185c":[5,0,0,31,1,0], -"classproton_1_1ssl__client__options.html":[5,0,0,32],
[10/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/messaging__handler_8hpp_source.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/messaging__handler_8hpp_source.html b/content/releases/qpid-proton-master/proton/cpp/api/messaging__handler_8hpp_source.html index 63918be..cc460b0 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/messaging__handler_8hpp_source.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/messaging__handler_8hpp_source.html @@ -3,8 +3,8 @@ - -C++ AMQP Protocol Engine API: tmp/aconway/transom/qpid-proton-master/proton-c/bindings/cpp/include/proton/messaging_handler.hpp Source File + +Qpid Proton C++ API: proton/messaging_handler.hpp Source File @@ -30,8 +30,8 @@ - - C++ AMQP Protocol Engine API + + Qpid Proton C++ API master @@ -55,7 +55,7 @@ - + var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -93,8 +93,8 @@ $(document).ready(function(){initNavTree('messaging__handler_8hpp_source.html',' messaging_handler.hpp -Go to the documentation of this file.1#ifndef PROTON_CPP_MESSAGING_HANDLER_H - 2#define PROTON_CPP_MESSAGING_HANDLER_H +1#ifndef PROTON_MESSAGING_HANDLER_HPP + 2#define PROTON_MESSAGING_HANDLER_HPP 3 4/* 5 * @@ -117,133 +117,127 @@ $(document).ready(function(){initNavTree('messaging__handler_8hpp_source.html',' 22 * 23 */ 24 - 25#include proton/proton_handler.hpp - 26#include proton/event.h + 25#include proton/export.hpp + 26#include proton/internal/pn_unique_ptr.hpp 27 28namespace proton { 29 - 30class event; - 31class messaging_adapter; - 32 - 38class messaging_handler : public proton_handler - 39{ - 40 public: - 47 PN_CPP_EXTERN messaging_handler(int prefetch=10, bool auto_accept=true, bool auto_settle=true, - 48 bool peer_close_is_error=false); - 49 - 50 PN_CPP_EXTERN virtual ~messaging_handler(); - 51 - 54 PN_CPP_EXTERN virtual void on_abort(event e); - 55 PN_CPP_EXTERN virtual void on_accepted(event e); - 56 PN_CPP_EXTERN virtual void on_commit(event e); - 57 PN_CPP_EXTERN virtual void on_connection_closed(event e); - 58 PN_CPP_EXTERN virtual void on_connection_closing(event e); - 59 PN_CPP_EXTERN virtual void on_connection_error(event e); - 60 PN_CPP_EXTERN virtual void on_connection_opening(event e); - 61 PN_CPP_EXTERN virtual void on_connection_opened(event e); - 62 PN_CPP_EXTERN virtual void on_disconnected(event e); - 63 PN_CPP_EXTERN virtual void on_fetch(event e); - 64 PN_CPP_EXTERN virtual void on_id_loaded(event e); - 65 PN_CPP_EXTERN virtual void on_link_closed(event e); - 66 PN_CPP_EXTERN virtual void on_link_closing(event e); - 67 PN_CPP_EXTERN virtual void on_link_error(event e); - 68 PN_CPP_EXTERN virtual void on_link_opened(event e); - 69 PN_CPP_EXTERN virtual void on_link_opening(event e); - 70 PN_CPP_EXTERN virtual void on_message(event e); - 71 PN_CPP_EXTERN virtual void on_quit(event e); - 72 PN_CPP_EXTERN virtual void on_record_inserted(event e); - 73 PN_CPP_EXTERN virtual void on_records_loaded(event e); - 74 PN_CPP_EXTERN virtual void on_rejected(event e); - 75 PN_CPP_EXTERN virtual void on_released(event e); - 76 PN_CPP_EXTERN virtual void on_request(event e); - 77 PN_CPP_EXTERN virtual void on_response(event e); - 78 PN_CPP_EXTERN virtual void on_sendable(event e); - 79 PN_CPP_EXTERN virtual void on_session_closed(event e); - 80 PN_CPP_EXTERN virtual void on_session_closing(event e); - 81 PN_CPP_EXTERN virtual void on_session_error(event e); - 82 PN_CPP_EXTERN virtual void on_session_opened(event e); - 83 PN_CPP_EXTERN virtual void on_session_opening(event e); - 84 PN_CPP_EXTERN virtual void on_settled(event e); - 85 PN_CPP_EXTERN virtual void on_start(event e); - 86 PN_CPP_EXTERN virtual void on_timer(event e); - 87 PN_CPP_EXTERN virtual void on_transaction_aborted(event e); - 88 PN_CPP_EXTERN virtual void on_transaction_committed(event e); - 89 PN_CPP_EXTERN virtual void on_transaction_declared(event e); - 90 PN_CPP_EXTERN virtual void on_transport_closed(event e); - 92 - 93 private: - 94 int prefetch_; - 95 bool auto_accept_; - 96 bool auto_settle_; - 97 bool peer_close_iserror_; - 98 PN_UNIQUE_PTRmessaging_adapter messaging_adapter_; - 99 PN_UNIQUE_PTRhandler flow_controller_; - 100 PN_CPP_EXTERN messaging_handler( - 101 bool raw_handler, int prefetch=10, bool auto_accept=true, - 102 bool auto_settle=true, bool peer_close_is_error=false); -
[36/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.html index eaec243..1140e2e 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1messaging__handler.html @@ -3,8 +3,8 @@ - -C++ AMQP Protocol Engine API: proton::messaging_handler Class Reference + +Qpid Proton C++ API: messaging_handler @@ -30,8 +30,8 @@ - - C++ AMQP Protocol Engine API + + Qpid Proton C++ API master @@ -55,7 +55,7 @@ - + var searchBox = new SearchBox("searchBox", "search",false,'Search'); @@ -91,500 +91,136 @@ $(document).ready(function(){initNavTree('classproton_1_1messaging__handler.html Public Member Functions -Friends List of all members -proton::messaging_handler Class Reference +messaging_handler +A handler for Proton messaging events. + More... + #include messaging_handler.hpp - -Inheritance diagram for proton::messaging_handler: - - - - -[legend] - -Collaboration diagram for proton::messaging_handler: - - - - -[legend] Public Member Functions -PN_CPP_EXTERNmessaging_handler (int prefetch=10, bool auto_accept=true, bool auto_settle=true, bool peer_close_is_error=false) - -virtual PN_CPP_EXTERN~messaging_handler () - -Over-ride these member functions to handle events -virtual PN_CPP_EXTERN voidon_abort (event e) - -virtual PN_CPP_EXTERN voidon_accepted (event e) - -virtual PN_CPP_EXTERN voidon_commit (event e) - -virtual PN_CPP_EXTERN voidon_connection_closed (event e) - -virtual PN_CPP_EXTERN voidon_connection_closing (event e) - -virtual PN_CPP_EXTERN voidon_connection_error (event e) - -virtual PN_CPP_EXTERN voidon_connection_opening (event e) - -virtual PN_CPP_EXTERN voidon_connection_opened (event e) - -virtual PN_CPP_EXTERN voidon_disconnected (event e) - -virtual PN_CPP_EXTERN voidon_fetch (event e) - -virtual PN_CPP_EXTERN voidon_id_loaded (event e) - -virtual PN_CPP_EXTERN voidon_link_closed (event e) - -virtual PN_CPP_EXTERN voidon_link_closing (event e) - -virtual PN_CPP_EXTERN voidon_link_error (event e) - -virtual PN_CPP_EXTERN voidon_link_opened (event e) - -virtual PN_CPP_EXTERN voidon_link_opening (event e) - -virtual PN_CPP_EXTERN voidon_message (event e) - -virtual PN_CPP_EXTERN voidon_quit (event e) - -virtual PN_CPP_EXTERN voidon_record_inserted (event e) - -virtual PN_CPP_EXTERN voidon_records_loaded (event e) - -virtual PN_CPP_EXTERN voidon_rejected (event e) - -virtual PN_CPP_EXTERN voidon_released (event e) - -virtual PN_CPP_EXTERN voidon_request (event e) - -virtual PN_CPP_EXTERN voidon_response (event e) - -virtual PN_CPP_EXTERN voidon_sendable (event e) - -virtual PN_CPP_EXTERN voidon_session_closed (event e) - -virtual PN_CPP_EXTERN voidon_session_closing (event e) - -virtual PN_CPP_EXTERN voidon_session_error (event e) - -virtual PN_CPP_EXTERN voidon_session_opened (event e) - -virtual PN_CPP_EXTERN voidon_session_opening (event e) - -virtual PN_CPP_EXTERN voidon_settled (event e) - -virtual PN_CPP_EXTERN voidon_start (event e) - -virtual PN_CPP_EXTERN voidon_timer (event e) - -virtual PN_CPP_EXTERN voidon_transaction_aborted (event e) - -virtual PN_CPP_EXTERN voidon_transaction_committed (event e) - -virtual PN_CPP_EXTERN voidon_transaction_declared (event e) - -virtual PN_CPP_EXTERN voidon_transport_closed (event e) - -Public Member Functions inherited from proton::proton_handler -PN_CPP_EXTERNproton_handler () - -virtual PN_CPP_EXTERN voidon_reactor_init (event e) - -virtual PN_CPP_EXTERN voidon_reactor_quiesced (event e) - -virtual PN_CPP_EXTERN voidon_reactor_final (event e) - -virtual PN_CPP_EXTERN voidon_timer_task (event e) - -virtual PN_CPP_EXTERN voidon_connection_init (event e) - -virtual PN_CPP_EXTERN voidon_connection_bound (event e) - -virtual PN_CPP_EXTERN voidon_connection_unbound (event e) - -virtual PN_CPP_EXTERN voidon_connection_local_open (event e) - -virtual PN_CPP_EXTERN voidon_connection_local_close (event e) - -virtual PN_CPP_EXTERN voidon_connection_remote_open (event e) - -virtual PN_CPP_EXTERN voidon_connection_remote_close (event e) - -virtual PN_CPP_EXTERN voidon_connection_final (event e) - -virtual PN_CPP_EXTERN voidon_session_init (event e) - -virtual PN_CPP_EXTERN voidon_session_local_open (event e) - -virtual PN_CPP_EXTERN voidon_session_local_close (event e) - -virtual PN_CPP_EXTERN voidon_session_remote_open (event e) - -virtual PN_CPP_EXTERN voidon_session_remote_close (event e) - -virtual PN_CPP_EXTERN voidon_session_final (event e) -
[32/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.html new file mode 100755 index 000..5056de1 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.html @@ -0,0 +1,143 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: session_options + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1session__options.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +session_options + + + +Options for creating a session. + More... + +#include session_options.hpp + + +Public Member Functions + +session_options () +Create an empty set of options. + + +session_options (const session_options ) +Copy options. + + +session_options operator= (const session_options ) +Copy options. + + +session_options handler (class messaging_handler *) +Set a messaging_handler for the session. + + +Detailed Description +Options for creating a session. +Options can be "chained" (see proton::connection_options). +Normal value semantics: copy or assign creates a separate copy of the options. +The documentation for this class was generated from the following file: +proton/session_options.hpp + + + + + + +protonsession_options +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.js new file mode 100755 index 000..4edfdf2 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1session__options.js @@ -0,0 +1,8 @@ +var classproton_1_1session__options = +[ +[ "session_options", "classproton_1_1session__options.html#ad0a94848bc139a7628681a3401402f7b", null ], +[ "session_options", "classproton_1_1session__options.html#a2e138875d21432af920338badc26fefb", null ], +[ "~session_options", "classproton_1_1session__options.html#a4e46096f909a7dcee51b427bb743c10b", null ], +[ "handler", "classproton_1_1session__options.html#aeb0051c569cdc2d992a8da4bb476c7e4", null ], +[ "operator=", "classproton_1_1session__options.html#a57fc2c11f848dfbaac03010025aa7e93", null ] +]; \ No newline at end of file http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1source-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1source-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1source-members.html new file mode 100755 index 000..507520c --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1source-members.html @@ -0,0 +1,134 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: Member List + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1source.html','');}); + + + + + + + + + + + + + + +source Member List + + + +This is the complete list of members for source, including all inherited members. + + address() const source + CONFIGURATION enum valueterminus + CONNECTION_CLOSE enum valueterminus + COPY enum valuesource + distribution_mode enum namesource + distribution_mode() const source + durability_mode enum
[17/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_func.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_func.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_func.html index acb5c15..62b9030 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_func.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_func.html @@ -94,28 +94,36 @@ $(document).ready(function(){initNavTree('functions_func.html','');}); - a - accept() : delivery -, listener +, connection_engine -address() -: terminus - -annotation_key() -: annotation_key +active() +: connection +, endpoint +, link +, session -append() -: data +add_credit() +: receiver -appendn() -: data +address() +: source +, source_options +, target +, target_options -application_properties() -: message +annotation_key() +: annotation_key auto_accept() -: link_options +: receiver_options auto_settle() -: link_options +: receiver_options +, sender_options + +auto_stop() +: container +, default_container http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_func.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_func.js b/content/releases/qpid-proton-master/proton/cpp/api/functions_func.js index 9d94edf..86656c5 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_func.js +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_func.js @@ -14,7 +14,6 @@ var functions_func = [ "n", "functions_func_n.html", null ], [ "o", "functions_func_o.html", null ], [ "p", "functions_func_p.html", null ], -[ "q", "functions_func_q.html", null ], [ "r", "functions_func_r.html", null ], [ "s", "functions_func_s.html", null ], [ "t", "functions_func_t.html", null ], http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_func_b.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_func_b.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_func_b.html index 925f4b7..268b16a 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_func_b.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_func_b.html @@ -95,9 +95,6 @@ $(document).ready(function(){initNavTree('functions_func_b.html','');}); body() : message -browsing() -: link_options - byte_array() : byte_array N http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_func_c.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/functions_func_c.html b/content/releases/qpid-proton-master/proton/cpp/api/functions_func_c.html index 93395db..a4d0941 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/functions_func_c.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/functions_func_c.html @@ -92,65 +92,96 @@ $(document).ready(function(){initNavTree('functions_func_c.html','');}); - c - +cancel() +: state_guard + clear() -: data -, message +: message , scalar , value client_connection_options() -: container +: container +, default_container +, container_impl_base close() -: acceptor -, connection -, link +: connection +, endpoint +, link , session +closed() +: connection +, endpoint +, link +, session + coerce() : annotation_key , message_id , scalar , value +configure() +: connection_engine + connect() -: container +: container +, default_container +, connection_engine connection() -: delivery +: connection +, connection_engine , link , session +, transfer +, transport + +connection_engine() +: connection_engine connection_options() -: acceptor -, connection_options +: connection_options + +const_buffer() +: const_buffer container() : connection -, container -, delivery +, connection_engine , link , session +, transfer container_id() : connection , connection_options +content_encoding() +: message + +content_type() +: message + conversion_error() : conversion_error copy() -: data -, uuid +: uuid + +correlation_id() +: message -create() -: data +creation_time() +: message credit() : link credit_window() -: link_options +: receiver_options http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/functions_func_d.html -- diff --git
[34/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.html new file mode 100755 index 000..d64fbb5 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.html @@ -0,0 +1,230 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: receiver_options + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('classproton_1_1receiver__options.html','');}); + + + + + + + + + + + + + + +Public Member Functions +List of all members + +receiver_options + + + +Options for creating a receiver. + More... + +#include receiver_options.hpp + + +Public Member Functions + +receiver_options () +Create an empty set of options. + + +receiver_options (const receiver_options ) +Copy options. + + +receiver_options operator= (const receiver_options ) +Copy options. + + +voidupdate (const receiver_options other) +Merge with another option set. + +receiver_options handler (class messaging_handler ) +Set a messaging_handler for receiver events only. More... + + +receiver_options delivery_mode (delivery_mode) +Set the delivery mode on the receiver. + +receiver_options auto_accept (bool) +Automatically accept inbound messages that aren't otherwise released, rejected, or modified (default is true). More... + + +receiver_options auto_settle (bool) +Automatically settle messages (default is true). + + +receiver_options source (source_options ) +Options for the source node of the receiver. + + +receiver_options target (target_options ) +Options for the target node of the receiver. + +receiver_options credit_window (int) +Set automated flow control to pre-fetch this many messages (default is 10). More... + + +Detailed Description +Options for creating a receiver. +Options can be "chained" like this: +l = container.create_receiver(url, receiver_options().handler(h).auto_settle(true)); +You can also create an options object with common settings and use it as a base for different connections that have mostly the same settings: +receiver_options opts; +opts.auto_settle(true); +c2 = container.open_receiver(url2, opts.handler(h2)); +Normal value semantics: copy or assign creates a separate copy of the options. +Member Function Documentation + + + + + + receiver_options auto_accept + ( + bool + ) + + + + + +Automatically accept inbound messages that aren't otherwise released, rejected, or modified (default is true). + + + + + + + + + receiver_options credit_window + ( + int + ) + + + + + +Set automated flow control to pre-fetch this many messages (default is 10). +Set to zero to disable automatic credit replenishing. + + + + + + + + + receiver_options handler + ( + class messaging_handler + ) + + + + + +Set a messaging_handler for receiver events only. +The handler is no longer in use when messaging_handler::on_receiver_close() is called. + + + +The documentation for this class was generated from the following file: +proton/receiver_options.hpp + + + + + + +protonreceiver_options +Generated by +http://www.doxygen.org/index.html;> + 1.8.10 + + + + http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.js -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.js b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.js new file mode 100755 index 000..e65f97d --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1receiver__options.js @@ -0,0 +1,15 @@ +var classproton_1_1receiver__options = +[ +[ "receiver_options", "classproton_1_1receiver__options.html#a9e10a473b92db75e78a3ad8498f32c36", null ], +[ "receiver_options",
[48/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classes.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classes.html b/content/releases/qpid-proton-master/proton/cpp/api/classes.html index 88b0b55..a0d6dca 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classes.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classes.html @@ -93,40 +93,45 @@ $(document).ready(function(){initNavTree('classes.html','');}); Class Index -A|B|C|D|E|G|H|L|M|R|S|T|U|V +A|B|C|D|E|F|I|L|M|R|S|T|U|V a -d -g -message_id (proton)symbol (proton) -r -t - -acceptor (proton)data (proton::codec)guard (proton::io::socket) -annotation_key (proton)decimal128 (proton)h -receiver (proton)terminus (proton) +decimal32 (proton)l +scalar (proton)thread_safe (proton) +decimal64 (proton)sender (proton)timeout_error (proton) +annotation_key (proton)decoder (proton::codec)link (proton)sender_options (proton)timestamp (proton) b -decimal32 (proton)s -timeout_error (proton) -decimal64 (proton)handler (proton)timestamp (proton) -binary (proton)decoder (proton::codec)l -sasl (proton)u +default_container (proton)link_namer (proton::io)session (proton)tracker (proton) +delivery (proton)listen_handler (proton)session_options (proton)transfer (proton) +binary (proton)delivery_mode (proton)listener (proton)source (proton)transport (proton) +byte_array (proton)duration (proton)m +source_options (proton)u -byte_array (proton)delivery (proton)scalar (proton) c -duration (proton)link (proton)scalar_base (proton)url (proton) -e -link_iterator (proton)sender (proton)url_error (proton) -condition (proton)link_options (proton)session (proton)uuid (proton) -connection (proton)encoder (proton::codec)listener (proton::io::socket)session_iterator (proton)v - -connection_options (proton)endpoint (proton)m +e ssl (proton) -container (proton)engine (proton::io::socket)ssl_client_options (proton)value (proton) -conversion_error (proton)error (proton)message (proton)ssl_server_options (proton) +message (proton)ssl_certificate (proton)url (proton) +connection (proton)encoder (proton::codec)message_id (proton)ssl_client_options (proton)url_error (proton) +connection_engine (proton::io)endpoint (proton)messaging_handler (proton)ssl_server_options (proton)uuid (proton) +connection_options (proton)error (proton)mutable_buffer (proton::io)start (proton::codec)v + +const_buffer (proton::io)error_condition (proton)r +state_guard (proton::codec) +container (proton)event_loop (proton)symbol (proton)value (proton) +container_impl_base (proton::io)f +receiver (proton)t + +conversion_error (proton)receiver_options (proton) +d +finish (proton::codec)s +target (proton) +i +target_options (proton) +decimal128 (proton)sasl (proton)terminus (proton) +inject_handler (proton) -A|B|C|D|E|G|H|L|M|R|S|T|U|V +A|B|C|D|E|F|I|L|M|R|S|T|U|V http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key-members.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key-members.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key-members.html index 30200db..c0c301a 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key-members.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key-members.html @@ -105,7 +105,6 @@ $(document).ready(function(){initNavTree('classproton_1_1annotation__key.html',' operator=(const symbol x) (defined in annotation_key)annotation_keyinline operator=(const std::string x) (defined in annotation_key)annotation_keyinline operator=(const char *x) (defined in annotation_key)annotation_keyinline - type() const scalar_base http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key.html b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key.html index 66f0397..b3dbaa6 100755 --- a/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key.html +++ b/content/releases/qpid-proton-master/proton/cpp/api/classproton_1_1annotation__key.html @@ -108,7 +108,6 @@ Inheritance diagram for annotation_key: - @@ -123,10 +122,6 @@ templateclass T annotation_key (const T x) Construct from any type that can be assigned. - -type_idtype () const -AMQP type of data stored in the scalar. - Assign from a uint64_t or
[08/51] [partial] qpid-site git commit: QPID-7201: Update the Proton master snapshot
http://git-wip-us.apache.org/repos/asf/qpid-site/blob/627da724/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton_1_1codec.html -- diff --git a/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton_1_1codec.html b/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton_1_1codec.html new file mode 100755 index 000..ce65c82 --- /dev/null +++ b/content/releases/qpid-proton-master/proton/cpp/api/namespaceproton_1_1codec.html @@ -0,0 +1,520 @@ +http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> +http://www.w3.org/1999/xhtml;> + + + + +Qpid Proton C++ API: proton::codec Namespace Reference + + + + + + + + + $(document).ready(initResizable); + $(window).load(resizeHeight); + + + + + + $(document).ready(function() { init_search(); }); + + + + + + + + + + + Qpid Proton C++ API + master + + + + + + + + + + + + + + + + + + +var searchBox = new SearchBox("searchBox", "search",false,'Search'); + + + + + + + + + + + + +$(document).ready(function(){initNavTree('namespaceproton_1_1codec.html','');}); + + + + + + + + + + + + + + +Classes +Functions + +proton::codec Namespace Reference + + + +Experimental - AMQP data encoding and decoding. +More... + + +Classes +class decoder +Experimental - Stream-like decoder from AMQP bytes to C++ values. More... + +class encoder +Experimental - Stream-like encoder from AMQP bytes to C++ values. More... + +struct finish +Experimental - Finish inserting or extracting a complex type. More... + +struct start +Experimental - Start encoding a complex type. More... + +struct state_guard +Experimental - Save and restore codec state More... + + + +Typedefs +Experimental - Typedefs for AMQP scalar types. +These typedefs associate AMQP scalar type names with the corresponding C++ types. +They are provided as a convenience for those familiar with AMQP, but you do not need to use them. You can use the C++ types directly. +The typedef names have a _type suffix to avoid ambiguity with C++ reserved and std library type names. + + +typedef boolboolean_type +True or false. + + +typedef uint8_tubyte_type +8-bit unsigned byte + + +typedef int8_tbyte_type +8-bit signed byte + + +typedef uint16_tushort_type +16-bit unsigned short integer + + +typedef int16_tshort_type +16-bit signed short integer + + +typedef uint32_tuint_type +32-bit unsigned integer + + +typedef int32_tint_type +32-bit signed integer + + +typedef uint64_tulong_type +64-bit unsigned long integer + + +typedef int64_tlong_type +64-bit signed long integer + + +typedef wchar_tchar_type +32-bit unicode code point + + +typedef floatfloat_type +32-bit binary floating point + + +typedef doubledouble_type +64-bit binary floating point + + +typedef std::stringstring_type +An AMQP string is unicode UTF-8 encoded. + + +typedef proton::symbolsymbol_type +An AMQP symbol is ASCII 7-bit encoded. + + +typedef proton::binarybinary_type +An AMQP binary contains variable length raw binary data. + + +typedef proton::timestamptimestamp_type +A timestamp in milliseconds since the epoch 00:00:00 (UTC), 1 January 1970. + + +typedef proton::uuiduuid_type +A 16-byte universally unique identifier. + + +typedef proton::decimal32decimal32_type +32-bit decimal floating point + + +typedef proton::decimal64decimal64_type +64-bit decimal floating point + + +typedef proton::decimal128decimal128_type +128-bit decimal floating point + + + +Functions +templateclass T +internal::enable_if internal::is_unknown_integer T ::value, decoder ::typeoperator (decoder d, T i) +operator for integer types that are not covered by the standard overrides. More... + + +templateclass T , class A +encoder operator (encoder e, const std::deque T, A x) +std::dequeT for most T is encoded as an amqp::ARRAY (same type elements) + + +templateclass A +encoder operator (encoder e, const std::deque value, A x) +std::dequevalue encodes as codec::list_type (mixed type elements) + + +templateclass A +encoder operator (encoder e, const std::deque scalar, A x) +std::dequescalar encodes as codec::list_type (mixed type elements) + +templateclass A , class K , class T +encoder operator (encoder e, const std::deque std::pair K, T , A x) +std::dequestd::pairk,t encodes as codec::map_type. More... + + +templateclass T , class A +decoder operator (decoder d, std::deque T, A x) +Decode to std::dequeT from an amqp::LIST or amqp::ARRAY. + + +templateclass A , class K , class T +decoder operator (decoder d, std::deque std::pair K, T , A x) +Decode to std::dequestd::pairK, T from an amqp::MAP. + + +encoder operator (encoder e, const char *s) +Treat char* as string. + + +templateclass T +internal::enable_if internal::is_unknown_integer T ::value, encoder
svn commit: r1744250 - in /qpid/java/trunk: broker-core/src/main/java/org/apache/qpid/server/model/ doc/java-broker/src/docbkx/concepts/ doc/jms-client-0-10/src/docbkx/ doc/jms-client-0-8/src/docbkx/
Author: rgodfrey Date: Tue May 17 10:44:25 2016 New Revision: 1744250 URL: http://svn.apache.org/viewvc?rev=1744250=rev Log: QPID-7255 : Add documentation for delivery delay feature Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java qpid/java/trunk/doc/java-broker/src/docbkx/concepts/Java-Broker-Concepts-Queues.xml qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml qpid/java/trunk/doc/jms-client-0-8/src/docbkx/JMS-Client-Binding-URL.xml Modified: qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java URL: http://svn.apache.org/viewvc/qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java?rev=1744250=1744249=1744250=diff == --- qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java (original) +++ qpid/java/trunk/broker-core/src/main/java/org/apache/qpid/server/model/Queue.java Tue May 17 10:44:25 2016 @@ -198,7 +198,12 @@ public interface Queuehttp://svn.apache.org/viewvc/qpid/java/trunk/doc/java-broker/src/docbkx/concepts/Java-Broker-Concepts-Queues.xml?rev=1744250=1744249=1744250=diff == --- qpid/java/trunk/doc/java-broker/src/docbkx/concepts/Java-Broker-Concepts-Queues.xml (original) +++ qpid/java/trunk/doc/java-broker/src/docbkx/concepts/Java-Broker-Concepts-Queues.xml Tue May 17 10:44:25 2016 @@ -358,4 +358,21 @@ amqp://guest:guest@client1/development?m - + +Holding messages on a Queue +Sometimes it is required that while a message has been placed on a queue, it is not released to consumers +until some external condition is met. + +Hold until valid +Currently Queues support the "holding" of messages until a (per-message) provided point in time. +By default this support is not enabled (since it requires extra work to be performed against every +message entering the queue. To enable support, the attribute holdOnPublishEnabled +must evaluate to true for the Queue. When enabled messages on the queue will be checked for the header +(for AMQP 0-8, 0-9, 0-9-1 and 0-10 messages) or message annotation (for AMQP 1.0 messages) +x-qpid-not-valid-before. If this header/annotation exists and contains a numeric value, +it will be treated as a point in time given in milliseconds since the UNIX epoch. The message will not +be released from the Queue to consumers until this time has been reached. + + + + Modified: qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml?rev=1744250=1744249=1744250=diff == --- qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml (original) +++ qpid/java/trunk/doc/jms-client-0-10/src/docbkx/JMS-Client-0-10-Book.xml Tue May 17 10:44:25 2016 @@ -2068,7 +2068,21 @@ spout - -content "$(cat rdu.xml | sed -e node creation. - + + + delay + + + long + + + The delay (in milliseconds) between the time a message is sent by a MessageProducer, and + the earliest time it becomes visible to consumers on any queue onto which it has been placed. Note that + this value only has an affect on brokers which support the feature (currently only the Qpid Java + Broker), and only on queues where delivery delay has been enabled. + + + Modified: qpid/java/trunk/doc/jms-client-0-8/src/docbkx/JMS-Client-Binding-URL.xml URL: http://svn.apache.org/viewvc/qpid/java/trunk/doc/jms-client-0-8/src/docbkx/JMS-Client-Binding-URL.xml?rev=1744250=1744249=1744250=diff == --- qpid/java/trunk/doc/jms-client-0-8/src/docbkx/JMS-Client-Binding-URL.xml (original) +++ qpid/java/trunk/doc/jms-client-0-8/src/docbkx/JMS-Client-Binding-URL.xml Tue May 17 10:44:25 2016 @@ -150,6 +150,15 @@ A semi-colon separated list of the names of the recipients who will be able to decrypt the message. + + +deliveryDelay +long +The delay (in milliseconds) between the time a message is sent by a MessageProducer, and +the earliest time it