summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-664: Remove start()/stop() methods from apiGordon Sim2009-11-163-34/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880863 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-164-88/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@880718 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'next_receiver_changes' into trunkGordon Sim2009-11-124-7/+81
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835323 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation error on some platformsGordon Sim2009-11-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834899 13f79535-47bb-0310-9956-ffa450edef68
* Added support for address parsing, create/assert/delete policiesGordon Sim2009-11-1110-280/+554
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834869 13f79535-47bb-0310-9956-ffa450edef68
* Add new ssf arg to Sasl::startStephen D. Huston2009-11-111-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834739 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1899: Applied patch from Ken Giusti to tie in SASL enctryption to the ↵Gordon Sim2009-11-099-6/+26
| | | | | | handling of the --require-encrypted option git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834108 13f79535-47bb-0310-9956-ffa450edef68
* Fix leak in SASL code, enable cluster ACL test.Alan Conway2009-11-021-1/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832134 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory leak in testCoincidentErrors due to un-joined connector thread.Alan Conway2009-10-301-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831446 13f79535-47bb-0310-9956-ffa450edef68
* Use class/struct consistently for OutgoingMessage.Stephen D. Huston2009-10-272-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830395 13f79535-47bb-0310-9956-ffa450edef68
* Make Session::close and Connection::close no-throwAlan Conway2009-10-272-9/+17
| | | | | | | close() will often be called in destructors and so should not throw exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830268 13f79535-47bb-0310-9956-ffa450edef68
* Separate FailoverListener from client::Connection.Alan Conway2009-10-2610-167/+56
| | | | | | | | | | | | | | | | | | client::ConnectionImpl used to contain a FailoverListener to subscribe for updates on the amq.failover exchange. This caused some lifecycle issues including memory leaks. Now FailoverListener is a public API class that the user must create associated with a session to get known-broker updates. Removed the weak_ptr logic in client::SessionImpl which was only required because of FailoverListener. Made SessionImpl::close() idempotent. Gets rid of spurious warning messages in some tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829931 13f79535-47bb-0310-9956-ffa450edef68
* Ignore exceptions from detach() in ~SessionImpl.Alan Conway2009-10-261-3/+5
| | | | | | | | Otherwise clients can crash in terminate() if there is an error, e.g. a TransportFailure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829912 13f79535-47bb-0310-9956-ffa450edef68
* Fix problems with sessions going out of scope and session numbers wrapping ↵Alan Conway2009-10-213-10/+30
| | | | | | | | | | | | | around. Fixes QPID-1789: sessions that go out of scope without being detached will detach themselves. Also fixes several issues that arise when the session numbers wraps around and start re-using old numbers. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@828108 13f79535-47bb-0310-9956-ffa450edef68
* Fixed tcp nodelay, broken by previous socket code shufflingAndrew Stitcher2009-10-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@826031 13f79535-47bb-0310-9956-ffa450edef68
* Protect close methodCarl C. Trieloff2009-10-161-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825869 13f79535-47bb-0310-9956-ffa450edef68
* Used new SocketAddress class in rdma codeAndrew Stitcher2009-10-091-13/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823392 13f79535-47bb-0310-9956-ffa450edef68
* Split TCP connect so that the connect is non blockingAndrew Stitcher2009-10-091-35/+47
| | | | | | - This means it can now be interrupted by heartbeat abort git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@823389 13f79535-47bb-0310-9956-ffa450edef68
* Fixed: cluster udpate did not presever deliver-properties.exchange on messages.Alan Conway2009-10-052-6/+16
| | | | | | | | Also minor improvements: - Improved debug logging for consumers. - Cluster tests scripts work with latest corosync: don't check/set ais group. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821830 13f79535-47bb-0310-9956-ffa450edef68
* define content- and view- classes separately from message classGordon Sim2009-10-023-35/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821000 13f79535-47bb-0310-9956-ffa450edef68
* Attempt to clean up a warning about violating aliasing rules.Ted Ross2009-09-231-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2112 - C++ Client: Facility needed for app to extract the user-ID in ↵Ted Ross2009-09-226-0/+29
| | | | | | use for a connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817770 13f79535-47bb-0310-9956-ffa450edef68
* Added available and pendingAck properties to Receiver; added capacity and ↵Gordon Sim2009-09-1412-120/+415
| | | | | | pending properties to Sender. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814562 13f79535-47bb-0310-9956-ffa450edef68
* Adjust to new location of state_saver in Boost 1.40; fixes QPID-2090Stephen D. Huston2009-09-091-2/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@813092 13f79535-47bb-0310-9956-ffa450edef68
* Remove extra ::Variant from translate() signatureStephen D. Huston2009-09-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812691 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic message replay on reconnection.Gordon Sim2009-09-078-26/+209
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812243 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added automatic reconnection logic.Gordon Sim2009-09-0710-159/+687
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@812049 13f79535-47bb-0310-9956-ffa450edef68
* Changes to make messaging API build on Windows: Prepend VAR_ to Variant ↵Stephen D. Huston2009-08-313-19/+19
| | | | | | types enum to avoid name clashes, add 'reference' type for FieldTable ValueMap to satisfy STL, refer to structs as such, not as class (avoids compile warning) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809772 13f79535-47bb-0310-9956-ffa450edef68
* Hide internal message ID behind APIGordon Sim2009-08-262-12/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808121 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor issues from r807731 to build correctly on Fedora 10 (x86_64).Ted Ross2009-08-252-4/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807779 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Initial checkin of high level messaging api for c++Gordon Sim2009-08-2519-0/+2208
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807731 13f79535-47bb-0310-9956-ffa450edef68
* Remove using namespace boost - not needed and causes confusion with uint8_t ↵Stephen D. Huston2009-08-201-1/+0
| | | | | | from qpid/sys/IntegerTypes.h git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806389 13f79535-47bb-0310-9956-ffa450edef68
* Add needed extern decorators for Windows; applies patch QPID-2061-1.patch in ↵Stephen D. Huston2009-08-202-11/+13
| | | | | | QPID-2061 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806384 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2058: Add a flag to the version of SessionImpl::send() that takes a ↵Gordon Sim2009-08-192-3/+11
| | | | | | FrameSet as content. This flag indicates whether the frames in that frame set are valid for sending over the connection or whether they should be reframed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805904 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2048: Handle connection fail while attempting to close.Gordon Sim2009-08-133-4/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803802 13f79535-47bb-0310-9956-ffa450edef68
* Set protocol versions correctly in cluster code.Alan Conway2009-07-301-1/+2
| | | | | | | | | Cluster code was broken by a recent checkin to validate protocol versions. The cluster was not correctly setting the version on both sides of a connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799401 13f79535-47bb-0310-9956-ffa450edef68
* QPID-652 -- fixed by Marco BisioliCarl C. Trieloff2009-07-301-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@799348 13f79535-47bb-0310-9956-ffa450edef68
* Merge branch 'move_public_h_to_include' into trunkAlan Conway2009-07-1522-2214/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794325 13f79535-47bb-0310-9956-ffa450edef68
* Add directory to #includeAlan Conway2009-07-1451-180/+127
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793909 13f79535-47bb-0310-9956-ffa450edef68
* Client side fix to make sure we don't schedule a disconnectAndrew Stitcher2009-06-231-1/+4
| | | | | | | due to timeout when we are already disconnecting git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787814 13f79535-47bb-0310-9956-ffa450edef68
* Make sure you close down heartbeatTimer for every close even if you don'tAndrew Stitcher2009-06-231-1/+2
| | | | | | | need to do anything else git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@787809 13f79535-47bb-0310-9956-ffa450edef68
* If frameset being sent in cluster update is incomplete (i.e. content has ↵Gordon Sim2009-06-111-2/+17
| | | | | | been released) then send frames as is (will just be header). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783599 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that messages sent by clusters update client are correctly fragmented ↵Gordon Sim2009-06-101-10/+19
| | | | | | based on the max frame size for the session. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@783571 13f79535-47bb-0310-9956-ffa450edef68
* - Added heartbeat generation to the client (actually echo back anyAndrew Stitcher2009-06-081-8/+12
| | | | | | | | | broker generated heartbeat) - Broker now disconnects client if it receives no traffic in 2 heartbeat intervals (which is now the same as the client behvaiour) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782651 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the heartbeat interval is started for the waitForOpenCarl C. Trieloff2009-06-081-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@782494 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-1879 Don't use a thread for every new client Connection"Andrew Stitcher2009-06-035-183/+181
| | | | | | | This reverts commit b54680d4b3341fa280a237a6d80952b9830ae3c5. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781378 13f79535-47bb-0310-9956-ffa450edef68
* Revert "QPID-1879 Removed some code obsoleted by this change"Andrew Stitcher2009-06-033-2/+21
| | | | | | | This reverts commit 60d66cae76b2bea90f076875e35cb69049fb2d3a. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781376 13f79535-47bb-0310-9956-ffa450edef68
* Revert "Change client io threading to be initialised at first use"Andrew Stitcher2009-06-031-7/+4
| | | | | | | This reverts commit 2e77e9b85912ccbfd29763710a973d0bbff9c684. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781375 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to QPID-1879 so that clustering still works:Andrew Stitcher2009-06-011-4/+7
| | | | | | | | | Change client io threading to be initialised at first use Stop linking loadable modules with tests Add some sentinel values so that we can see what happened last git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@780855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1879 Removed some code obsoleted by this changeAndrew Stitcher2009-05-283-21/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779445 13f79535-47bb-0310-9956-ffa450edef68