dev@grizzly.java.net

Properly closing channel

From: Igor Minar <iiminar_at_gmail.com>
Date: Mon, 16 Nov 2009 14:07:04 -0800

Hi there,

I noticed that there is a lot of stuff going on in grizzly when it
closes a channel:

https://grizzly.dev.java.net/nonav/xref/com/sun/grizzly/BaseSelectionKeyHandler.html
#275

Is it really necessary to go through all these steps? I thought that
when one calls Channel#close it will close all the underlying stuff.

I don't consider the grizzly's implementation to be problematic, I
just wonder what is the justification for the complexity.


thanks,
Igor