It sounds like the ActivityCheckFilter is what you should add to your
filter chain.
https://grizzly.java.net/docs/2.3/apidocs/org/glassfish/grizzly/utils/ActivityCheckFilter.html
2014-10-10 7:47 GMT+02:00 LongkerDandy <longkerdandy_at_gmail.com>:
> 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
>