You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gs...@apache.org on 2014/10/10 14:58:28 UTC
svn commit: r1630868 -
/qpid/proton/branches/examples/proton-c/bindings/python/proton.py
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: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org