qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1630868 - /qpid/proton/branches/examples/proton-c/bindings/python/proton.py
Date Fri, 10 Oct 2014 12:58:28 GMT
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


Mime
View raw message