Implements the close channel behavior.
Closes the channel with a guarantee that the channel is not currently
closed via close() and that the method is thread-safe.
any outstanding threads blocked on IO operations on this channel must be
released with either a normal return code, or an
AsynchronousCloseException .
throws: IOException - if a problem occurs closing the channel. |