Condividi tramite


AsynchronousChannelProvider.OpenAsynchronousServerSocketChannel Method

Definition

Opens an asynchronous server-socket channel.

[Android.Runtime.Register("openAsynchronousServerSocketChannel", "(Ljava/nio/channels/AsynchronousChannelGroup;)Ljava/nio/channels/AsynchronousServerSocketChannel;", "GetOpenAsynchronousServerSocketChannel_Ljava_nio_channels_AsynchronousChannelGroup_Handler", ApiSince=26)]
public abstract Java.Nio.Channels.AsynchronousServerSocketChannel? OpenAsynchronousServerSocketChannel (Java.Nio.Channels.AsynchronousChannelGroup? group);
[<Android.Runtime.Register("openAsynchronousServerSocketChannel", "(Ljava/nio/channels/AsynchronousChannelGroup;)Ljava/nio/channels/AsynchronousServerSocketChannel;", "GetOpenAsynchronousServerSocketChannel_Ljava_nio_channels_AsynchronousChannelGroup_Handler", ApiSince=26)>]
abstract member OpenAsynchronousServerSocketChannel : Java.Nio.Channels.AsynchronousChannelGroup -> Java.Nio.Channels.AsynchronousServerSocketChannel

Parameters

group
AsynchronousChannelGroup

The group to which the channel is bound, or null to bind to the default group

Returns

The new channel

Attributes

Remarks

Opens an asynchronous server-socket channel.

Java documentation for java.nio.channels.spi.AsynchronousChannelProvider.openAsynchronousServerSocketChannel(java.nio.channels.AsynchronousChannelGroup).

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