You're welcome! I'm sure you can still refer to the link I provided above for Ryu, which is a python based controller. I have no experience with floodlight so I sadly cannot help there.
As per having a real time module, you can run wireshark on the controller attached to a switch, to which you can pass the traffic from hosts to and from.