Share via


AbstractInterruptibleChannel.ImplCloseChannel Method

Definition

Closes this channel.

[Android.Runtime.Register("implCloseChannel", "()V", "GetImplCloseChannelHandler")]
protected abstract void ImplCloseChannel ();
[<Android.Runtime.Register("implCloseChannel", "()V", "GetImplCloseChannelHandler")>]
abstract member ImplCloseChannel : unit -> unit
Attributes

Exceptions

if a problem occurs while closing the channel.

Remarks

Closes this channel.

This method is invoked by the #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.AbstractInterruptibleChannel.implCloseChannel().

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