summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix minor compile warnings noticed on WindowsStephen D. Huston2008-10-275-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708387 13f79535-47bb-0310-9956-ffa450edef68
* client::SubscriptionManager::findSubscription() throws if not found.Alan Conway2008-10-273-5/+7
| | | | | | | Added progress indicator to boost tests. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@708210 13f79535-47bb-0310-9956-ffa450edef68
* corrected compile errorCarl C. Trieloff2008-10-261-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707931 13f79535-47bb-0310-9956-ffa450edef68
* Adjust to removed AckPolicy.cpp and refactored Modules.h, .cppStephen D. Huston2008-10-262-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707929 13f79535-47bb-0310-9956-ffa450edef68
* Change 'at' to 'find' to build with older g++ and with MSVCStephen D. Huston2008-10-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707927 13f79535-47bb-0310-9956-ffa450edef68
* Refactor duplicated Module-handling from broker/client to commonStephen D. Huston2008-10-264-59/+132
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707924 13f79535-47bb-0310-9956-ffa450edef68
* Microsoft NMAKE file to generate C++ code from specsStephen D. Huston2008-10-261-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707918 13f79535-47bb-0310-9956-ffa450edef68
* Client API change: Centralize access to subscription status, better control ↵Alan Conway2008-10-2529-496/+740
| | | | | | | | | | | | | | | | | | | of acquire/accept. client/AckPolicy: removed, functionality moved to Subscription and SubscriptionSettings client/SubscriptionSettings: struct aggregates flow control & accept-acquire parameters for subscribe. client/Subscription: represents active subscription. Query settings, unacked messages, manual accept/acquire client/SubscriptionManager: use AcceptMode, AcquireMode enums rather than confusing bools. Issues addressed by the change: - old use of bool for acceptMode was inverted wrt AMQP enum values, bools are confusing. - old AckPolicy was broken - not possible to access the instance associated with an active subscription - old AckPolicy did not provide a way to do manual acquire, only accept. - setting values on SubscriptionManager to apply to subsequent subscriptions is awkward & error-prone, now can use SubscriptionSettings to control on each subscribe individually. - a subscription is a central concept in AMQP, it deserves to be a class. Subscription and SubscriptionSettings provides a single point for future expansion of interactions with a a Subscription. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707808 13f79535-47bb-0310-9956-ffa450edef68
* Fix script to clean up data_dir.Alan Conway2008-10-251-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707806 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error.Alan Conway2008-10-251-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707799 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error.Alan Conway2008-10-251-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707793 13f79535-47bb-0310-9956-ffa450edef68
* Use new wrapped get() accessor in AddressStephen D. Huston2008-10-241-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707766 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile errors introduced by Address changesStephen D. Huston2008-10-243-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707760 13f79535-47bb-0310-9956-ffa450edef68
* Moved TcpAddress insertion operators to Address.cppStephen D. Huston2008-10-241-6/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707756 13f79535-47bb-0310-9956-ffa450edef68
* Fix Address wrapper to compile on MS VC8; discussed with Alan ConwayStephen D. Huston2008-10-243-7/+59
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707754 13f79535-47bb-0310-9956-ffa450edef68
* Microsoft Visual Studio 2005 (VC8) project/solution filesStephen D. Huston2008-10-244-0/+3561
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707753 13f79535-47bb-0310-9956-ffa450edef68
* Add check for presence of certutil when running ssl testGordon Sim2008-10-241-1/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707704 13f79535-47bb-0310-9956-ffa450edef68
* fix for make distcheck (I had listed wrong filenames in earlier commit)Gordon Sim2008-10-241-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707699 13f79535-47bb-0310-9956-ffa450edef68
* Use a str16 instead of str8 for qmf method response textTed Ross2008-10-242-9/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707653 13f79535-47bb-0310-9956-ffa450edef68
* Added truncation logic to putShortString and putMediumString in case strings ↵Ted Ross2008-10-241-2/+4
| | | | | | too large to encode are supplied git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707652 13f79535-47bb-0310-9956-ffa450edef68
* Added exchange options to qpid-configTed Ross2008-10-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707651 13f79535-47bb-0310-9956-ffa450edef68
* removed qualifiers from return values (cause problems on newer compilers)Gordon Sim2008-10-243-7/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707616 13f79535-47bb-0310-9956-ffa450edef68
* Revised transactional options to perftest as they could not be used on older ↵Gordon Sim2008-10-246-70/+151
| | | | | | | | | | boost versions due to ambiguity. Refactored TxAccept to avoid excessive testing and searching for delivery records. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707615 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug in encoding/decoding of floats and doubles.Gordon Sim2008-10-2410-5/+274
| | | | | | | | | | Added test to verify double/float headers set by c++ are correctly read by python [TODO: add wider range of header types, add bidirectional tests, add tests against other languages] [Also fixed one or two SSL related files missing from distribution list] git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707604 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1348 - Dynamic binding for federation. Parameterized exchange names ↵Ted Ross2008-10-2412-193/+660
| | | | | | for CPP examples git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707515 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes to the LVQ (primarily a patch from cctrieloff@redhat.com)Gordon Sim2008-10-235-43/+106
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707446 13f79535-47bb-0310-9956-ffa450edef68
* don't append realm in null authenticator if the userid as supplied already ↵Gordon Sim2008-10-231-1/+5
| | | | | | ends with it git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707427 13f79535-47bb-0310-9956-ffa450edef68
* Minor changes to provide access for cluster to replicate delivery records.Alan Conway2008-10-239-23/+77
| | | | | | | | | - broker::Queue: find message by position, set position. - broker::SemanticState: make record() public, add eachUnacked(), fix typo "NotifyEnabld" - broker::DeliveryRecord: added more public accessors git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707406 13f79535-47bb-0310-9956-ffa450edef68
* More complete fix to prevention of divide by zero when the sampling rate is ↵Gordon Sim2008-10-231-1/+1
| | | | | | more frequent than once per second. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707311 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to avoid division by zero when sampling more frequently than once per ↵Gordon Sim2008-10-231-1/+4
| | | | | | second. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707308 13f79535-47bb-0310-9956-ffa450edef68
* Add skeleton Windows logging optionsStephen D. Huston2008-10-222-0/+168
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707228 13f79535-47bb-0310-9956-ffa450edef68
* Fixed run_acl_tests to work in a VPATH build.Alan Conway2008-10-221-8/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707193 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1382 from Mick Goulish: Improvement to Client-Side Cluster Failover codeAlan Conway2008-10-226-30/+872
| | | | | | | | | Also: Fix missing DispatchHandle.h include in sys/PollableQueue.h Added ignore properties for failover example binaries & Makefile. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@707065 13f79535-47bb-0310-9956-ffa450edef68
* Turn of automatic loading of modules from defined module directory to avoid ↵Gordon Sim2008-10-221-1/+1
| | | | | | possibility of loading acl twice. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706892 13f79535-47bb-0310-9956-ffa450edef68
* This is for QPID-1363Rajith Muditha Attapattu2008-10-224-1/+494
| | | | | | | | These tests creates an acl file and use the acl.reloadAclFile method to reconfigure the broker. The tests are run as part of make check git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706850 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1362Rajith Muditha Attapattu2008-10-224-39/+48
| | | | | | | | When loading an acl file, errors are catured in an ostringstream and is loggged and added to the management event description If reload is called via a remote agent, this error description is sent as the result text. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706849 13f79535-47bb-0310-9956-ffa450edef68
* Refactored DeliveryRecord and delivery path to remove some redundant code.Gordon Sim2008-10-2117-275/+80
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706811 13f79535-47bb-0310-9956-ffa450edef68
* Remove nonportable include dlfcn; add Windows version of Shlib.cppStephen D. Huston2008-10-212-1/+53
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706810 13f79535-47bb-0310-9956-ffa450edef68
* Qualify userid with realm when authentication is turned offGordon Sim2008-10-211-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706806 13f79535-47bb-0310-9956-ffa450edef68
* Add #include qpid/sys/DispatchHandle.h, needed since DispatchHandle split ↵Stephen D. Huston2008-10-211-0/+1
| | | | | | out of Dispatcher.h in changes from QPID-1377 git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706777 13f79535-47bb-0310-9956-ffa450edef68
* Fix compile error introduced by initial QPID-1377 commit; Resolves QPID-1377Stephen D. Huston2008-10-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706775 13f79535-47bb-0310-9956-ffa450edef68
* Refactor sys::AsynchIO class to allow reimplementing on other platforms ↵Stephen D. Huston2008-10-2123-600/+2371
| | | | | | without affecting upper level usage. Resolves QPID-1377 and supplies Windows AsynchIO.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706709 13f79535-47bb-0310-9956-ffa450edef68
* Fix compilation error on older compilers by correcting cast.Gordon Sim2008-10-211-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706687 13f79535-47bb-0310-9956-ffa450edef68
* cluster_test: Unit test for Tx state replication.Alan Conway2008-10-203-2/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706400 13f79535-47bb-0310-9956-ffa450edef68
* cluster: DumpClient replicates session MessageBuilder.Alan Conway2008-10-209-14/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706381 13f79535-47bb-0310-9956-ffa450edef68
* Non-substantive changes. Removed tabs, neatened indentation, etc.Ted Ross2008-10-201-89/+88
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706369 13f79535-47bb-0310-9956-ffa450edef68
* Remove default location for certificate database.Gordon Sim2008-10-204-11/+22
| | | | | | | | Some extra checking in loading ssl libraries. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706349 13f79535-47bb-0310-9956-ffa450edef68
* Add option to require that only encrypted connections be accepted.Gordon Sim2008-10-205-17/+30
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706321 13f79535-47bb-0310-9956-ffa450edef68
* cluster: DumpClient updates consumer notifyEnabled and blocked.Alan Conway2008-10-207-5/+48
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@706293 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1367 Mick Goulish: improvements to client-side failover.Alan Conway2008-10-179-33/+56
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705668 13f79535-47bb-0310-9956-ffa450edef68