diff options
author | Gordon Sim <gsim@apache.org> | 2011-08-31 08:48:09 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-08-31 08:48:09 +0000 |
commit | 4d21cc3d80bb96e2bb43e99dc4707abd054e4532 (patch) | |
tree | b66d2a5031172daf7eeb34c554385d69383066bc | |
parent | f220c7be4b46a1360f7dcf71750ed3dee828e084 (diff) | |
download | qpid-python-4d21cc3d80bb96e2bb43e99dc4707abd054e4532.tar.gz |
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@1163529 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | qpid/cpp/bindings/qpid/python/python.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qpid/cpp/bindings/qpid/python/python.i b/qpid/cpp/bindings/qpid/python/python.i index 85801d1737..5767cdce2e 100644 --- a/qpid/cpp/bindings/qpid/python/python.i +++ b/qpid/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) %} } |