<div dir="ltr"><div><font face="arial, sans-serif">Use the event name with proper case as:</font></div><span style="font-family:arial,sans-serif;font-size:13px">self.addListenersByname("</span><font face="arial, sans-serif">FlowStatsReceived", self._handle_flowstate_</font><span style="font-family:arial,sans-serif;font-size:13px">received)</span><br>

<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 6, 2013 at 9:01 AM, Amer <span dir="ltr"><<a href="mailto:amer7777@hotmail.com" target="_blank">amer7777@hotmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I would like to add listeners to flow and port status in <a href="http://l3.learning.py" target="_blank">l3.learning.py</a>.<br>
There is a command<br>
Self.listento(core)<br>
But it is not calling flow or port status function<br>
I tried with self.addListenersByname("flowstatereceived", self._handle_flowstate_received)<br>
and without self<br>
<br>
But it is not work<br>
<br>
Best regards,<br>
Amer</blockquote></div><br></div>