summaryrefslogtreecommitdiff
path: root/cpp/src/client
Commit message (Collapse)AuthorAgeFilesLines
* Moved src/ source code to src/qpid directory:Alan Conway2007-04-1328-3667/+0
| | | | | | | | | | | - allows rhm package to build consistently against checked-out or installed qpid. - consistent correspondence between source paths and C++ namespaces. - consistent use of #include <qpid/foo> in source and by users. - allows header files to split over multiple directories, e.g. separating generated code, separating public API from private files. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@528668 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/qpidc.spec.in: Added qpidd-devel sub-package.Alan Conway2007-04-111-1/+1
| | | | | | | | | | | | * cpp/configure.ac: Use a more reliable srcdir test file. * cpp/docs/api/Makefile.am: Fix bug in VPATH builds. * cpp/gentools/*, src/**.h,**.cpp: Fix #includes of files in gen/ * cpp/rpm/Makefile.am: Removed. RPM targets defined in top level Makefile.am. * cpp/Makefile.am: Add RPM targets, fix VPATH bug with RPM targets * cpp/rpm/README.qpidd-devel: placeholder for qpidd-devel documentation. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@527639 13f79535-47bb-0310-9956-ffa450edef68
* * cpp/src/broker/BrokerMessageMessage.h: Change reference from weak_ptr toAlan Conway2007-04-051-4/+39
| | | | | | | | | | | | | | shared_ptr. Broker messages hold their reference. * cpp/src/broker/Reference.cpp (close): clear messages array to break shared_ptr cycle and avoid a leak. * cpp/src/client/MessageMessageChannel.cpp (publish): Support references for large messages. * cpp/src/shared_ptr.h (make_shared_ptr): added deleter variant. * cpp/src/tests/ClientChannelTest.cpp: Enabled testGetNoContent, testGetFragmentedMessage git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525964 13f79535-47bb-0310-9956-ffa450edef68
* * Exteneded use of shared pointers frame bodies across all send() commands.Alan Conway2007-04-056-47/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/Makefile.am: added check-unit target to run just unit tests. * Introduced make_shared_ptr convenience function for wrapping plain pointers with shared_ptr. * cpp/src/client/ClientChannel.h,cpp (sendsendAndReceive,sendAndReceiveSync): Pass shared_ptr instead of raw ptr to fix memory problems. Updated the following files to use make_shared_ptr - src/client/BasicMessageChannel.cpp - src/client/ClientConnection.cpp * src/client/MessageMessageChannel.cpp: implemented 0-9 message.get. * src/framing/Correlator.h,cpp: Allow request sender to register actions to take when the correlated response arrives. * cpp/src/tests/FramingTest.cpp: Added Correlator tests. * src/framing/ChannelAdapter.h,cpp: use Correlator to dispatch response actions. * cpp/src/shared_ptr.h (make_shared_ptr): Convenience function to make a shared pointer from a raw pointer. * cpp/src/tests/ClientChannelTest.cpp: Added message.get test. * cpp/src/tests/Makefile.am (check-unit): Added test-unit target to run unit tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525932 13f79535-47bb-0310-9956-ffa450edef68
* * Made client::Channel bi-modal: 0-8 or 0-9 modes.Alan Conway2007-04-044-11/+425
| | | | | | | | * Added dummy impl of client::MessageMessageChannel. * Generalised ClientChannelTest to be able to test both modes. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525542 13f79535-47bb-0310-9956-ffa450edef68
* * Remove redundant Makefile.am, not needed with single src/ makefile.Alan Conway2007-04-031-34/+0
| | | | | | | * Fixed automake warnings. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525297 13f79535-47bb-0310-9956-ffa450edef68
* Moved BasicMessage::WaitableDestination to ↵Alan Conway2007-04-034-63/+72
| | | | | | IncomingMessage::WaitableDestination so it can be shared by Basic and Message implementations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@525282 13f79535-47bb-0310-9956-ffa450edef68
* More QPID-243Andrew Stitcher2007-04-021-0/+0
| | | | | | | | * Moved most of the C++ make into src/Makefile.am * There is still a separate src/tests/Makefile.am git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524847 13f79535-47bb-0310-9956-ffa450edef68
* Fix for the most disruptive items in QPID-243.Andrew Stitcher2007-04-0227-0/+3172
* All #include lines now use '""' rather than '<>' where appropriate. * #include lines within the qpid project use relative includes so that the same path will work in /usr/include when installed as part of the client libraries. * All the source code has now been rearranged to be under src in a directory analogous to the namespace of the classes in it. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@524769 13f79535-47bb-0310-9956-ffa450edef68