summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Catch exception now thrown by ExchangeRegistry::getDefault() when a default ↵Gordon Sim2007-03-201-3/+7
| | | | | | has not been set. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@520493 13f79535-47bb-0310-9956-ffa450edef68
* Make --enable-valgrind the default, suppress all current leaks so we can see ↵Alan Conway2007-03-162-1/+2225
| | | | | | new ones. Fixing suppressed leaks is QPID-424. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@519146 13f79535-47bb-0310-9956-ffa450edef68
* Changed u_int<n>_t to uint<n>_t for posix compliance.Alan Conway2007-03-1592-508/+508
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518733 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 513371 via svnmerge from Alan Conway2007-03-143-4/+5
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r513371 | rgreig | 2007-03-01 10:09:17 -0500 (Thu, 01 Mar 2007) | 1 line (Patch submitted by Rupert Smith) Small changes to use virtual hosts, merged back in from perftesting_persistent branch. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518293 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 509737 via svnmerge from Alan Conway2007-03-141-1/+6
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r509737 | meyering | 2007-02-20 15:21:56 -0500 (Tue, 20 Feb 2007) | 2 lines * qpidc.spec.in: Add a %changelog entry for 0.1-4. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518263 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 509208 via svnmerge from Alan Conway2007-03-141-2/+2
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r509208 | meyering | 2007-02-19 09:11:17 -0500 (Mon, 19 Feb 2007) | 3 lines * qpidc.spec.in (URL): Update URL: and Source0: to point use http://rhm.et.redhat.com. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518261 13f79535-47bb-0310-9956-ffa450edef68
* cpp/tests/FramingTest.cpp: Updated for new default virtual host "/"Alan Conway2007-03-141-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518258 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 507729 via svnmerge from Alan Conway2007-03-146-479/+254
| | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507729 | aconway | 2007-02-14 17:43:06 -0500 (Wed, 14 Feb 2007) | 8 lines Applied QPID-351 patch 1 with the following mods: - Moved "source distro" instructions in front of "subversion checkout" instructions. - Added instructions on using qpid-autotools-install - Added general blurb with links at top - renamed to README, removed other README-* files. - Updated makefiles (spec file was already OK.) ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518256 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 507582 via svnmerge from Alan Conway2007-03-141-1/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507582 | gsim | 2007-02-14 10:38:57 -0500 (Wed, 14 Feb 2007) | 3 lines Add durability property to queues and pass this to broker on declare. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518246 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 507458 via svnmerge from Alan Conway2007-03-141-1/+1
| | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507458 | gsim | 2007-02-14 04:58:53 -0500 (Wed, 14 Feb 2007) | 5 lines Applied patch from Jim Meyering, submitted on dev list: * tests/setup: Remove use of libtool's --debug option. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518241 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 507457 via svnmerge from Alan Conway2007-03-141-3/+2
| | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507457 | gsim | 2007-02-14 04:53:38 -0500 (Wed, 14 Feb 2007) | 8 lines Applied patch from Jim Meyering submitted on dev list: 2007-02-14 Jim Meyering <jim@meyering.net> * qpidc.spec.in: Use an absolute Source0: URL. Suggestion from Ralf Corsepius. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518238 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 507455 via svnmerge from Alan Conway2007-03-141-4/+4
| | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r507455 | gsim | 2007-02-14 04:46:08 -0500 (Wed, 14 Feb 2007) | 8 lines Applied patch from Jim Meyering, submitted on dev list: 2007-02-14 Jim Meyering <jim@meyering.net> * configure.ac: Use $enableval, not $enable_APR in the code supporting --disable-apr and --enable-apr. The latter doesn't work. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518236 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 506972 via svnmerge from Alan Conway2007-03-141-1/+2
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r506972 | rgreig | 2007-02-13 06:21:23 -0500 (Tue, 13 Feb 2007) | 1 line (Submitted by Rupert Smith) Small ommission corrected. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518234 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 506967 via svnmerge from Alan Conway2007-03-141-0/+222
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r506967 | rgreig | 2007-02-13 05:59:55 -0500 (Tue, 13 Feb 2007) | 1 line (Submitted by Rupert Smith) Qpid-351, c++ build instructions, all in one file. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518231 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 506406 via svnmerge from Alan Conway2007-03-143-8/+2
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r506406 | gsim | 2007-02-12 05:32:56 -0500 (Mon, 12 Feb 2007) | 4 lines * lib/client/Connection.h - changed default virtual host from '/' to '' as per QPID-349 * lib/client/ClientExchange.h - fixed typo in a comment ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518207 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499864 via svnmerge from Alan Conway2007-03-141-1/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499864 | aconway | 2007-01-25 12:38:02 -0500 (Thu, 25 Jan 2007) | 2 lines * Fixed typo in make rpm target. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518200 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499847 via svnmerge from Alan Conway2007-03-141-2/+3
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499847 | aconway | 2007-01-25 11:50:44 -0500 (Thu, 25 Jan 2007) | 2 lines * qpidc.spec.in: fixed bad date in changelog. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@518199 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499845 via svnmerge from Alan Conway2007-03-133-5/+12
| | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499845 | aconway | 2007-01-25 11:45:48 -0500 (Thu, 25 Jan 2007) | 5 lines * qpidc.spec.in: updated to release 3 for RPM. * gen/make-gen-src-mk.sh: fixed problem with makefile generation in a new checkout. * Other Makefile.am: added missing files to maintainer-clean. * Added missing svn-ignores. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517931 13f79535-47bb-0310-9956-ffa450edef68
* Restore qpidc.spec.in, accidentally deleted during mergeAlan Conway2007-03-131-0/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517929 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499803 via svnmerge from Alan Conway2007-03-135-4/+6
| | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499803 | aconway | 2007-01-25 09:26:45 -0500 (Thu, 25 Jan 2007) | 4 lines * Removed .txt extension from README NOTICE LICENSE to follow common practice. * Updated all references to .txt files. * rpm/Makefile.am: Fixed local-clean target to clean up generaed directories. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517906 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499374 via svnmerge from Alan Conway2007-03-133-142/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499374 | gsim | 2007-01-24 07:01:48 -0500 (Wed, 24 Jan 2007) | 18 lines 2007-01-24 Jim Meyering <meyering@redhat.com> Suggestions from Ralf Corsepius in http://bugzilla.redhat.com/220630. * qpidc.spec.in (BuildRequires): Remove redundant cppunit here, too. The previous removal addressed only the redundant _Requires_. (%configure): Add --disable-static, so as not to build unused static libraries. Generate qpidc.spec. Re-factor/generate even more. * qpidc.spec.in: New file. Use it to generate qpidc.spec, substituting PACKAGE and VERSION from configure.ac. (URL): Omit trailing .tar.gz name. That's specified via "Source0". * Makefile.am (qpidc.spec): New rule. (EXTRA_DIST): Add $(PACKAGE).spec and $(PACKAGE).spec.in. (MAINTAINERCLEANFILES): Define. * qpidc.spec: Remove file. Now it's generated. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517904 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 499049 via svnmerge from Alan Conway2007-03-138-17/+2625
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r499049 | gsim | 2007-01-23 10:12:27 -0500 (Tue, 23 Jan 2007) | 34 lines Patch from Jim Meyering (jim@meyering.net) submitted on dev list. Instrument all tests so that they are run via valgrind: check for both errors and leaks. * configure.ac: Add new configure options: --enable-valgrind and --disable-valgrind. For now, the latter is the default. * README-dev: Document (and recommend) --enable-valgrind. * tests/.vg-supp: Add many more, from Gordon Sim for FC5. * configure.ac: Check for valgrind. * tests/Makefile.am (TESTS_ENVIRONMENT): Export VALGRIND. * tests/setup: New file. * tests/run-unit-tests: Use new "setup" file. Invoke DllPlugInTester via $vg (aka valgrind). Refer to the source directory using $pwd, since we're now running from a temporary subdirectory. * tests/run-python-tests: Remove traps. That is now done by "setup". [VERBOSE]: Print qpidd --version. Invoke qpidd via $vg and its absolute name. Add a kludgey "sleep 3", because it can take a while for libtool to start valgrind to start qpidd, in the background. Ideally, the python script would simply sleep-0.3-and-retry for a couple seconds, upon failure of the initial connection attempt. * tests/.vg-supp: New file, exempting known leaks on Debian/unstable. Some of these leaks appear to be legitimate. * tests/Makefile.am (EXTRA_DIST): Add .vg-supp and setup. * qpid-autotools-install (usage): Add a missing backslash. Fix "make distcheck" failure. * docs/api/Makefile.am (EXTRA_DIST): Add user.doxygen ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517892 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 497439 via svnmerge from Alan Conway2007-03-132-0/+13
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r497439 | gsim | 2007-01-18 09:14:54 -0500 (Thu, 18 Jan 2007) | 3 lines Added the non-standard 'binary' type to the field table implementation to support the java client. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517878 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 497341 via svnmerge from Alan Conway2007-03-131-1/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r497341 | gsim | 2007-01-18 03:11:12 -0500 (Thu, 18 Jan 2007) | 3 lines Close connection when connection.close is sent to client. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517859 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 496678 via svnmerge from Alan Conway2007-03-131-1/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r496678 | kpvdr | 2007-01-16 08:09:50 -0500 (Tue, 16 Jan 2007) | 1 line Fixed QPID-296 Header guards may not be compliant with C++ standard ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517855 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 496665 via svnmerge from Alan Conway2007-03-132-4/+13
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r496665 | gsim | 2007-01-16 07:00:22 -0500 (Tue, 16 Jan 2007) | 3 lines Some basic additional error logging of framing errors. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517851 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 496317 via svnmerge from Alan Conway2007-03-134-7/+8
| | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r496317 | aconway | 2007-01-15 08:58:07 -0500 (Mon, 15 Jan 2007) | 12 lines 2006-12-08 Jim Meyering <meyering@redhat.com> Ensure that AccumulatedAck.range is not used uninitialized. * lib/broker/AccumulatedAck.h (AccumulatedAck): Make this a class, rather than a struct. (AccumulatedAck::AccumulatedAck): Add a constructor to require initialization of the "range" member. * lib/broker/BrokerChannel.cpp (Channel) [accumulatedAck]: Initialize. * tests/TxAckTest.cpp (TxAckTest) [acked]: Likewise. * tests/AccumulatedAckTest.cpp (testCovers): Initialize local. (testUpdateAndConsolidate): Likewise. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517849 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 495629 via svnmerge from Alan Conway2007-03-131-6/+3
| | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r495629 | aconway | 2007-01-12 11:18:49 -0500 (Fri, 12 Jan 2007) | 5 lines 2007-01-11 Jim Meyering <jim@meyering.net> * qpidc.spec (Requires): Remove apr and cppunit, both redundant. Suggestion from Jason Tibbitts. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@517830 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 493126-493151 via svnmerge from Alan Conway2007-03-094-7/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r493126 | aconway | 2007-01-05 13:34:08 -0500 (Fri, 05 Jan 2007) | 2 lines Add refernece to prereqs in README-dist. ........ r493140 | aconway | 2007-01-05 14:09:10 -0500 (Fri, 05 Jan 2007) | 8 lines 2007-01-05 Jim Meyering <meyering@redhat.com> * gen/Makefile.am (gen-src.mk) [CAN_GENERATE_CODE]: Emit an empty dependency for each generated file, in case they are renamed, removed, or no longer generated. Otherwise, "./bootstrap --build" would fail with e.g., `*** No rule to make target ../../gentools/templ.cpp/AMQP_HighestVersion.cpp.tmpl'. ........ r493151 | aconway | 2007-01-05 14:25:32 -0500 (Fri, 05 Jan 2007) | 6 lines 2007-01-05 Jim Meyering <meyering@redhat.com> * lib/broker/Makefile.am (libqpidbroker_la_LIBADD): Define, so we link with libqpidcommon.la. * lib/client/Makefile.am (libqpidclient_la_LIBADD): Likewise. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@516489 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 492756 via svnmerge from Alan Conway2007-03-091-0/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r492756 | kpvdr | 2007-01-04 16:30:39 -0500 (Thu, 04 Jan 2007) | 1 line Fixed C++ client sending protocol version 0-0 over the wire. Minor fixes and tidy-up in related code. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@516485 13f79535-47bb-0310-9956-ffa450edef68
* Merged revisions 492636 via svnmerge from Alan Conway2007-03-091-10/+5
| | | | | | | | | | | | | | https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid ........ r492636 | aconway | 2007-01-04 11:55:03 -0500 (Thu, 04 Jan 2007) | 3 lines Added "make check" to -build flag. Removed rpm build directories from svn. Create them during make. ........ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@516459 13f79535-47bb-0310-9956-ffa450edef68
* r1278@fuschia: andrew | 2007-03-08 19:42:43 +0000Andrew Stitcher2007-03-081-3/+15
| | | | | | | | Correctly split reference messages into chunks shorter than the framesize git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@516157 13f79535-47bb-0310-9956-ffa450edef68
* r1239@fuschia: andrew | 2007-02-26 10:58:52 +0000Andrew Stitcher2007-03-053-36/+63
| | | | | | | | | Refactored message transfer to extract commmonality from deliver/get r1242@fuschia: andrew | 2007-03-05 17:54:44 +0000 Turn oversize inline transfers into reference transfers git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@514751 13f79535-47bb-0310-9956-ffa450edef68
* r1237@fuschia: andrew | 2007-02-23 15:40:44 +0000Andrew Stitcher2007-02-231-3/+1
| | | | | | | Bug in acks - Small typo fixed git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510986 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/lib/client/Basic.*, ClientChannel.*: Extracted Basic functionalityAlan Conway2007-02-2213-429/+592
| | | | | | | | from Channel into separate Basic class. * cpp/lib/client/*, cpp/test/*: Adjusted for new Channel::getBasic() API. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510705 13f79535-47bb-0310-9956-ffa450edef68
* Added some more logging.Alan Conway2007-02-221-28/+31
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510553 13f79535-47bb-0310-9956-ffa450edef68
* Fix spurious error message printed by client when broker closes connection.Alan Conway2007-02-212-5/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510180 13f79535-47bb-0310-9956-ffa450edef68
* Thread safety fixes for race conditions on incoming messages.Alan Conway2007-02-2118-445/+732
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * cpp/lib/client/MessageListener.h: const correctness. * cpp/tests/*: MessageListener const change. * cpp/lib/broker/Content.h: Removed out-of-date FIXME comments. * cpp/lib/client/ClientChannel.h/ .cpp(): - added locking for consumers map and other member access. - refactored implementations of Basic get, deliver, return: most logic now encapsulted in IncomingMessage class. - fix channel close problems. * cpp/lib/client/ClientMessage.h/.cpp: - const correctness & API convenience fixes. - getMethod/setMethod/getHeader: for new IncomingMessage * cpp/lib/client/Connection.h/.cpp: - Fixes to channel closure. * cpp/lib/client/IncomingMessage.h/.cpp: - Encapsulate *all* incoming message handling for client. - Moved handling of BasicGetOk to IncomingMessage to fix race. - Thread safety fixes. * cpp/lib/client/ResponseHandler.h/.cpp: - added getResponse for ClientChannel. * cpp/lib/common/Exception.h: - added missing throwSelf implementations. - added ShutdownException as general purpose shut-down indicator. - added EmptyException as general purpose "empty" indicator. * cpp/lib/common/sys/Condition|Monitor|Mutex.h|.cpp: - Condition variable abstraction extracted from Monitor for situations where a single lock is associated with multiple conditions. * cpp/tests/ClientChannelTest.cpp: - Test incoming message transfer, get, consume etc. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@510161 13f79535-47bb-0310-9956-ffa450edef68
* r1152@fuschia: andrew | 2007-02-17 21:14:42 +0000Andrew Stitcher2007-02-216-119/+155
| | | | | | | | | More support for references (and transfers of reference content) r1220@fuschia: andrew | 2007-02-21 00:22:53 +0000 Working version of delivering Message Transfers by reference git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@509834 13f79535-47bb-0310-9956-ffa450edef68
* ClientChannel: removed server proxy, not used.Alan Conway2007-02-172-23/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508706 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/lib/client/ClientMessage.h/.cpp: Added Message constructor taking data.Alan Conway2007-02-1722-124/+257
| | | | | | | | | | | | | | | | | * cpp/lib/client/IncomingMessage.cpp: Simplified message aggregation. * cpp/lib/common/framing/AMQ*Body.h: remove unnecessary virtual inheritance. * cpp/lib/common/framing/AMQMethodBody.h: add bool isRequest, isResponse * cpp/lib/common/sys/Mutex.h (class ScopedUnlock): Added ScopedUnlock * cpp/lib/common/sys/ThreadSafeQueue.h: Thread-safe queue template. * cpp/tests/BrokerChannelTest.cpp: Renamed from ChannelTest. * cpp/tests/ClientChannelTest.cpp: Test client API. * cpp/tests/RequestResponseTest.cpp: Removed empty test. * cpp/lib/client/Connection.h,.cpp: - non-static channelIdCounter - No close() in dtor. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508705 13f79535-47bb-0310-9956-ffa450edef68
* Altered exception thrown for unopened and reopened references.Gordon Sim2007-02-161-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508379 13f79535-47bb-0310-9956-ffa450edef68
* Constructor version argument defaults to highestProtocolVersion.Alan Conway2007-02-151-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@508156 13f79535-47bb-0310-9956-ffa450edef68
* Added durability property to queues and pass this to broker on declare. ↵Gordon Sim2007-02-145-23/+63
| | | | | | | | | | (This change also applied on trunk) Minor update of accumulated ack and test. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507622 13f79535-47bb-0310-9956-ffa450edef68
* r1127@fuschia: andrew | 2007-02-14 16:15:34 +0000Andrew Stitcher2007-02-142-10/+13
| | | | | | | Fixed tests, and fixed an exposed bug git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507602 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/lib/common/sys/ProducerConsumer.h:Alan Conway2007-02-1412-185/+684
| | | | | | | | | | | | | | | General-purpose producer-consumer synchronization. Anywhere we have producer/consumer threads in qpid we should re-use this sync object rather than re-inventing the synchronization each time. * cpp/lib/common/sys/AtomicCount.h: Separated ScopedIncrement/ScopedDecrement into ScopedIncrement.h * cpp/tests/InProcessBroker.h: Added class InProcessBrokerClient, a self contained in-process client + broker convenience for tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507560 13f79535-47bb-0310-9956-ffa450edef68
* r1111@fuschia: andrew | 2007-02-09 15:51:10 +0000Andrew Stitcher2007-02-139-42/+41
| | | | | | | | | | Removed currently unused request tracking logic r1125@fuschia: andrew | 2007-02-13 21:51:30 +0000 Implemented receiveing batched Message.ok in c++ broker Implemented batched response frames in python client code git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@507249 13f79535-47bb-0310-9956-ffa450edef68
* * gentools/templ.cpp/*Proxy*, CppGenerator.java: Changes to ProxyAlan Conway2007-02-1340-379/+687
| | | | | | | | | | | | | | | | | | | | | | | | | | | | classes to make them directly usable as an API for low-level AMQP access. - Proxies hold reference to a ChannelAdapter not just an output handler. - Removed MethodContext parameter, makes no sense on requester end. - Return RequestId from request methods so caller can correlate incoming responses. - Add RequestId parameter to response methods so caller can provide correlation for outgoing responses. - No longer inherit from *Operations classes as the signatures no longer match. Proxy is for caller (client/requester) and Operations is for callee (server/responder) * cpp/lib/client/ClientChannel.h: Channel provides a raw proxy to the broker. Normal users will still use the Channel API to deal with the broker, but advanced users (incl ourselves!) can use the raw API to directly send and receive any AMQP message. * cpp/lib/broker/BrokerChannel,BrokerAdapter: Refactor for new proxies. broker::Channel is also a ClientProxy * Sundry files: - Pass ProtcolVersion by value, it is only two bytes. - Misc. const correctness fixes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506823 13f79535-47bb-0310-9956-ffa450edef68
* Corrected calculation of inline content size.Gordon Sim2007-02-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506459 13f79535-47bb-0310-9956-ffa450edef68
* Changed default virtual host to "" (was "/"). Gordon Sim2007-02-122-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@506409 13f79535-47bb-0310-9956-ffa450edef68