Signed-off-by: YAMAMOTO Takashi <[email protected]>
---
ryu/lib/rpc.py | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/ryu/lib/rpc.py b/ryu/lib/rpc.py
index 3aa476d..010f0a8 100644
--- a/ryu/lib/rpc.py
+++ b/ryu/lib/rpc.py
@@ -304,3 +304,11 @@ class Client(object):
raise EOFError("EOF")
self._process_input_notification()
self._process_input_request()
+
+ def peek_notification(self):
+ while True:
+ rlist, _wlist = self._endpoint.selectable()
+ rlist, _wlist, _xlist = select.select(rlist, [], [], 0)
+ if not rlist:
+ break
+ self.receive_notification()
--
1.8.3.1
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel