If you wanted to try to do it for arbitrary unmodified components, I don't see too much alternative to Connection.send(). Unfortunately, there's no requirement that it gets passed message objects instead of raw bytes, and if it's passed raw bytes, there's no requirement that they be complete messages, etc., so doing this very reliably will be difficult. On the other hand, catching a large percentage of cases should be pretty easy.
-- Murphy On Jul 10, 2015, at 8:35 PM, Dylan Thomas <gth44...@gmail.com> wrote: > Hi all, > > I want to add a component which can either read or intercept ofp_packet_out > messages sent by other POX components. > Where would the most appropriate place to raise an event? Connection.send() > seems like a good spot, maybe? > > Thanks, > Dylan