You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2014/09/17 16:10:35 UTC

svn commit: r1625600 - /qpid/proton/branches/examples/tutorial/proton_events.py

Author: tross
Date: Wed Sep 17 14:10:34 2014
New Revision: 1625600

URL: http://svn.apache.org/r1625600
Log:
Added a stop method to EventLoop.

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=1625600&r1=1625599&r2=1625600&view=diff
==============================================================================
--- qpid/proton/branches/examples/tutorial/proton_events.py (original)
+++ qpid/proton/branches/examples/tutorial/proton_events.py Wed Sep 17 14:10:34 2014
@@ -783,6 +783,9 @@ class EventLoop(object):
     def run(self):
         self.loop.run()
 
+    def stop(self):
+        self.loop.abort()
+
 
 class BlockingLink(object):
     def __init__(self, connection, link):



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