Hi all,

Actualy it's very easy to calculate bytes thoughput (read and write) by
looking in the IoSession objects and using the following methods :

 long getReadBytes() 
          Returns the total number of bytes which were read from this
session.

 long getWrittenBytes() 
          Returns the total number of bytes which were written to this
session.

But for PDU encoding/decoding performance there is nothing, actualy.

I would like to add the following methods : 
   long getReadPDU();
   long getWrittenPDU(); 

I'm thinking about adding them in mina.filter.codec.ProtocolCodecFilter.

The total count of encoded PDU will be done in ProtocolCodecFilter, but
for the count of decoded PDU I'm thinking about the interface
ProtocolDecoderOutput (implemented in SimpleProtocolDecoderOutput).

WDYT ?

Julien

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to