summaryrefslogtreecommitdiff
path: root/cpp/src
Commit message (Collapse)AuthorAgeFilesLines
* Move dispatcher code from iocpDispatcher.cpp (no longer needed) to ↵Stephen D. Huston2009-01-134-61/+24
| | | | | | IocpPoller.cpp (run); mirrors migration introduced on Linux side git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734265 13f79535-47bb-0310-9956-ffa450edef68
* Revise allocator per patch in QPID-1458; Fixes QPID-1458Stephen D. Huston2009-01-131-2/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734251 13f79535-47bb-0310-9956-ffa450edef68
* Implement heartbeat timeout on client:Andrew Stitcher2009-01-139-20/+83
| | | | | | | | - The client shuts down a connection if it receives no traffic on it in 2 timeout periods git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734221 13f79535-47bb-0310-9956-ffa450edef68
* Send heartbeat from broker to clientAndrew Stitcher2009-01-139-9/+86
| | | | | | | | - Server sends possible heartbeat range and client replies with desired heartbeat as part of the tune-tuneOk exchange git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734220 13f79535-47bb-0310-9956-ffa450edef68
* Small tidy upAndrew Stitcher2009-01-131-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734218 13f79535-47bb-0310-9956-ffa450edef68
* Created new Timer code in qpid::sysAndrew Stitcher2009-01-133-1/+232
| | | | | | | | | - Necessary for a timer accessible to the client code - The interface is slightly different from the existing Timer code in an attempt to fix some issues with it git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734216 13f79535-47bb-0310-9956-ffa450edef68
* Start to fix Timer to improve encapsulation and then fixAndrew Stitcher2009-01-134-3/+12
| | | | | | | | its inbuilt race conditions (mostly due to the awkward interface of Timer and TimerTask) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@734213 13f79535-47bb-0310-9956-ffa450edef68
* Adding missing includeStephen D. Huston2009-01-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733967 13f79535-47bb-0310-9956-ffa450edef68
* Add support for AsynchIO::RequestCallback processingStephen D. Huston2009-01-124-11/+65
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733966 13f79535-47bb-0310-9956-ffa450edef68
* Allow any remaining events in PollableQueue to be processed after Poller ↵Gordon Sim2009-01-121-4/+22
| | | | | | | | | threads return from poll loop. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733881 13f79535-47bb-0310-9956-ffa450edef68
* Added test coverage for the CLI utilitiesTed Ross2009-01-093-1/+207
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733108 13f79535-47bb-0310-9956-ffa450edef68
* Fix --cluster-mast-max: errors in last commit.Alan Conway2009-01-097-21/+24
| | | | | | | Work around problems with CPG flow control. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@733051 13f79535-47bb-0310-9956-ffa450edef68
* Added --cluster-read-max: max number of outstanding mcasts in CPG buffers.Alan Conway2009-01-096-17/+57
| | | | | | | Work around problems with CPG flow control. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732925 13f79535-47bb-0310-9956-ffa450edef68
* Fix for compatibility with latest corosync.Alan Conway2009-01-081-7/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732854 13f79535-47bb-0310-9956-ffa450edef68
* Fix to build on latest corosync versions.Alan Conway2009-01-082-14/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732839 13f79535-47bb-0310-9956-ffa450edef68
* Fixed automake files so c++ console headers are properly packaged.Ted Ross2009-01-083-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732818 13f79535-47bb-0310-9956-ffa450edef68
* cluster: handle multicast errors.Alan Conway2009-01-084-7/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732768 13f79535-47bb-0310-9956-ffa450edef68
* QPID-976: Prompt for password if it is required and not specified through ↵Gordon Sim2009-01-081-7/+21
| | | | | | settings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732702 13f79535-47bb-0310-9956-ffa450edef68
* QPID-976: Patch from Ted Ross (tross@redhat.com). Remove the handling of ↵Gordon Sim2009-01-081-28/+1
| | | | | | empty usernames and leaves that up to the SASL library. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732691 13f79535-47bb-0310-9956-ffa450edef68
* Tidied up a number of TODO itemsAndrew Stitcher2009-01-087-15/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732620 13f79535-47bb-0310-9956-ffa450edef68
* Namespace and IntegerTypes.h tweaks to build on Windows Visual C++Stephen D. Huston2009-01-079-7/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732559 13f79535-47bb-0310-9956-ffa450edef68
* Resolve some compile errors on Windows qmfconsoleStephen D. Huston2009-01-074-10/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732552 13f79535-47bb-0310-9956-ffa450edef68
* Adapt to recent changes/additionsStephen D. Huston2009-01-072-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732551 13f79535-47bb-0310-9956-ffa450edef68
* Add cluster-related content to generated sources; re-gen vc projects. Fixes ↵Stephen D. Huston2009-01-075-6/+166
| | | | | | QPID-1559 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732549 13f79535-47bb-0310-9956-ffa450edef68
* Ensure that if no store is loaded we don't flow to disk, but revert to ↵Gordon Sim2009-01-074-4/+49
| | | | | | rejecting messages. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732482 13f79535-47bb-0310-9956-ffa450edef68
* This is related to QPID-1558.Rajith Muditha Attapattu2009-01-073-4/+59
| | | | | | | The test case test_group_and_user_with_same_name covers the error condition in QPID-1545 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732466 13f79535-47bb-0310-9956-ffa450edef68
* Consistent #if defined for header selectino.Alan Conway2009-01-071-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732354 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1560: add support for a qpid.exclusive-binding option on direct ↵Gordon Sim2009-01-073-3/+48
| | | | | | exchange that causes the binding specified to be the only one for the given key. I.e. if there is already a binding at this exchange with this key it will be atomically updated to bind the new queue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732297 13f79535-47bb-0310-9956-ffa450edef68
* Fix for windows build: add implementations of the getSecurityLayer()Gordon Sim2009-01-071-0/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732292 13f79535-47bb-0310-9956-ffa450edef68
* Work on the low level IO code:Andrew Stitcher2009-01-0613-83/+394
| | | | | | | | | * Introduce code so that you can interrupt waiting for a handle and receive a callback that is correctly serialised with the IO callbacks for that handle git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732177 13f79535-47bb-0310-9956-ffa450edef68
* cluster/OutputInterceptor.cpp: added locking around use of ↵Alan Conway2009-01-061-3/+14
| | | | | | ClusterOutputinterceptor. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732153 13f79535-47bb-0310-9956-ffa450edef68
* Add option to use single connection for all producers, and consumers to test ↵Carl C. Trieloff2009-01-061-6/+25
| | | | | | high queue count configurations without using many physical connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732096 13f79535-47bb-0310-9956-ffa450edef68
* Added missing include file for ::memcpyTed Ross2009-01-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732093 13f79535-47bb-0310-9956-ffa450edef68
* * Cyrus SASL intgeration for c++ clientGordon Sim2009-01-0632-263/+1381
| | | | | | | | * SASL security layer support for c++ client and broker git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732082 13f79535-47bb-0310-9956-ffa450edef68
* Add option to use single connection for all producers, and consumers to test ↵Carl C. Trieloff2009-01-061-5/+16
| | | | | | high queue count configurations without using many physical connections. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732071 13f79535-47bb-0310-9956-ffa450edef68
* cpp/src/tests/ForkedBroker.h: keep tests quiet, set --log-enable=error+Alan Conway2009-01-051-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731751 13f79535-47bb-0310-9956-ffa450edef68
* Minor logging fixes.Alan Conway2009-01-052-46/+66
| | | | | | | | cpp/src/tests/BrokerFixture.h: make tests quiet, log with error+ qpid/broker/Daemon.cpp: print to stderr in parent process if child fails. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731739 13f79535-47bb-0310-9956-ffa450edef68
* Update test in line with change to default logging level (see r731649).Gordon Sim2009-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731734 13f79535-47bb-0310-9956-ffa450edef68
* Sorry! Carelessly committed more than I wanted to. Reverting part of my ↵Gordon Sim2009-01-051-14/+3
| | | | | | previous commit. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731717 13f79535-47bb-0310-9956-ffa450edef68
* Reduce log level from warning to info as (a) its not necessarily a bad thing ↵Gordon Sim2009-01-051-4/+16
| | | | | | at all and (b) the default logging level is now at notice+ git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731710 13f79535-47bb-0310-9956-ffa450edef68
* Log changes: logging default now notice+, "listening on" messages are at ↵Alan Conway2009-01-055-5/+5
| | | | | | notice level. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@731649 13f79535-47bb-0310-9956-ffa450edef68
* stats correction pointed out by gordonCarl C. Trieloff2009-01-031-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@730890 13f79535-47bb-0310-9956-ffa450edef68
* - browse correction, to update replacement message on browseCarl C. Trieloff2008-12-302-0/+13
| | | | | | | | - correct stats for lvq messages git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@730031 13f79535-47bb-0310-9956-ffa450edef68
* Fixed to run correctly in VPATH build.Alan Conway2008-12-291-13/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 Updates and fixes for the c++ console API:Ted Ross2008-12-2314-100/+455
| | | | | | | | | | | | | | | | - Added event support - Converted raw pointers to shared_ptrs in references to Values. This fixes a memory leak in the original code. - Added wrappers to make value access more convenient. - Added timeout handling for synchronous operations. Timeout values are configurable. - Fixed a bug in getObjects whereby waitForStable was not called and the operation could fail if called too early. - Added examples "printevents" and "ping" to illustrate the usage of different aspects of the API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729075 13f79535-47bb-0310-9956-ffa450edef68
* Fix encoding 0-length values; resolves QPID-1449Stephen D. Huston2008-12-231-2/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729054 13f79535-47bb-0310-9956-ffa450edef68
* Insert Apache license in vcproj files past line 1; reset list of generated ↵Stephen D. Huston2008-12-237-3988/+4420
| | | | | | files in vcproj files; add qmfconsole.vcproj; add qmfconsole.proj to makefile.am dist list. Resolve QPID-1546 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@729044 13f79535-47bb-0310-9956-ffa450edef68
* This is a fix for QPID-1545Rajith Muditha Attapattu2008-12-231-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728880 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a compile problem on RHEL4Ted Ross2008-12-191-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728142 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1412 - c++ implementation of the QMF client APITed Ross2008-12-1930-4/+2966
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@728132 13f79535-47bb-0310-9956-ffa450edef68