summaryrefslogtreecommitdiff
path: root/cpp/bindings/qmf
Commit message (Collapse)AuthorAgeFilesLines
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-1/+1
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* add support for QMF TYPE_LIST in engine, ruby and python wrappersKenneth Anthony Giusti2010-03-306-10/+94
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929244 13f79535-47bb-0310-9956-ffa450edef68
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-141-1/+3
| | | | | | into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910016 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2328 - Applied patch from Ian MainTed Ross2010-02-122-4/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@909548 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2355: fix include path order in binding makefilesKenneth Anthony Giusti2010-01-252-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@902865 13f79535-47bb-0310-9956-ffa450edef68
* Added raise_event support to the Ruby and Python wrapped agent APIs.Ted Ross2010-01-136-10/+295
| | | | 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-057-197/+350
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@896191 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2246 - QMF - Querying objects using a selector of type ObjectId yields ↵Ted Ross2009-12-045-10/+33
| | | | | | incorrect results git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@887320 13f79535-47bb-0310-9956-ffa450edef68
* Disabled user-id test from the pure python console. This needs to be ↵Ted Ross2009-11-111-1/+1
| | | | | | | | | re-designed following the update to SASL on Python. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@835040 13f79535-47bb-0310-9956-ffa450edef68
* Added limited backtracing for exceptions raised in console callbacks.Ted Ross2009-11-101-2/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@834498 13f79535-47bb-0310-9956-ffa450edef68
* QMF fixes:Ted Ross2009-11-031-2/+2
| | | | | | | | - 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 spurious assertion from python test agentTed Ross2009-10-261-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829786 13f79535-47bb-0310-9956-ffa450edef68
* Removed references to broker and agent bank from API, replaced with theTed Ross2009-10-234-99/+107
| | | | | | | | | | | | | 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-2156 - Add thread shutdown to python QMF bindings, additional logging, ↵Ted Ross2009-10-231-41/+99
| | | | | | | | | native console test. Committed patch from Ken Giusti. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@829161 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2126 - Sync the python QMF bindings to the current Ruby QMF bindings ↵Ted Ross2009-10-202-175/+837
| | | | | | | | | 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-152-0/+26
| | | | | | | | | agent identified in the objectId. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825672 13f79535-47bb-0310-9956-ffa450edef68
* Added select for object queries (Ruby).Ted Ross2009-10-152-8/+51
| | | | | | | Added separate callback-thread to prevent deadlock when a user blocks on a callback. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@825492 13f79535-47bb-0310-9956-ffa450edef68
* QMF Fixes in Ruby Console:Ted Ross2009-10-022-9/+36
| | | | | | | | | | - 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-024-8/+23
| | | | | | | | | - 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-292-6/+50
| | | | | | | | | - 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-257-47/+83
| | | | | | | | | | | | - 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
* Fixes to the QMF Ruby API - added missing methods and reduced use of "get_" ↵Ted Ross2009-09-234-27/+56
| | | | | | convention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@818141 13f79535-47bb-0310-9956-ffa450edef68
* QMF updates:Ted Ross2009-09-222-9/+80
| | | | | | | | | | - 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
* Properly report test failures in Ruby testsTed Ross2009-09-211-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817375 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a Ruby convention problem (camel-case vs. underscores)Ted Ross2009-09-212-5/+13
| | | | | | | Added method_missing function for Arguments for direct access to method output args. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@817314 13f79535-47bb-0310-9956-ffa450edef68
* Added Ruby test infrastructure and Console tests in RubyTed Ross2009-09-214-6/+224
| | | | | | | | | | 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
* Added accessor for returned method argumentsTed Ross2009-09-182-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816776 13f79535-47bb-0310-9956-ffa450edef68
* Refactored the QMF engine to adhere to the following rules regardingTed Ross2009-09-182-5/+1
| | | | | | | | | | | | | | | | 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
* QMF ConsoleTed Ross2009-09-173-45/+190
| | | | | | | | | - Added implementation for method invocation - Added metaprogramming hooks in Ruby for attribute and method access - Refactored file structure git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@816345 13f79535-47bb-0310-9956-ffa450edef68
* QMF Console updated to the point where query (get_object) is supported.Ted Ross2009-09-156-77/+328
| | | | | | | The Ruby binding continues to track the c++ engine progress. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815416 13f79535-47bb-0310-9956-ffa450edef68
* Improved automake for the qmf bindings.Ted Ross2009-09-034-25/+43
| | | | | | | | | - Added conditionals for HAVE_PYTHON_DEVEL - Added conditionals in the run_interop_tests script to skip tests of unbuilt components - Removed from distribution the code generated by swig for Python git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810998 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2064 - add python bindings for qmf (c++)Ted Ross2009-09-026-11/+1195
| | | | | | | Applied patch from Ken Giusti git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810523 13f79535-47bb-0310-9956-ffa450edef68
* More QMF implementation:Ted Ross2009-09-022-17/+92
| | | | | | | | - Added schema handling and exchange to the console - Improved the connection performance by switching to pre-acquired mode git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810482 13f79535-47bb-0310-9956-ffa450edef68
* Avoid failed test where ruby-devel isn't installedAndrew Stitcher2009-09-011-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@810256 13f79535-47bb-0310-9956-ffa450edef68
* Added protocol module for codepoint definitions and header handling.Ted Ross2009-08-312-2/+3
| | | | | | | | Fixed a deadlock case in ResilientConnection. Added more code to the ConsoleEngine implementation. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809728 13f79535-47bb-0310-9956-ffa450edef68
* Major work in the QMF engine.Ted Ross2009-08-286-42/+338
| | | | | | | | | - The console framework now establishes connectivity with the broker. - The Ruby binding for console is tracking the engine development. - Overall improvements (thread safety in Ruby, etc.) have been added. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@809042 13f79535-47bb-0310-9956-ffa450edef68
* Purely cosmetic changes, no functional change.Ted Ross2009-08-261-449/+469
| | | | | | | | - Changed indentation - Re-ordered class definitions for more logical grouping git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@808155 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Ruby typemaps so 64-bit values are handled correctly on 32-bit ↵Ted Ross2009-08-241-8/+11
| | | | | | architectures. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807323 13f79535-47bb-0310-9956-ffa450edef68
* Added QMF tests for method invocation and numeric types.Ted Ross2009-08-244-14/+210
| | | | | | | Improved the swig typemaps to handle different numeric cases. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@807288 13f79535-47bb-0310-9956-ffa450edef68
* Implemented the new QMF ConnectionSettings and incorporated into the bindings.Ted Ross2009-08-214-21/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806725 13f79535-47bb-0310-9956-ffa450edef68
* Introduce the public includes for the QMF interfaces.Ted Ross2009-08-193-14/+14
| | | | | | | | | | | | | | Rename Agent to AgentEngine to differentiate the API from the underlying engine. Note that some of these public headers will overlap with the emerging "messaging" API (notably Connection.h and ConnectionSettings.h). It is desirable that these components of the API become common between "messaging" and "qmf". As such, once the differences are reconciled, they will most likely be removed from the qmf space and placed in the messaging space. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@805916 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug where Ruby/C number conversions failed on 32-bit architectures.Ted Ross2009-08-122-16/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803541 13f79535-47bb-0310-9956-ffa450edef68
* Add test script to distribution listGordon Sim2009-08-121-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803403 13f79535-47bb-0310-9956-ffa450edef68
* fixed the cpp/python test integrationRafael H. Schloming2009-08-112-27/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803270 13f79535-47bb-0310-9956-ffa450edef68
* Cleaned up the makefiles in the QMF bindings area.Ted Ross2009-08-118-11/+291
| | | | | | | | Added tests for the QMF bindings. Removed spurious "cout" prints from qmf/Agent.cpp git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803156 13f79535-47bb-0310-9956-ffa450edef68
* Separate generated public header files from non-public headers, generated ↵Alan Conway2009-07-272-2/+2
| | | | | | | | | | | | | | | | | | | | code re-organization. The gen/ directory has been removed, code is now generated into: $(builddir)/src - all .cpp files and non-public .h files. $(builddir)/include - all public .h files. The gen/ directory was originally intended to separate generated code from hand-written code. However both automake and cmake allow you to direct all build output, including generated code, into a separate build directory. In fact both recommend you build this way. Keeping the gen/ directory meant there would have been a total of 8 places to look for header files, all the combinations of builddir/srcdir, src/include and gen/no-gen. This was a mess, 4 is bad enough. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@798291 13f79535-47bb-0310-9956-ffa450edef68
* Fix makefile for new include directoryAlan Conway2009-07-151-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@794349 13f79535-47bb-0310-9956-ffa450edef68
* Additional fix for make distcheck.Ted Ross2009-07-101-0/+2
| | | | | | | Added CLEANFILES definition to clean up generated sources. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793109 13f79535-47bb-0310-9956-ffa450edef68
* Fixed another make dist problem. Need to specify "nodist_" for ↵Ted Ross2009-07-101-1/+1
| | | | | | conditionally generated sources. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793100 13f79535-47bb-0310-9956-ffa450edef68
* Removed commented out code in makefileTed Ross2009-07-091-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@792569 13f79535-47bb-0310-9956-ffa450edef68