summaryrefslogtreecommitdiff
path: root/python/qpid/session.py
Commit message (Collapse)AuthorAgeFilesLines
* removed imports so that the old spec doesn't need to be parsedRafael H. Schloming2010-01-211-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@901666 13f79535-47bb-0310-9956-ffa450edef68
* fixed some more channel attribute errors; eliminated most uses of catchup in ↵Rafael H. Schloming2009-08-211-2/+5
| | | | | | favor of waiting on semantically meaningful predicates; fixed Serial.__cmp__ to check the type of the other object git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806734 13f79535-47bb-0310-9956-ffa450edef68
* fixed attribute errorRafael H. Schloming2009-08-211-2/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806514 13f79535-47bb-0310-9956-ffa450edef68
* implemented reconnect and separated out the protocol driver from the ↵Rafael H. Schloming2009-08-201-2/+0
| | | | | | messaging client git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@806393 13f79535-47bb-0310-9956-ffa450edef68
* - removed old and redundent testsRafael H. Schloming2009-08-111-129/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | - removed old test harness in favor of qpid-python-test - modified qpid-python-test to support "skipped" tests, these are tests that failed due to an anticipated environmental reason such as the broker is not running or it is the wrong version - modified the qpid-python-test harness to exit with appropriate error codes based on the test results - modified the python clients to report version mismatches rather than framing errors - made qpid_config provide variables for 0-8, 0-9, and 0-10 versions of the spec - modified the 0-10 client to directly codegen classes - added new 0-10 framing layer based on push parsing rather than pull parsing - added numerous framing tests git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@803168 13f79535-47bb-0310-9956-ffa450edef68
* only sync when we need toRafael H. Schloming2009-06-021-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@781043 13f79535-47bb-0310-9956-ffa450edef68
* made codegen happen on module import rather than on object instantiation, ↵Rafael H. Schloming2009-01-081-19/+4
| | | | | | this makes things like help(Session) much more useful git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732760 13f79535-47bb-0310-9956-ffa450edef68
* use long syntax for flow control literals, this will hopefully avoid future ↵Rafael H. Schloming2008-11-101-1/+1
| | | | | | warnings on older versions of python git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@712726 13f79535-47bb-0310-9956-ffa450edef68
* c++ broker: Don't hold on to delivery records for accepted/released messages ↵Gordon Sim2008-10-151-0/+1
| | | | | | | | | | unless required due to being in windowing mode. python client: Modified start() on incoming queue to setthe flow mode as credit (not windowing) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@704838 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1142: made session.sync() always set the sync flag on execution_syncRafael H. Schloming2008-06-161-4/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@668344 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: Switched over to using proper RFC 1982 serial numbers.Rafael H. Schloming2008-05-231-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659647 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1064: made qpid-config close the session/connection; added ↵Rafael H. Schloming2008-05-151-2/+7
| | | | | | incoming.stop() to cancel incoming messages and join on the listener thread; made managementBroker.removeChannel use incoming.stop(); modified session.close to wait on _closed rather than on channel == None git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@656871 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: fixed typo in prior commitRafael H. Schloming2008-05-121-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655534 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: added handler for known_completed and generate known_completed ↵Rafael H. Schloming2008-05-121-0/+10
| | | | | | when timely-reply is set git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@655533 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: made python client use execution.sync instead of session.flush ↵Rafael H. Schloming2008-05-091-1/+5
| | | | | | when not in auto_sync mode git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654947 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1045 and QPID-1041: added a destination attribute to incoming queues, ↵Rafael H. Schloming2008-05-091-1/+12
| | | | | | and added a start() method to incoming queues as syntactic sugar for the verbose message flow idiom git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654918 13f79535-47bb-0310-9956-ffa450edef68
* QPID-1045: always notify incoming message queues of session closure and ↵Rafael H. Schloming2008-05-091-18/+26
| | | | | | provide API for notifying listeners of closure; also preserve connection close code and report in errors git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654907 13f79535-47bb-0310-9956-ffa450edef68
* QPID-979: added access to enums through the session so that symbolic ↵Rafael H. Schloming2008-05-081-5/+7
| | | | | | constants can be used rather than hard coded ones; also added default loading of the spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@654618 13f79535-47bb-0310-9956-ffa450edef68
* Add support for reading 0-10 arrays; Set sync bit on session header for ↵Gordon Sim2008-04-231-0/+1
| | | | | | commands sent with auto_sync on. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650875 13f79535-47bb-0310-9956-ffa450edef68
* QPID-947: update cpp and python management to 0-10 finalRafael H. Schloming2008-04-221-7/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650565 13f79535-47bb-0310-9956-ffa450edef68
* * Fix interpretation of accept-mode, 0 == EXPLICITGordon Sim2008-04-141-0/+3
| | | | | | | | * Ensure accepts are taken into account in command sequence git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@647999 13f79535-47bb-0310-9956-ffa450edef68
* Update to dtx inline with latest spec:Gordon Sim2008-03-261-1/+4
| | | | | | | | | | | | * Updated dtx handling in c++ broker to take account of separation of completion and acceptance. * Added final dtx method defs to extra xml fragment and implemented appropriate handlers in c++ broker. * Converted dtx python tests (recover test still requires some work on decoding arrays). * Allow creation of structs without type codes through a python session method. * Fixed exception handling in python client for commands with results. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@641464 13f79535-47bb-0310-9956-ffa450edef68
* added convenience API for turning on logging; added logging for controls and ↵Rafael H. Schloming2008-03-111-2/+9
| | | | | | commands; made logging prettier git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635939 13f79535-47bb-0310-9956-ffa450edef68
* renamed datatypes.Struct.type -> datatypes.Struct._type; this avoids naming ↵Rafael H. Schloming2008-03-101-5/+6
| | | | | | conflicts with metadata-driven fields; moved argument validation -> datatypes.Struct and improved error checking; improved datatypes.Struct.__repr__ git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@635660 13f79535-47bb-0310-9956-ffa450edef68
* added session.sync(); session.auto_sync; made transfers not auto-complete; ↵Rafael H. Schloming2008-03-071-13/+41
| | | | | | fixed bug in RangedSet git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634744 13f79535-47bb-0310-9956-ffa450edef68
* added timeouts to hello-010-world; switched to conditions rather than events ↵Rafael H. Schloming2008-03-071-9/+35
| | | | | | for handling connection/session state; handle session exceptions git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634678 13f79535-47bb-0310-9956-ffa450edef68
* preliminary support for message headersRafael H. Schloming2008-03-061-1/+9
| | | | git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634289 13f79535-47bb-0310-9956-ffa450edef68
* added codec for sequence_set; added id to Message; RangeSet -> RangedSet; ↵Rafael H. Schloming2008-03-061-4/+3
| | | | | | added RangedSet.add(lower, upper) git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@634255 13f79535-47bb-0310-9956-ffa450edef68
* added incoming queues for messages; altered session dispatch to send entire ↵Rafael H. Schloming2008-03-051-22/+57
| | | | | | assembly to a single handler; added logging switch for hello-010-world git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633861 13f79535-47bb-0310-9956-ffa450edef68
* import of in-process 0-10 final python clientRafael H. Schloming2008-03-041-0/+208
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@633610 13f79535-47bb-0310-9956-ffa450edef68