qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g...@apache.org
Subject svn commit: r1636898 - /qpid/proton/branches/examples/tutorial/proton_events.py
Date Wed, 05 Nov 2014 15:34:11 GMT
Author: gsim
Date: Wed Nov  5 15:34:11 2014
New Revision: 1636898

URL: http://svn.apache.org/r1636898
Log:
Expose heartbeat option in global functions also

Modified:
    qpid/proton/branches/examples/tutorial/proton_events.py

Modified: qpid/proton/branches/examples/tutorial/proton_events.py
URL: http://svn.apache.org/viewvc/qpid/proton/branches/examples/tutorial/proton_events.py?rev=1636898&r1=1636897&r2=1636898&view=diff
==============================================================================
--- qpid/proton/branches/examples/tutorial/proton_events.py (original)
+++ qpid/proton/branches/examples/tutorial/proton_events.py Wed Nov  5 15:34:11 2014
@@ -1023,10 +1023,10 @@ class EventLoop(object):
 
 EventLoop.DEFAULT = EventLoop()
 
-def connect(url=None, urls=None, address=None, handler=None, reconnect=None, eventloop=None):
+def connect(url=None, urls=None, address=None, handler=None, reconnect=None, eventloop=None,
heartbeat=None):
     if not eventloop:
         eventloop = EventLoop.DEFAULT
-    return eventloop.connect(url=url, urls=urls, address=address, handler=handler, reconnect=reconnect)
+    return eventloop.connect(url=url, urls=urls, address=address, handler=handler, reconnect=reconnect,
heartbeat=heartbeat)
 
 def run(eventloop=None):
     if not eventloop:



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message