Compartir a través de


AbstractSelector.ImplCloseSelector Method

Definition

Closes this selector.

[Android.Runtime.Register("implCloseSelector", "()V", "GetImplCloseSelectorHandler")]
protected abstract void ImplCloseSelector ();
[<Android.Runtime.Register("implCloseSelector", "()V", "GetImplCloseSelectorHandler")>]
abstract member ImplCloseSelector : unit -> unit
Attributes

Exceptions

Remarks

Closes this selector.

This method is invoked by the #close close method in order to perform the actual work of closing the selector. This method is only invoked if the selector 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 a selection operation upon this selector to return immediately as if by invoking the java.nio.channels.Selector#wakeup wakeup method.

Java documentation for java.nio.channels.spi.AbstractSelector.implCloseSelector().

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