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 | 9840138857567d1570934a8ec47234f1a9b04d90 (patch) | |
| tree | c541ec281c1f69972955d487ff273549c0ef9de1 /cpp/bindings/qpid/python/python.i | |
| parent | 7ce2985fe0d7eb24f2c42644ba6055d1bb63fca0 (diff) | |
| download | qpid-python-9840138857567d1570934a8ec47234f1a9b04d90.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/qpid@1163529 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qpid/python/python.i')
| -rw-r--r-- | cpp/bindings/qpid/python/python.i | 6 |
1 files changed, 6 insertions, 0 deletions
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) %} } |
