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。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。