<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Nov 14, 2013, at 6:15 PM, Sulabh Bista <<a href="mailto:sul4bh@gmail.com">sul4bh@gmail.com</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello everybody.<div><br></div><div>I am learning to use the messenger component. I referenced POXDesk to see some examples on how this could be used (together with the messenger.js library).</div><div><br></div>

<div>Now, where do I look for commands (eg, list_switches, get_flow_stats, set_table) that we can use with messenger.js? Do we have a reference for that or where are they derived from?</div></div></blockquote><div><br></div><div>So those commands are provided by what messenger would call a messenger service.  The services are generally a POX component of their own (or possibly as part of another component).  In the pox.messenger package, there's the log_service which provides functionality for remotely interacting with the log.  There's also some little example services.</div><div><br></div><div>The things you mentioned, for working with OpenFlow, are in openflow.of_service.</div><br><blockquote type="cite"><div dir="ltr"><div>Also the wiki mentions " The messenger by itself is really just an API, actual communication is implemented by <i>transports</i> ". What is transports here?</div>

</div></blockquote><br></div><div>Transports are how data is actually communicated.  See the messenger package in the source code... it contains ajax_transport, web_transport, and tcp_transport modules (the tcp_transport module in dart actually has two transports -- a passive/listening one and an active/connecting one).</div><br><div>The messenger package has a fair amount of documentation in it.  I've also just expanded the messenger section of the manual (mostly with information in this email).</div><div><br></div><div>-- Murphy</div></body></html>