Selector.Select Selector.Select Method

Definition

Overloads

Select() Select()

Detects if any of the registered channels is ready for I/O operations according to its SelectionKey.

Select(Int64) Select(Int64)

Detects if any of the registered channels is ready for I/O operations according to its SelectionKey.

Select() Select()

Detects if any of the registered channels is ready for I/O operations according to its SelectionKey.

[Android.Runtime.Register("select", "()I", "GetSelectHandler")]
public abstract int Select ();
abstract member Select : unit -> int

Returns

Exceptions

if an I/O error occurs.

Remarks

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.

Select(Int64) Select(Int64)

Detects if any of the registered channels is ready for I/O operations according to its SelectionKey.

[Android.Runtime.Register("select", "(J)I", "GetSelect_JHandler")]
public abstract int Select (long timeout);
abstract member Select : int64 -> int

Parameters

timeout
Int64 Int64

the non-negative timeout in millisecond; 0 will block forever if no channels get ready.

Returns

Exceptions

if the given timeout argument is less than zero.

if an I/O error occurs.

Remarks

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