summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client
Commit message (Collapse)AuthorAgeFilesLines
* QPID-664: removed flush, added option to make sync non-blocking if so desiredGordon Sim2010-04-074-25/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931651 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added method to release messagesGordon Sim2010-04-062-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: added param to control synchronous send and acknowledgeGordon Sim2010-04-064-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931170 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: minor adjustment to connection option namesGordon Sim2010-04-011-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@930061 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: made changes suggested by Alan Conway, also moved 0-10 map/list ↵Gordon Sim2010-03-316-413/+27
| | | | | | codecs to common lib git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929606 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: renamed headers as properties (to match python); added priorityGordon Sim2010-03-293-6/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928878 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2406: a more explicit solution for durations in the messaging apiGordon Sim2010-03-294-5/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928855 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: move Variant and Uuid from messaging to types namespaceGordon Sim2010-03-2911-23/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@928814 13f79535-47bb-0310-9956-ffa450edef68
* Fix "Session was not closed cleanly" warnings in a cluster broker giving an ↵Alan Conway2010-03-251-4/+4
| | | | | | update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927384 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Updates to address options to stay in-line with python client ↵Gordon Sim2010-03-241-272/+319
| | | | | | changes in r926604 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927144 13f79535-47bb-0310-9956-ffa450edef68
* Defer Poller creation in ConnectionImpl IOThread from creation to first use.Alan Conway2010-03-231-3/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@926650 13f79535-47bb-0310-9956-ffa450edef68
* Make sure the client library Poller is created on library load before ↵Andrew Stitcher2010-03-221-0/+9
| | | | | | | | | anything in the client program can be run. This ensures that it will be destroyed after anything in the client program is destroyed git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925949 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: Prevent dangling pointers when receiver/sender handles stay in ↵Gordon Sim2010-03-196-27/+30
| | | | | | scope after connection/session handles goes out of scope. This change require connections to be closed explicitly to avoid leaking memory. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@925332 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2452: Fixed control over the encoding used when sending a string valued ↵Gordon Sim2010-03-181-3/+27
| | | | | | variant. The user is currently responsible for correctly setting any encoding (e.g. utf8). If none is specified it will be transfered as an amqp0-10 vbin. Fixed bug preventing correct assignment of encoding in variants. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924939 13f79535-47bb-0310-9956-ffa450edef68
* workaround for BZ 570168 ( see comment in code )Michael Goulish2010-03-171-1/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@924169 13f79535-47bb-0310-9956-ffa450edef68
* Removed dependencies in qpid/messaging on qpid/client.Alan Conway2010-03-162-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923908 13f79535-47bb-0310-9956-ffa450edef68
* Remove warningAndrew Stitcher2010-03-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923845 13f79535-47bb-0310-9956-ffa450edef68
* QPID 24448: throw if no channels available when adding a session.Alan Conway2010-03-151-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@923415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2382: Checked in missing files from last commitGordon Sim2010-03-123-0/+205
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@922175 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2382: Created separate utility class for handling updates from failover ↵Gordon Sim2010-03-113-58/+113
| | | | | | exchange; cleaned up reconnection options git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@921971 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2412: Support for EXTERNAL mechanism on client-authenticated SSL ↵Gordon Sim2010-03-0510-26/+46
| | | | | | | | | | | | connections. On SSL connection where the clients certificate is authenticated (requires the --ssl-require-client-authentication option at present), the clients identity will be taken from that certificate (it will be the CN with any DCs present appended as the domain, e.g. CN=bob,DC=acme,DC=com would result in an identity of bob@acme.com). This will enable the EXTERNAL mechanism when cyrus sasl is in use. The client can still negotiate their desired mechanism. There is a new option on the ssl module (--ssl-sasl-no-dict) that allows the options on ssl connections to be restricted to those that are not vulnerable to dictionary attacks (EXTERNAL being the primary example). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@919487 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-2428Rajith Muditha Attapattu2010-03-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918845 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2402 & QPID-2406: Documented the units for the ttl property of Message. ↵Gordon Sim2010-03-034-27/+37
| | | | | | Eliminated use of qpid::sys::Duration from API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918575 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2427: Align browsing option with approach used in python clientGordon Sim2010-03-031-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918574 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2426: Check for empty name in address when resolvingGordon Sim2010-03-031-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918573 13f79535-47bb-0310-9956-ffa450edef68
* Deallocate rdma state when closing an rdma connectionAndrew Stitcher2010-02-171-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@911209 13f79535-47bb-0310-9956-ffa450edef68
* Correct periodic flush logic in MessageReplayTrackerGordon Sim2010-02-041-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@906399 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2380: recognise reliability option for sender (also added capacity to ↵Gordon Sim2010-02-024-11/+41
| | | | | | qpid_send test client and fixed handling of empty option string) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905579 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change format of connection options string to match address ↵Gordon Sim2010-01-282-3/+9
| | | | | | options; make open() a non-static method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@904000 13f79535-47bb-0310-9956-ffa450edef68
* QPID-664: change cancel() to close() for consistencyGordon Sim2010-01-275-19/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903599 13f79535-47bb-0310-9956-ffa450edef68
* Make TCP more like RDMAAndrew Stitcher2010-01-261-3/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903503 13f79535-47bb-0310-9956-ffa450edef68
* Fix memory error in previous SocketAddress refactoringAndrew Stitcher2010-01-261-4/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903407 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2288: add support for bindings in address optionsGordon Sim2010-01-261-13/+55
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@903171 13f79535-47bb-0310-9956-ffa450edef68
* Add SSL support for Windows client and broker per QPID-1403. Adds new ↵Stephen D. Huston2010-01-233-11/+203
| | | | | | | | | | | | | AsynchIO::BufferBase::squish() method that does what used to be done by in-place memmove() calls so it can be reused easily. SSL support for Windows is in: - Client: qpid/client/windows/SslConnector.cpp qpid/client/TCPConnector.{h cpp} rearranged a bit to make pieces available to SslConnector - Broker: qpid/broker/windows/SslProtocolFactory.cpp - Common: qpid/sys/windows/SslAsynchIO contains all the Schannel stuff to negotiate a session, encrypt, and decrypt data. The SslAsynchIO acts as a shim between the layer above and the "regular" AsynchIO that actually handles read/write and completions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902318 13f79535-47bb-0310-9956-ffa450edef68
* If we've already closed Connection don't attempt to write to itAndrew Stitcher2010-01-221-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902278 13f79535-47bb-0310-9956-ffa450edef68
* #include SecurityLayer.h needs to go back in; MSVC needs to see the class ↵Stephen D. Huston2010-01-221-0/+1
| | | | | | def for auto_ptr use in activateSecurityLayer. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902176 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2347: Signal deletion of queue to active subscribers via a ↵Gordon Sim2010-01-221-0/+1
| | | | | | resource-deleted exception. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902055 13f79535-47bb-0310-9956-ffa450edef68
* Allow Connection to be closed whilst still connecting without error.Andrew Stitcher2010-01-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901554 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that shutting down an unsuccessful connect can't race with connection ↵Andrew Stitcher2010-01-211-3/+9
| | | | | | deletion git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901553 13f79535-47bb-0310-9956-ffa450edef68
* Remove possible double closing of connection on connect failureAndrew Stitcher2010-01-211-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901552 13f79535-47bb-0310-9956-ffa450edef68
* Fix a potential RDMA connect failure raceAndrew Stitcher2010-01-211-3/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901551 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1879 Don't use a thread for every new client ConnectionAndrew Stitcher2010-01-217-220/+196
| | | | | | | | | | | - By default the max number of threads now used for network io is the number of cpus available. - This can be overridden with the QPID_MAX_IOTHREADS environment variable or the config file - The client threads are initialised (via a singleton) when first used in a Connection::open() git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901550 13f79535-47bb-0310-9956-ffa450edef68
* Split out AsynchConnecter::start from constructor (like other AsynchIO classes)Andrew Stitcher2010-01-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901547 13f79535-47bb-0310-9956-ffa450edef68
* Made the getSSF() member functions of Connectors private as they can't be ↵Andrew Stitcher2010-01-213-3/+3
| | | | | | | | used from outside the connector anyway except via the virtual in the parent class. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901546 13f79535-47bb-0310-9956-ffa450edef68
* 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