Top Inners Fields Constructors Methods
sun.nio.ch

pack-priv Class InheritedChannel

extends Object
Class Inheritance
Imports
java.lang.reflect.Constructor, java.io.FileDescriptor, .IOException, java.net.InetAddress, .Inet6Address, .InetSocketAddress, .ProtocolFamily, .SocketAddress, .UnixDomainSocketAddress, java.nio.channels.Channel, java.nio.channels.spi.SelectorProvider

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
public static class
public static class

Field Summary

Modifier and TypeField and Description
pack-priv static final int
pack-priv static final int
pack-priv static final int
pack-priv static final int
private static Channel
private static int
private static boolean
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static native int
addressFamily(int fd)

private static void
private static native void
close0(int fd)

private static Channel
private static void
private static native int
dup(int fd)

private static native void
dup2(int fd, int fd2)

public static synchronized Channel
private static native InetAddress
private static native void
private static native boolean
isConnected(int fd)

private static native int
open0(String path, int oflag)

private static native int
peerPort0(int fd)

pack-priv static ProtocolFamily
pack-priv static ProtocolFamily
protocolFamily(int family)

private static native int
soType0(int fd)

private static String
private static native byte[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

AF_INETback to summary
pack-priv static final int AF_INET
AF_INET6back to summary
pack-priv static final int AF_INET6
AF_UNIXback to summary
pack-priv static final int AF_UNIX
AF_UNKNOWNback to summary
pack-priv static final int AF_UNKNOWN
channelback to summary
private static Channel channel
devnullback to summary
private static int devnull
haveChannelback to summary
private static boolean haveChannel
O_RDONLYback to summary
private static final int O_RDONLY
O_RDWRback to summary
private static final int O_RDWR
O_WRONLYback to summary
private static final int O_WRONLY
SOCK_DGRAMback to summary
private static final int SOCK_DGRAM
SOCK_STREAMback to summary
private static final int SOCK_STREAM
UNKNOWNback to summary
private static final int UNKNOWN

Constructor Detail

InheritedChannelback to summary
pack-priv InheritedChannel()

Method Detail

addressFamilyback to summary
private static native int addressFamily(int fd)
checkAccessback to summary
private static void checkAccess()
close0back to summary
private static native void close0(int fd) throws IOException
createChannelback to summary
private static Channel createChannel() throws IOException
detachIOStreamsback to summary
private static void detachIOStreams()
dupback to summary
private static native int dup(int fd) throws IOException
dup2back to summary
private static native void dup2(int fd, int fd2) throws IOException
getChannelback to summary
public static synchronized Channel getChannel() throws IOException
inetPeerAddress0back to summary
private static native InetAddress inetPeerAddress0(int fd)
initIDsback to summary
private static native void initIDs()
isConnectedback to summary
private static native boolean isConnected(int fd)
open0back to summary
private static native int open0(String path, int oflag) throws IOException
peerPort0back to summary
private static native int peerPort0(int fd)
protocolFamilyback to summary
pack-priv static ProtocolFamily protocolFamily(SocketAddress sa)
protocolFamilyback to summary
pack-priv static ProtocolFamily protocolFamily(int family)
soType0back to summary
private static native int soType0(int fd)
unixPeerAddressback to summary
private static String unixPeerAddress(int fd) throws IOException
unixPeerAddress0back to summary
private static native byte[] unixPeerAddress0(int fd)
sun.nio.ch back to summary

public Class InheritedChannel.InheritedDatagramChannelImpl

extends DatagramChannelImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
implCloseSelectableChannel()

Overrides sun.nio.ch.DatagramChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Inherited from sun.nio.ch.DatagramChannelImpl:
bindblockblockingReceiveblockingSendconnectconnectdisconnectdropfindMembershipgetFDgetFDValgetLocalAddressgetOptiongetRemoteAddressimplConfigureBlockingisConnectedjoinjoinkilllocalAddressparkreadreadreceiveremoteAddresssendsetOptionsocketsupportedOptionstranslateAndSetReadyOpstranslateAndUpdateReadyOpstranslateInterestOpstranslateReadyOpsunblockwritewrite

Constructor Detail

InheritedDatagramChannelImplback to summary
pack-priv InheritedDatagramChannelImpl(SelectorProvider sp, FileDescriptor fd) throws IOException

Method Detail

implCloseSelectableChannelback to summary
protected void implCloseSelectableChannel() throws IOException

Overrides sun.nio.ch.DatagramChannelImpl.implCloseSelectableChannel.

Doc from sun.nio.ch.DatagramChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Exceptions
IOException:

Doc from java.nio.channels.spi.AbstractSelectableChannel.implCloseSelectableChannel.

If an I/O error occurs

sun.nio.ch back to summary

public Class InheritedChannel.InheritedServerSocketChannelImpl

extends ServerSocketChannelImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
implCloseSelectableChannel()

Overrides sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Inherited from sun.nio.ch.ServerSocketChannelImpl:
acceptbindblockingAcceptgetFDgetFDValgetLocalAddressgetOptionimplConfigureBlockingisBoundisUnixSocketkilllocalAddresssetOptionsocketsupportedOptionstoStringtranslateAndSetReadyOpstranslateAndUpdateReadyOpstranslateInterestOpstranslateReadyOps

Constructor Detail

InheritedServerSocketChannelImplback to summary
pack-priv InheritedServerSocketChannelImpl(SelectorProvider sp, ProtocolFamily family, FileDescriptor fd) throws IOException

Method Detail

implCloseSelectableChannelback to summary
protected void implCloseSelectableChannel() throws IOException

Overrides sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel.

Doc from sun.nio.ch.ServerSocketChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Annotations
@Override
Exceptions
IOException:

Doc from java.nio.channels.spi.AbstractSelectableChannel.implCloseSelectableChannel.

If an I/O error occurs

sun.nio.ch back to summary

public Class InheritedChannel.InheritedSocketChannelImpl

extends SocketChannelImpl
Class Inheritance

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
protected void
implCloseSelectableChannel()

Overrides sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Inherited from sun.nio.ch.SocketChannelImpl:
afterTransferToavailablebeforeTransferTobindblockingConnectblockingReadblockingWriteFullyconnectfinishConnectgetFDgetFDValgetLocalAddressgetOptiongetRemoteAddressimplConfigureBlockingisConnectedisConnectionPendingisInputOpenisNetSocketisOutputOpenisUnixSocketkilllocalAddressreadreadremoteAddresssendOutOfBandDatasetOptionshutdownInputshutdownOutputsocketsupportedOptionstoStringtranslateAndSetReadyOpstranslateAndUpdateReadyOpstranslateInterestOpstranslateReadyOpswritewrite

Constructor Detail

InheritedSocketChannelImplback to summary
pack-priv InheritedSocketChannelImpl(SelectorProvider sp, FileDescriptor fd, SocketAddress remote) throws IOException

Method Detail

implCloseSelectableChannelback to summary
protected void implCloseSelectableChannel() throws IOException

Overrides sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel.

Doc from sun.nio.ch.SocketChannelImpl.implCloseSelectableChannel.

Invoked by implCloseChannel to close the channel.

Exceptions
IOException:

Doc from java.nio.channels.spi.AbstractSelectableChannel.implCloseSelectableChannel.

If an I/O error occurs