Udostępnij za pośrednictwem


AbstractSelectableChannel.ImplCloseChannel Method

Definition

Closes this channel.

[Android.Runtime.Register("implCloseChannel", "()V", "")]
protected override sealed void ImplCloseChannel ();
[<Android.Runtime.Register("implCloseChannel", "()V", "")>]
override this.ImplCloseChannel : unit -> unit
Attributes

Exceptions

if a problem occurs while closing the channel.

Remarks

Closes this channel.

This method, which is specified in the AbstractInterruptibleChannel class and is invoked by the java.nio.channels.Channel#close close method, in turn invokes the #implCloseSelectableChannel implCloseSelectableChannel method in order to perform the actual work of closing this channel. It then cancels all of this channel's keys.

Java documentation for java.nio.channels.spi.AbstractSelectableChannel.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