You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by johnnyv_cn <jo...@hotmail.com> on 2007/12/14 07:42:05 UTC

If client machine shutdown abnormally, will MINA detect


-- 
View this message in context: http://www.nabble.com/If-client-machine-shutdown-abnormally%2C-will-MINA-detect-tp14330917s16868p14330917.html
Sent from the Apache MINA Support Forum mailing list archive at Nabble.com.


Re: If client machine shutdown abnormally, will MINA detect

Posted by mat <fo...@gmail.com>.
You can try out one of example on two machines(one client and one server).
Unplug the power and see if server detects it.
Just kidding. I believe the only 100% way to detect the client disconnection
is to send the heartbeat message between client and server.

On Dec 14, 2007 2:42 PM, johnnyv_cn <jo...@hotmail.com> wrote:

>
>
> --
> View this message in context:
> http://www.nabble.com/If-client-machine-shutdown-abnormally%2C-will-MINA-detect-tp14330917s16868p14330917.html
> Sent from the Apache MINA Support Forum mailing list archive at Nabble.com<http://nabble.com/>
> .
>
>