On 6/10/10 1:28 PM, Charles Moulliard wrote:
Hi,
Is there a way / classes that we can use with MINA to create a
communication protocole over MINA like by example to send every x
minutes a heartbeat / login or logout messages
There is a filter that does pretty much that in MINA : the
KeepAliveFilter. It sends a message every N seconds to a remote host in
order to keep the connection active.
You might want to look at the associated code :
http://svn.apache.org/viewvc/mina/trunk/core/src/main/java/org/apache/mina/filter/keepalive/
--
Regards,
Cordialement,
Emmanuel Lécharny
www.nextury.com