Java.Nio.Channels.SelectableChannel Class
A channel that can be used with a Java.Nio.Channels.Selector.

See Also: SelectableChannel Members

Syntax

[Android.Runtime.Register("java/nio/channels/SelectableChannel", DoNotGenerateAcw=true)]
public abstract class SelectableChannel : Java.Nio.Channels.Spi.AbstractInterruptibleChannel, IDisposable

Remarks

A channel that can be used with a Java.Nio.Channels.Selector. The channel must be registered with a selector by calling one of the register methods, which return a Java.Nio.Channels.SelectionKey object. In order to deregister a channel from a selector, its selection key must be canceled. This can be done explicitly by calling the SelectionKey.Cancel method but it is also done implicitly when the channel or the selector is closed.

A channel may be registered with several selectors at the same time but only once for any given selector.

[Android Documentation]

Requirements

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