calling of releaseExternalResources

magiceye magiceye at 163.com
Fri Jun 3 05:57:31 EDT 2011


Even I directly close JVM process? Well, this can be handle by
Runtime.getRuntime().addShutdownHook. So, not a tough problem...

I have another question, if you don't mind, is what if client close the
connection in manner of lose power or unplug wire? How netty will react to
those thing? channelDisconnected or channelClosed won't be called because
client send nothing. So, netty will hang there?

If I implment a heartbeat to check client is alive or not, when offline
happen, how to tell netty client actually is offline? call
channelDisconnected? 

--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/calling-of-releaseExternalResources-tp6434029p6434651.html
Sent from the Netty User Group mailing list archive at Nabble.com.


More information about the netty-users mailing list