summaryrefslogtreecommitdiff
path: root/cpp
Commit message (Collapse)AuthorAgeFilesLines
* Removed redundant code.Alan Conway2008-09-226-87/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697834 13f79535-47bb-0310-9956-ffa450edef68
* Refactoring of queue/queue-policy:Gordon Sim2008-09-2110-155/+461
| | | | | | | | | | | | - moved some logic out of Queue.cpp into QueuePolicy.cpp - moved QueuedMessage definition into its own header file - added checks for requeue and dequeue - split QueuePolicy logic into different sub classes Added ability to request old messages to be discareded to make room for new ones when configured limit has been reached. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697603 13f79535-47bb-0310-9956-ffa450edef68
* DumpClient send connections & session IDs to new members.Alan Conway2008-09-2121-117/+262
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697446 13f79535-47bb-0310-9956-ffa450edef68
* Support floats and doubles in field tables.Gordon Sim2008-09-195-1/+95
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697269 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up qmf agent example codeTed Ross2008-09-192-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697236 13f79535-47bb-0310-9956-ffa450edef68
* correction to last commitCarl C. Trieloff2008-09-191-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697207 13f79535-47bb-0310-9956-ffa450edef68
* - fix 'all' user rules to match if not in user db.Carl C. Trieloff2008-09-192-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697191 13f79535-47bb-0310-9956-ffa450edef68
* Return success indicator for getTable/getArray, cleanup implementation a little.Gordon Sim2008-09-193-23/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697165 13f79535-47bb-0310-9956-ffa450edef68
* Added ability to have '@' char in ACL nameKim van der Riet2008-09-191-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697136 13f79535-47bb-0310-9956-ffa450edef68
* RDMA bugfixes:Andrew Stitcher2008-09-194-31/+54
| | | | | | | | | | | | - Changed Rdma connection creation to allocate all necessary buffer memory immediately. This has the effect that no later buffer allocations happen which can fail so that once accepted connections won't fail because of lack of locked memory. - Fixed connection logic so we reject a new connection if we can't create the necessary handlers rather than kill the entire broker (this includes not enough locked memory) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697101 13f79535-47bb-0310-9956-ffa450edef68
* Added support for nested field tables & arrays within a field table.Gordon Sim2008-09-195-55/+170
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697076 13f79535-47bb-0310-9956-ffa450edef68
* Clean up unused members/testsAlan Conway2008-09-196-127/+8
| | | | | | | | qpid/broker/SemanticState.h,.cpp,SessionState.h: removed unused members. tests/DumpClientTest.cpp: unused, remove. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697075 13f79535-47bb-0310-9956-ffa450edef68
* Dump shared state to new cluster members.Alan Conway2008-09-1818-147/+270
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696788 13f79535-47bb-0310-9956-ffa450edef68
* Modified return codes for txtest: returns 1 if check fails; 2 if exception ↵Kim van der Riet2008-09-181-4/+6
| | | | | | is thrown; 0 otherwise. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696729 13f79535-47bb-0310-9956-ffa450edef68
* Refactor Cluster logic into separate handlers for Joining & Member modes.Alan Conway2008-09-1820-168/+546
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696657 13f79535-47bb-0310-9956-ffa450edef68
* - added member statsCarl C. Trieloff2008-09-173-9/+23
| | | | | | | | - some celan up. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696388 13f79535-47bb-0310-9956-ffa450edef68
* Backed out makefile-dependency changes. They break vpath buildsTed Ross2008-09-172-12/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696314 13f79535-47bb-0310-9956-ffa450edef68
* Removed some dead codeTed Ross2008-09-171-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696283 13f79535-47bb-0310-9956-ffa450edef68
* Added missing Makefile dependencies for ACL and Cluster schema filesTed Ross2008-09-172-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696280 13f79535-47bb-0310-9956-ffa450edef68
* - wire in more cluster statsCarl C. Trieloff2008-09-172-2/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696115 13f79535-47bb-0310-9956-ffa450edef68
* - implement mgnt clusternode stopCarl C. Trieloff2008-09-161-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696027 13f79535-47bb-0310-9956-ffa450edef68
* - add mgnt schema for clusterCarl C. Trieloff2008-09-164-2/+114
| | | | | | | | | | - add mgnt object and init - create call-backs to stop a cluster node & the full cluster git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696017 13f79535-47bb-0310-9956-ffa450edef68
* Fix race in cluster join protocol.Alan Conway2008-09-167-115/+133
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@696003 13f79535-47bb-0310-9956-ffa450edef68
* Simplified cluster updates.Alan Conway2008-09-169-488/+103
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695696 13f79535-47bb-0310-9956-ffa450edef68
* An improved way of dealing with installed headersTed Ross2008-09-152-5/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695646 13f79535-47bb-0310-9956-ffa450edef68
* Cluster member stalling, cluster map updates and unit tests.Alan Conway2008-09-1514-281/+476
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695593 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug affecting 'make install' for generated qmf headersTed Ross2008-09-151-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695580 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - Changed C++ namespace for generated management code. Improved ↵Ted Ross2008-09-1543-206/+279
| | | | | | efficiency of generated functions to use const references for non-simple types. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695511 13f79535-47bb-0310-9956-ffa450edef68
* - removed cluster methods in mgnt, will add them to a new cluster object inCarl C. Trieloff2008-09-152-4/+5
| | | | | | | | | | upcoming commit - added flag on connection object to mark user versus system connections - added help text git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@695327 13f79535-47bb-0310-9956-ffa450edef68
* Moved PollableCondition into sys/posix, posix only impl.Alan Conway2008-09-125-43/+64
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694812 13f79535-47bb-0310-9956-ffa450edef68
* QPID-106Carl C. Trieloff2008-09-123-8/+66
| | | | | | | | | | | | - Added mgnt schema - Added ability to reload ACL file - Added events for ACL deny - Added stats for ACL. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694778 13f79535-47bb-0310-9956-ffa450edef68
* Corrected warning for unsignedCarl C. Trieloff2008-09-122-33/+33
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694776 13f79535-47bb-0310-9956-ffa450edef68
* Added ClusterMap and test. Moved PollableCondition, PollableQueue to sys.Alan Conway2008-09-1222-107/+673
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694758 13f79535-47bb-0310-9956-ffa450edef68
* Added in header file missing from ditributionAndrew Stitcher2008-09-111-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694455 13f79535-47bb-0310-9956-ffa450edef68
* Add qpidc.conf to the distfile listAndrew Stitcher2008-09-111-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694426 13f79535-47bb-0310-9956-ffa450edef68
* fix warningsCarl C. Trieloff2008-09-111-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694332 13f79535-47bb-0310-9956-ffa450edef68
* Moved PollableCondition, PollableQueue and to sys. Fixed cluster shutdown ↵Alan Conway2008-09-1117-113/+162
| | | | | | | | | | | | | | issues. sys/PollableCondition: is a generic mechansim to poll for non-IO events in the Poller. sys/PollableQueue: is a thread-safe queue template that can be dispatched from the Poller when there are items on the queue. It uses PollableCondition. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694243 13f79535-47bb-0310-9956-ffa450edef68
* Implementation of AMQP over RDMA protocols (Infiniband)Andrew Stitcher2008-09-1114-289/+1522
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694143 13f79535-47bb-0310-9956-ffa450edef68
* Refactored c++ client library to allow multiple protocols to beAndrew Stitcher2008-09-1116-174/+347
| | | | | | | | | | | | | | | used simultaneously: - Added in capability for client library plugins: Client library will load in plugin modules from the client library module directory on library load. - Add protocol option into the standard client command line options - Split plugin module load area into daemon and client; default daemon module directory is now <libdir>/qpid/daemon, default client module directory is <libdir>/qpid/client. - Changed names of plugins to leave out libqpid prefix git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@694113 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1279 Implementations of management methods can now return error strings ↵Ted Ross2008-09-1020-41/+42
| | | | | | along with its own error codes git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693933 13f79535-47bb-0310-9956-ffa450edef68
* Cluster support for copying shared broker state to new members.Alan Conway2008-09-1026-101/+576
| | | | | | | | | | | | cluster/DumpClient: Copies broker shared state to a new broker via AMQP. broker/*Registry, Queue, QueueBindings: Added iteration functions for DumpClient broker/SemanticState.cpp: Allow DumpClient to sidestep setting of delivery-properties.exchange. client/Connection.h: Added Connection::open(Url) overload. client/SessionImpl: Added send(AMQBody, FrameSet) overload for forwarding broker messages. tests/cluster_test.cpp: Added test for DumpClient copying shared state between brokers. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693918 13f79535-47bb-0310-9956-ffa450edef68
* Removed @staticmethod decorator which is unsupported by older Python versionsTed Ross2008-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693548 13f79535-47bb-0310-9956-ffa450edef68
* Fixed fedora-9 build problemTed Ross2008-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693542 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1274 - qmf-gen can now generate code from multiple schema files. Uses ↵Ted Ross2008-09-097-65/+79
| | | | | | __file__ as a better way to locate data files. Added code generation for ACL schema. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693523 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1261: initial fix (this degrades performance for shared queues with ↵Gordon Sim2008-09-098-125/+166
| | | | | | more than one consumer; I'll work on fixing that asap). This also moves the lock refered to in QQPID-1265 which I will update accordingly. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693518 13f79535-47bb-0310-9956-ffa450edef68
* Generate c++ enum types for AMQP enums in framing/enum.h.Alan Conway2008-09-097-48/+61
| | | | | | | Modified enum scheme to avoid name clashes: namespace amqp_class { EnumName { ENUM_NAME_X=1, ENUM_NAME_X=2 ...}}; git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693465 13f79535-47bb-0310-9956-ffa450edef68
* Fixes to xml exchange:Gordon Sim2008-09-083-81/+91
| | | | | | | | | | * changed locking for QPID-1264 * allow multiple queues to be bound with the same binding key * correct log message and management stats update on route git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693208 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1264: initial fix for fanout, direct and headers exchanges (fix for ↵Gordon Sim2008-09-0811-130/+238
| | | | | | remaining types to follow) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@693053 13f79535-47bb-0310-9956-ffa450edef68
* RefCountedBuffer improvements, centralize cluster encoding/decoding in Event.Alan Conway2008-09-066-33/+76
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692654 13f79535-47bb-0310-9956-ffa450edef68
* Queue cpg deliveries for execution in separate thread.Alan Conway2008-09-067-36/+62
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@692595 13f79535-47bb-0310-9956-ffa450edef68