语言

AbstractSelectableChannel.ImplCloseChannel 方法

定义

关闭此通道。

[Android.Runtime.Register("implCloseChannel", "()V", "")]
protected override sealed void ImplCloseChannel();
[<Android.Runtime.Register("implCloseChannel", "()V", "")>]
override this.ImplCloseChannel : unit -> unit
属性

例外

如果在关闭通道时出现问题。

注解

关闭此通道。

此方法在类中 AbstractInterruptibleChannel 指定,并由 java.nio.channels.Channel#close close 该方法调用,进而调用 #implCloseSelectableChannel implCloseSelectableChannel 该方法以执行关闭此通道的实际工作。 然后,它会取消此通道的所有密钥。

Java文档java.nio.channels.spi.AbstractSelectableChannel.implCloseChannel()。

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

适用于