語言

SelectionKey.OpConnect 欄位

定義

警告

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

用於插槽連接操作的操作集位元。

[Android.Runtime.Register("OP_CONNECT")]
[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 OpConnect = 8;
[<Android.Runtime.Register("OP_CONNECT")>]
[<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 OpConnect : Java.Nio.Channels.Operations

欄位值

Value = 8
屬性

備註

用於插槽連接操作的操作集位元。

假設一個選擇鍵的興趣集合在一次選擇操作開始時包含 OP_CONNECT 。 如果選擇器偵測到對應的套接字通道已準備好完成連接序列,或有錯誤待處理,則會加入 OP_CONNECT 該鍵的準備集。

Java 文件 java.nio.channels.SelectionKey.OP_CONNECT。

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

適用於