语言

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

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

适用于