users@grizzly.java.net

Keep alive with Ping Pong

From: LongkerDandy <longkerdandy_at_gmail.com>
Date: Fri, 10 Oct 2014 13:47:25 +0800

Hi

I have a grizzly based TCP Server.
And I want to implement a keep alive mechanism, which detects broken
network connection.
Basicaly, clients will send Ping and server will respond Pong.
If server doesn't receive Ping in 60 seconds, consider the connection is
lost.

Any hint/example how to implement this in grizzly?

Thanks
LongkerDandy