Volume of packets to simulate a bandwidth

Hello to you all,

I am sorry my last question was general, i search in the moment a manner to calculate

the volume of packets sent per second for a specific user for example or something like that in wildfire 2.6.2 API to simulate the bandwidth, so please, is someone now in which package or interface can i find it…, because the application which i work on it permit to clients sending messages only, and i would to have a sensor to represent that.

thank you for all, and thank you dombiak gaston for your last answer.

Interface Session:

long getNumClientPackets()

long getNumServerPackets()