AbstractSelectableChannel.ImplCloseSelectableChannel Method

Definition

Closes this selectable channel.

[Android.Runtime.Register("implCloseSelectableChannel", "()V", "GetImplCloseSelectableChannelHandler")]
protected abstract void ImplCloseSelectableChannel ();
[<Android.Runtime.Register("implCloseSelectableChannel", "()V", "GetImplCloseSelectableChannelHandler")>]
abstract member ImplCloseSelectableChannel : unit -> unit
Attributes

Exceptions

if an I/O exception occurs.

Remarks

Closes this selectable channel.

This method is invoked by the java.nio.channels.Channel#close close method in order to perform the actual work of closing the channel. This method is only invoked if the channel has not yet been closed, and it is never invoked more than once.

An implementation of this method must arrange for any other thread that is blocked in an I/O operation upon this channel to return immediately, either by throwing an exception or by returning normally.

Java documentation for java.nio.channels.spi.AbstractSelectableChannel.implCloseSelectableChannel().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to