<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sending and listening to custom events between applications in Software Defined Networking</title>
    <link>https://community.hpe.com/t5/software-defined-networking/sending-and-listening-to-custom-events-between-applications/m-p/6656024#M1655</link>
    <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have question about sending and listening events between applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An VAN interal SDN application can register a listener to specific, built-in events which HP VAN provides. For example, an application can register a MessageListener or Sequenced Packet Listerner and get notified when OpenFlow messages or Packet-ins arrive at the controller. The application can implement a callback function to decide how to handle such events. I also see there is a built-in service called TopologyManager, which allows other applications to register a listener and get notified when the topology is recomputed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my question is:&lt;/P&gt;&lt;P&gt;Is it possible to create a custom listener for my own application so that other arbitrary applications can register for that listener and get notified when my application raises a certain event? If it is possible, is there any example source code that I can check out so that I can implement my own?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want this essentially because I want to make my own service application which other applications can consume by getting notifications from it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using HP VAN 2.0.0, and cannot find a useful document that explains or guides me to do this. I skimmed through the 2.3.5's programming guide, but I cannot find something useful either.&amp;nbsp; Please let me know if you have any pointers or guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joon Kim&lt;/P&gt;</description>
    <pubDate>Mon, 27 Oct 2014 01:43:24 GMT</pubDate>
    <dc:creator>JoonKim</dc:creator>
    <dc:date>2014-10-27T01:43:24Z</dc:date>
    <item>
      <title>Sending and listening to custom events between applications</title>
      <link>https://community.hpe.com/t5/software-defined-networking/sending-and-listening-to-custom-events-between-applications/m-p/6656024#M1655</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have question about sending and listening events between applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;An VAN interal SDN application can register a listener to specific, built-in events which HP VAN provides. For example, an application can register a MessageListener or Sequenced Packet Listerner and get notified when OpenFlow messages or Packet-ins arrive at the controller. The application can implement a callback function to decide how to handle such events. I also see there is a built-in service called TopologyManager, which allows other applications to register a listener and get notified when the topology is recomputed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now my question is:&lt;/P&gt;&lt;P&gt;Is it possible to create a custom listener for my own application so that other arbitrary applications can register for that listener and get notified when my application raises a certain event? If it is possible, is there any example source code that I can check out so that I can implement my own?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want this essentially because I want to make my own service application which other applications can consume by getting notifications from it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am currently using HP VAN 2.0.0, and cannot find a useful document that explains or guides me to do this. I skimmed through the 2.3.5's programming guide, but I cannot find something useful either.&amp;nbsp; Please let me know if you have any pointers or guidance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Joon Kim&lt;/P&gt;</description>
      <pubDate>Mon, 27 Oct 2014 01:43:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/software-defined-networking/sending-and-listening-to-custom-events-between-applications/m-p/6656024#M1655</guid>
      <dc:creator>JoonKim</dc:creator>
      <dc:date>2014-10-27T01:43:24Z</dc:date>
    </item>
  </channel>
</rss>

