You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2014/09/29 21:00:41 UTC
svn commit: r1628259 - /qpid/proton/trunk/proton-c/bindings/python/proton.py
Author: rhs
Date: Mon Sep 29 19:00:41 2014
New Revision: 1628259
URL: http://svn.apache.org/r1628259
Log:
added connection accessor to proton binding
Modified:
qpid/proton/trunk/proton-c/bindings/python/proton.py
Modified: qpid/proton/trunk/proton-c/bindings/python/proton.py
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/bindings/python/proton.py?rev=1628259&r1=1628258&r2=1628259&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/bindings/python/proton.py (original)
+++ qpid/proton/trunk/proton-c/bindings/python/proton.py Mon Sep 29 19:00:41 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