Android Guides | Samples

Java.Nio.Channels.Spi.AbstractSelectableChannel Class

AbstractSelectableChannel is the base implementation class for selectable channels.

See Also: AbstractSelectableChannel

Syntax

[Android.Runtime.Register("java/nio/channels/spi/AbstractSelectableChannel", DoNotGenerateAcw=true)]
public abstract class AbstractSelectableChannel : SelectableChannel

Remarks

AbstractSelectableChannel is the base implementation class for selectable channels. It declares methods for registering, unregistering and closing selectable channels. It is thread-safe.

[Android Documentation]

Requirements

Namespace: Java.Nio.Channels.Spi
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1

The members of Java.Nio.Channels.Spi.AbstractSelectableChannel are listed below.

See Also: SelectableChannel

Protected Constructors

Constructs a new AbstractSelectableChannel.
A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
override
IsBlockingBoolean. Indicates whether this channel is in blocking mode.
[read-only]
override
IsRegisteredBoolean. Indicates whether this channel is registered with one or more selectors.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

override
BlockingLock() : Object
Gets the object used for the synchronization of register and configureBlocking.
override
ConfigureBlocking(Boolean) : SelectableChannel
Sets the blocking mode of this channel.
override
KeyFor(Selector) : SelectionKey
Gets this channel's selection key for the specified selector.
override
Provider() : SelectorProvider
Returns the selector provider that has created this channel.
override
Register(Selector, Operations, Object) : SelectionKey
Registers this channel with the specified selector for the specified interest set.

Protected Methods

override
ImplCloseChannel()
Implements the channel closing behavior.
abstract
ImplCloseSelectableChannel()
Implements the closing function of the SelectableChannel.
abstract
ImplConfigureBlocking(Boolean)
Implements the configuration of blocking/non-blocking mode.