語言

SelectionKey.OpWrite 欄位

定義

警告

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

用於寫入操作的操作集位元。

[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

欄位值

Value = 4
屬性

備註

用於寫入操作的操作集位元。

假設一個選擇鍵的興趣集合在一次選擇操作開始時包含 OP_WRITE 。 如果選擇器偵測到對應通道已準備好寫入、已被遠端關閉以便繼續寫入,或有待處理錯誤,則會將通道加入 OP_WRITE 該鍵的準備集。

Java 文件 java.nio.channels.SelectionKey.OP_WRITE

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於