From 9840138857567d1570934a8ec47234f1a9b04d90 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 31 Aug 2011 08:48:09 +0000 Subject: QPID-3333: Patch from Anthony Foglia - Add session property to senders and receivers (0010) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1163529 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/bindings/qpid/python/python.i | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/bindings/qpid/python/python.i') diff --git a/cpp/bindings/qpid/python/python.i b/cpp/bindings/qpid/python/python.i index 85801d1737..5767cdce2e 100644 --- a/cpp/bindings/qpid/python/python.i +++ b/cpp/bindings/qpid/python/python.i @@ -203,6 +203,9 @@ static PyObject* pTransportFailure; __swig_getmethods__["capacity"] = getCapacity __swig_setmethods__["capacity"] = setCapacity if _newclass: capacity = _swig_property(getCapacity, setCapacity) + + __swig_getmethods__["session"] = getSession + if _newclass: session = _swig_property(getSession) %} %pythoncode %{ @@ -228,6 +231,9 @@ static PyObject* pTransportFailure; __swig_getmethods__["capacity"] = getCapacity __swig_setmethods__["capacity"] = setCapacity if _newclass: capacity = _swig_property(getCapacity, setCapacity) + + __swig_getmethods__["session"] = getSession + if _newclass: session = _swig_property(getSession) %} } -- cgit v1.2.1