As I have spent too much time to get Bandersnatch Jabber recorder to work with Wildfire, I have decided to write a simple plugin that will record packets to the database. Here’‘s my question: in the plugin I’‘m implementing PacketInterceptor interface’'s interceptPacket() method:
void interceptPacket(Packet packet,
I have problems with understanding what exactly ‘‘incoming’’ and ‘‘processed’’ flags mean. Right now I don’'t check them at all and far too many packets are being saved.
What is the best way to make sure that the plugin will receive only/b what is being sent to and receive from the clients?