summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
Commit message (Collapse)AuthorAgeFilesLines
* Provide access to a sessions connection.Gordon Sim2010-01-202-0/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901247 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added support for testing transactions to qpid-send and qpid-recv, ↵Gordon Sim2010-01-201-1/+1
| | | | | | fixed bug in rollback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901153 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2323: add a Uuid type and allow it as the value of a Variant.Gordon Sim2010-01-151-15/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@899657 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some of the missing standard message headers. Added two new ↵Gordon Sim2010-01-122-6/+22
| | | | | | test utilities for sending and receiving with the new API (both still works in progress). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898296 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2293: MessageReplyTracker loses messages if an exception is thrown ↵Alan Conway2009-12-171-3/+1
| | | | | | during replay git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@891886 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2279: Removal of unused "using qpid::messaging::filter"Andrew Stitcher2009-12-153-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890999 13f79535-47bb-0310-9956-ffa450edef68
* Move the TCPConnector class to its own file to allow deriving from it; ↵Stephen D. Huston2009-12-143-352/+445
| | | | | | resolves QPID-2270. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890481 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile warnings; resolve QPID-2272Stephen D. Huston2009-12-142-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@890476 13f79535-47bb-0310-9956-ffa450edef68
* Add comments to start(); resolves QPID-1899Stephen D. Huston2009-12-021-1/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886036 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Allow session to be specified as transactional; add basic test of ↵Gordon Sim2009-11-234-5/+7
| | | | | | transaction implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883325 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Use subject if specified as binding key when a map filter is specifiedGordon Sim2009-11-231-13/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883305 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Set subject in application headers when specifiedGordon Sim2009-11-234-25/+23
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@883304 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added some documentation for address options; tidied up the ↵Gordon Sim2009-11-191-5/+22
| | | | | | handling of queue- and subscribe- arguments git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882350 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Refactored address resolution; ensure type is asserted on when ↵Gordon Sim2009-11-191-77/+58
| | | | | | required; moved exclusive option for subscribe. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882349 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Bring address option names in to line with those used in python ↵Gordon Sim2009-11-191-25/+38
| | | | | | client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882348 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Refine address resolution; if type not specified, default to queue ↵Gordon Sim2009-11-191-31/+80
| | | | | | as per python client. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882323 13f79535-47bb-0310-9956-ffa450edef68
* Change content type for map and list messages to align with python client.Gordon Sim2009-11-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@882117 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Add accessors for connection from session, and for session from ↵Gordon Sim2009-11-176-3/+23
| | | | | | sender/receiver. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881395 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Allow application to set session name and retrieve session using ↵Gordon Sim2009-11-172-9/+34
| | | | | | that name; close all sessions when connection is closed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881394 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Cancel all senders and receivers on closing session; check ↵Gordon Sim2009-11-172-2/+25
| | | | | | queue/exchange exists before deleting. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881237 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Added getReceiver()/getSender() methods to session in new api.Gordon Sim2009-11-174-1/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@881236 13f79535-47bb-0310-9956-ffa450edef68
* 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