AbstractSelector.Deregister(AbstractSelectionKey) Method

Definition

Removes the given key from its channel's key set.

[Android.Runtime.Register("deregister", "(Ljava/nio/channels/spi/AbstractSelectionKey;)V", "")]
protected void Deregister (Java.Nio.Channels.Spi.AbstractSelectionKey? key);
[<Android.Runtime.Register("deregister", "(Ljava/nio/channels/spi/AbstractSelectionKey;)V", "")>]
member this.Deregister : Java.Nio.Channels.Spi.AbstractSelectionKey -> unit

Parameters

key
AbstractSelectionKey

The selection key to be removed

Attributes

Remarks

Removes the given key from its channel's key set.

This method must be invoked by the selector for each channel that it deregisters.

Java documentation for java.nio.channels.spi.AbstractSelector.deregister(java.nio.channels.spi.AbstractSelectionKey).

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