Language

AsynchronousServerSocketChannel Constructors

Definition

Overloads

Name Description
AsynchronousServerSocketChannel(AsynchronousChannelProvider)

Initializes a new instance of this class.

AsynchronousServerSocketChannel(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

AsynchronousServerSocketChannel(AsynchronousChannelProvider)

Initializes a new instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)]
protected AsynchronousServerSocketChannel(Java.Nio.Channels.Spi.AsynchronousChannelProvider? provider);
[<Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)>]
new Java.Nio.Channels.AsynchronousServerSocketChannel : Java.Nio.Channels.Spi.AsynchronousChannelProvider -> Java.Nio.Channels.AsynchronousServerSocketChannel

Parameters

provider
AsynchronousChannelProvider

The provider that created this channel

Attributes

Remarks

Initializes a new instance of this class.

Java documentation for java.nio.channels.AsynchronousServerSocketChannel.AsynchronousServerSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider).

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

AsynchronousServerSocketChannel(IntPtr, JniHandleOwnership)

Creates a managed instance that represents an existing Java object.

protected AsynchronousServerSocketChannel(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.Channels.AsynchronousServerSocketChannel : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Channels.AsynchronousServerSocketChannel

Parameters

javaReference
IntPtr

nativeint

A JNI reference to the Java object.

transfer
JniHandleOwnership

Specifies whether ownership of the JNI reference transfers to this instance.

Remarks

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