Compartilhar via


AbstractSelectableChannel.ImplConfigureBlocking(Boolean) Method

Definition

Adjusts this channel's blocking mode.

[Android.Runtime.Register("implConfigureBlocking", "(Z)V", "GetImplConfigureBlocking_ZHandler")]
protected abstract void ImplConfigureBlocking (bool block);
[<Android.Runtime.Register("implConfigureBlocking", "(Z)V", "GetImplConfigureBlocking_ZHandler")>]
abstract member ImplConfigureBlocking : bool -> unit

Parameters

block
Boolean

If true then this channel will be placed in blocking mode; if false then it will be placed non-blocking mode

Attributes

Exceptions

if an I/O error occurs.

Remarks

Adjusts this channel's blocking mode.

This method is invoked by the #configureBlocking configureBlocking method in order to perform the actual work of changing the blocking mode. This method is only invoked if the new mode is different from the current mode.

Java documentation for java.nio.channels.spi.AbstractSelectableChannel.implConfigureBlocking(boolean).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to