JavaSystem.InheritedChannel Method

Definition

Returns the channel inherited from the entity that created this Java virtual machine.

[Android.Runtime.Register("inheritedChannel", "()Ljava/nio/channels/Channel;", "")]
public static Java.Nio.Channels.IChannel? InheritedChannel ();
[<Android.Runtime.Register("inheritedChannel", "()Ljava/nio/channels/Channel;", "")>]
static member InheritedChannel : unit -> Java.Nio.Channels.IChannel

Returns

The inherited channel, if any, otherwise null.

Attributes

Exceptions

if an I/O error occurred.

Remarks

Returns the channel inherited from the entity that created this Java virtual machine.

This method returns the channel obtained by invoking the java.nio.channels.spi.SelectorProvider#inheritedChannel inheritedChannel method of the system-wide default java.nio.channels.spi.SelectorProvider object.

In addition to the network-oriented channels described in java.nio.channels.spi.SelectorProvider#inheritedChannel inheritedChannel, this method may return other kinds of channels in the future.

Added in 1.5.

Java documentation for java.lang.System.inheritedChannel().

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

See also