SelectionKey.OpWrite Field

Definition

Caution

This constant will be removed in the future version. Use Java.Nio.Channels.Operations enum directly instead of this field.

Operation-set bit for write operations.

[Android.Runtime.Register("OP_WRITE")]
[System.Obsolete("This constant will be removed in the future version. Use Java.Nio.Channels.Operations enum directly instead of this field.", true)]
public const Java.Nio.Channels.Operations OpWrite = 4;
[<Android.Runtime.Register("OP_WRITE")>]
[<System.Obsolete("This constant will be removed in the future version. Use Java.Nio.Channels.Operations enum directly instead of this field.", true)>]
val mutable OpWrite : Java.Nio.Channels.Operations

Field Value

Value = 4
Attributes

Remarks

Operation-set bit for write operations.

Suppose that a selection key's interest set contains OP_WRITE at the start of a selection operation. If the selector detects that the corresponding channel is ready for writing, has been remotely shut down for further writing, or has an error pending, then it will add OP_WRITE to the key's ready set.

Java documentation for java.nio.channels.SelectionKey.OP_WRITE.

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