Author: gsim
Date: Fri Oct 10 12:58:28 2014
New Revision: 1630868
URL: http://svn.apache.org/r1630868
Log:
added connection accessor to proton binding
Modified:
qpid/proton/branches/examples/proton-c/bindings/python/proton.py
Modified: qpid/proton/branches/examples/proton-c/bindings/python/proton.py
URL:
http://svn.apache.org/viewvc/qpid/proton/branches/examples/proton-c/bindings/python/proton.py?rev=1630868&r1=1630867&r2=1630868&view=diff
==============================================================================
--- qpid/proton/branches/examples/proton-c/bindings/python/proton.py (original)
+++ qpid/proton/branches/examples/proton-c/bindings/python/proton.py Fri Oct 10
12:58:28 2014
@@ -3140,6 +3140,10 @@ The idle timeout of the connection (floa
def condition(self):
return cond2obj(pn_transport_condition(self._trans))
+ @property
+ def connection(self):
+ return Connection._wrap_connection(pn_transport_connection(self._trans))
+
class SASLException(TransportException):
pass
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]