Get RTT with MessageInterceptor

Felipe Roca Blaya <felipe.rocablaya13@...>

I'm working with eclipse-leshan and I found troubles trying to retrieve the rtt between a Coap request and response.
I've created a new MessageInterceptor but I've saw that CoapEndpoint calculates and sets the RTT value after notify the different MessageInterceptor.
This seems strange for me because the RTT by definition excludes the overhead in the requester. My first reaction has been if you change the order it should works. But I'm sure this has been made for a good reason. So if someone could explain it to me or tell me some other way to retrieve the rtt I'll be grateful.
Thanks in advance

Join to automatically receive all group messages.