qpid-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Meulemans <m.meulem...@tkhinnovations.com>
Subject Idle timeout in proton-j
Date Sun, 10 Aug 2014 18:46:18 GMT

Support for idle timeout and the sending of heartbeat messages (as in
proton-c) seems to be missing from proton-j. As I have a need for it I
would like to look into adding it. Are there any ideas floating around as
to where this functionality should go?

- Sending and receiving idle timeout values seems straight forward: extend
the Transport interface and some code to the processing of the Open frame.
- Ability for send empty frames also: some code for handling null frame
body in FrameWriter.
- Waking in order to send a heartbeat frame same: calculate timeout in in
engine doWait.
- Logic for sending an empty frame: ??? ... seems like this should go
somewhere in TransportImpl, but where?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message