The controller applications (and SDN applications) register packet listeners with the controller. The order of processing an incoming packet is determined by the roles (Advisor, then Director, then Observer), and then altitudes within a role (in decreasing value, with 0 the lowest altitude). An incoming packet (PacketListenerRole) is wrapped in a Message Context (which also holds a Packet-Out reply) which is passed to each packet listener in turn.
Refreshes the information on the screen.
The PacketListener Role is one of the following:
Packets are given to packet listeners with role of
The weight or priority this packet listener should have relative to other packet listeners that have the same role. The controller gives packet listeners with higher numbers priority over packet listeners with lower numbers.
The average time, in milliseconds, that the packet listener spent processing a packet.
The number of packets processed by that packet listener since the packet listener registered.