共用方式為


SelectionKey.ReadyOps Method

Definition

Retrieves this key's ready-operation set.

[Android.Runtime.Register("readyOps", "()I", "GetReadyOpsHandler")]
public abstract Java.Nio.Channels.Operations ReadyOps ();
[<Android.Runtime.Register("readyOps", "()I", "GetReadyOpsHandler")>]
abstract member ReadyOps : unit -> Java.Nio.Channels.Operations

Returns

This key's ready-operation set

Attributes

Exceptions

if the key has already been canceled.

Remarks

Retrieves this key's ready-operation set.

It is guaranteed that the returned set will only contain operation bits that are valid for this key's channel.

Java documentation for java.nio.channels.SelectionKey.readyOps().

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