SelectionKey.OpRead 欄位
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
警告
This constant will be removed in the future version. Use Java.Nio.Channels.Operations enum directly instead of this field.
用於讀取操作的操作集位元。
[Android.Runtime.Register("OP_READ")]
[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 OpRead = 1;
[<Android.Runtime.Register("OP_READ")>]
[<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 OpRead : Java.Nio.Channels.Operations
欄位值
Value = 1- 屬性
備註
用於讀取操作的操作集位元。
假設一個選擇鍵的興趣集合在一次選擇操作開始時包含 OP_READ 。 如果選擇器偵測到對應通道已準備好讀取、已結束串流、已被遠端關閉以便進一步讀取,或有待處理錯誤,則會將通道加入 OP_READ 該鍵的準備操作集。
Java 文件 java.nio.channels.SelectionKey.OP_READ。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。