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