for an application with Smack I would like to be able to measure the raw traffic that is being generated. So basically I want to count every byte Smack writes to a BufferedWriter on it’s connection and reads from the BufferedReader. I didn’t found anything usable in the JavaDocs. But probabilities are very high that I overlooked it Does anyone of you have a hint how I can do this the most elegant way?
Thanks in advance