summaryrefslogtreecommitdiff
path: root/cpp/src/qmf
Commit message (Collapse)AuthorAgeFilesLines
* QPID-3046 - Refactored so that Connection::getAuthenticatedUsername is ↵Ted Ross2011-02-113-8/+10
| | | | | | | | | consulted each time a sent message is annotated with the user-id. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1069673 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3046 - Improved detail in trace log messages.Ted Ross2011-02-093-16/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1068719 13f79535-47bb-0310-9956-ffa450edef68
* Added missing even handling in the console.Ted Ross2011-02-043-2/+44
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067111 13f79535-47bb-0310-9956-ffa450edef68
* Fixed typos in the documentation text.Ted Ross2011-02-043-4/+13
| | | | | | | | Fixed bug in the propagation of exceptions in query-processing. Added user-id to messages sent by the console. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067087 13f79535-47bb-0310-9956-ffa450edef68
* Prevent spurious "schema-updated" notifications when an agent restarts.Ted Ross2011-02-041-5/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1067067 13f79535-47bb-0310-9956-ffa450edef68
* Added severity and timestamp fields to raised events.Ted Ross2011-02-031-6/+34
| | | | | | | Enhanced the example agent to illustrate the raising of events. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066726 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3032 - Modifications to the QMFv2 implementation:Ted Ross2011-02-026-19/+82
| | | | | | | | | 1) Use the topic exchange as the base for direct and reply-to addresses. 2) Add a strict-security option to the Console and Agent APIs that narrows the messaging patterns used such that they can easily be controlled by broker ACL policy. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1066562 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2996 - qmf/SchemaMethod.cpp fails to compile on s390Ted Ross2011-01-191-1/+1
| | | | | | | Applied patch from Dan Horák git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1060815 13f79535-47bb-0310-9956-ffa450edef68
* In qmfengine, if a method call or method response requires a buffer larger ↵Ted Ross2011-01-135-13/+126
| | | | | | | | | | | | than the static buffer used for communication, allocate a large-enough buffer temporarily from the heap. A test is included to verify large-buffer behavior. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1058709 13f79535-47bb-0310-9956-ffa450edef68
* Small code cleanup - Replaced object declaration with a const reference for ↵Ted Ross2011-01-111-1/+1
| | | | | | efficiency. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057825 13f79535-47bb-0310-9956-ffa450edef68
* Added argument/type check for output arguments on methods.Ted Ross2011-01-113-4/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057814 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 API change:Ted Ross2011-01-112-1/+2
| | | | | | | | | 1) Added public constructor for DataAddr(Variant::Map) 2) Fixed Python and Ruby typemaps to support Variant::Map& and Variant::List& with const 3) Added support for building Queries based on object-id maps in both Python and Ruby wrappers git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057709 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug in the type-compatibility checker.Ted Ross2011-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057302 13f79535-47bb-0310-9956-ffa450edef68
* Updates to the C++ implementation of QMFv2:Ted Ross2011-01-1014-105/+719
| | | | | | | | | 1) Consolidated string constants for the protocol into a definition file. 2) Added hooks for subscription handling. 3) Added checks to validate properties and arguments against the schema (if there is a schema). git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1057199 13f79535-47bb-0310-9956-ffa450edef68
* Added missing initializer in the QueryImpl constructor.Ted Ross2010-12-161-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1049753 13f79535-47bb-0310-9956-ffa450edef68
* Fixed segfault when setting the agent filter on a closed session.Ted Ross2010-11-102-2/+17
| | | | | | | | | Fixed notification for the connected-broker agent. Added an example console program in c++ to monitor the set of agents. Fixed the Python agent example to more elegantly handle connection failure. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1033763 13f79535-47bb-0310-9956-ffa450edef68
* 1) Fix a bug where AGENT_RESTART is repeatedly reported when detected once.Ted Ross2010-10-273-11/+28
| | | | | | | | | 2) ConsoleSession::getAgents now lists only agents in the agent-filter. If the connected broker agent does not match the filter, it is removed from the list though it is still accessible using ConsoleSession::getConnectedBrokerAgent. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028066 13f79535-47bb-0310-9956-ffa450edef68
* Fix session-shutdown-after-failure so it does not cause a segfault.Ted Ross2010-10-071-2/+2
| | | | | | | | Fixed the method-call wrapper for Python in the qpid messaging wrapper to properly handle and translate C++ exceptions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005654 13f79535-47bb-0310-9956-ffa450edef68
* Add explicit node-type declaration for receivers.Ted Ross2010-10-071-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1005643 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2880: allow boolean values in method call map/list arguments.Kenneth Anthony Giusti2010-09-221-2/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999919 13f79535-47bb-0310-9956-ffa450edef68
* QMFv2 Additions:Ted Ross2010-09-2119-276/+1365
| | | | | | | | | | | | - QMFv2 schema encoding completed - Schema queries handled by the agent and initiated by the console by user request - Full query support with predicates evaluated on the agent (regex not yet implemented) - Agent filtering in the console - Agent aging in the console - Unit tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999662 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2792 - QMF Clients in C++ following the ABI-stable pattern of the new ↵Ted Ross2010-08-1228-0/+4365
| | | | | | messaging API git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@985016 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: agent label in wrapped (python, ruby) qmf agent was not transmitted ↵Ted Ross2010-07-221-2/+2
| | | | | | | | | to the consoles. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966871 13f79535-47bb-0310-9956-ffa450edef68
* QMF: add bindEvent api to allow filtering of unsolicted events.Kenneth Anthony Giusti2010-05-212-0/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947084 13f79535-47bb-0310-9956-ffa450edef68
* Support for multiple protocols in qpid::Url.Alan Conway2010-05-111-1/+1
| | | | | | | | | | - simplified qpid::Address to hold (protocol,host,port) triples. - protocol plugins call Url:addProtocol to add tags to Url parser. - use Address::protocol when establishing connections. - ssl_test: tests using URL to connect. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943130 13f79535-47bb-0310-9956-ffa450edef68
* QMF: Agent now sends class indications for schema added after attachement ↵Kenneth Anthony Giusti2010-04-301-5/+26
| | | | | | completes. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@939736 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2556: fix conversion of signed integers in maps and lists.Kenneth Anthony Giusti2010-04-271-5/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@938506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2546: implement event support for ruby wrapper. Python pending...Kenneth Anthony Giusti2010-04-236-8/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937506 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1904: Ensure that all timestamp uses are correctly relative to 1/1/1970 ↵Andrew Stitcher2010-04-232-4/+4
| | | | | | | | | | epoch. - Removed the hacky way to access the internal time value in AbsTime now that there is a defined AbsTime value EPOCH. - Changed all the code to use Duration(EPOCH, abtime) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@937147 13f79535-47bb-0310-9956-ffa450edef68
* add support for QMF TYPE_LIST in engine, ruby and python wrappersKenneth Anthony Giusti2010-03-302-22/+158
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929244 13f79535-47bb-0310-9956-ffa450edef68
* Removed unecessary include of Msg.h in Exception.hAndrew Stitcher2010-02-254-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@916453 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2328 - Applied patch from Ian MainTed Ross2010-02-121-0/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2396: add assignment operator to ObjectId class.Kenneth Anthony Giusti2010-02-081-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@907808 13f79535-47bb-0310-9956-ffa450edef68
* Added raise_event support to the Ruby and Python wrapped agent APIs.Ted Ross2010-01-136-10/+191
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@898727 13f79535-47bb-0310-9956-ffa450edef68
* Added handling of MAP values for the wrapped QMF interfaces.Ted Ross2010-01-052-5/+125
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2245 QMF protocol changes will make 0.6 incompatible with 0.5Ted Ross2009-12-113-6/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@889619 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields ↵Ted Ross2009-12-042-18/+49
| | | | | | incorrect results git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887320 13f79535-47bb-0310-9956-ffa450edef68
* Fixed intermittent hang seen in Qmf interop tests.Ted Ross2009-12-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@886047 13f79535-47bb-0310-9956-ffa450edef68
* QMF fixes:Ted Ross2009-11-031-1/+1
| | | | | | | | - Added immediate notification of agent deletion - Fixed some issues with memory management between the wrapped client and the ruby wrapper git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832557 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-231-0/+1
| | | | | | | | | | | | | more generic (and forward compatible) "key". In the Ruby binding, ensured that ruby objects reference their own copies of the wrapped c++ objects to protect from problems when the c++ objects are deleted out from under the wrappers. Added agent discriminator to the console::objects method. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829167 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2126 - Sync the python QMF bindings to the current Ruby QMF bindings ↵Ted Ross2009-10-201-0/+5
| | | | | | | | | implementation Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827686 13f79535-47bb-0310-9956-ffa450edef68
* Bug fix: Console sent get-requests (by objectId) to all agents, not just the ↵Ted Ross2009-10-153-4/+19
| | | | | | | | | agent identified in the objectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825672 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes in Ruby Console:Ted Ross2009-10-023-0/+8
| | | | | | | | | | - AgentProxy object now has broker_bank and agent_bank accessors - Fixed a bug in the returning og reference values (ObjectId) - Added package_name accessor to SchemaObjectClass - Added accessors for agent/broker bank to ObjectId git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821181 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes:Ted Ross2009-10-022-3/+6
| | | | | | | | | - In ruby: waitForStable => wait_for_stable - Setting an unknown attribute on connection settings now throws an exception - Added connected? accessor to Connection git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@821109 13f79535-47bb-0310-9956-ffa450edef68
* QMF Engine updates:Ted Ross2009-09-2911-54/+200
| | | | | | | | | - Connected console handler callbacks - Added string representations for a number of object classes - Added a feature that completes query requests sent to disconnected agents git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@819819 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-2535-1494/+254
| | | | | | | | | | | | - Refactored into two namespaces: 1) 'qmf' for the public QMF api (c++) 2) 'qmf::engine' for the public engine API (used for language bindings) - Added object and first_object calls to Console (in Ruby) - Made objects call compatible with the kwarg arguments used in the older API - Added to_s functions to classes that needed them git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818994 13f79535-47bb-0310-9956-ffa450edef68
* Use struct/class consistentlyStephen D. Huston2009-09-247-49/+49
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818347 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-224-7/+20
| | | | | | | | | | - Added "sendUserId" option (defaults to true) to QMF connection settings - Implemented the user-id function using "negotiatedSettings" from qpid::client::Connection - Fixed a sign-extension bug in Value - Added tests for all of the above git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817813 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-216-11/+58
| | | | | | | | | | Fixed issues identified by the new tests: - Improper formatting of object-id in get-query - Remote (non-broker-resident) agents not visible to the console - object.update() and object.merge() not implemented git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817312 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-1825-500/+572
| | | | | | | | | | | | | | | | the pimpl (Pointer to Implementation) pattern: 1) Impl classes have constructors matching the public constructors 2) Additional Impl constructors are accessed through a static factory function 3) All linkages to objects are to the public object 4) If a back-link (from Impl to public) is needed, the Impl class must be derived from boost::noncopyable 5) All public classes have non-default copy constructors that make a copy of the Impl class git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816770 13f79535-47bb-0310-9956-ffa450edef68