Class NioDomainSocketChannel

    • Field Detail

      • DEFAULT_SELECTOR_PROVIDER

        private static final java.nio.channels.spi.SelectorProvider DEFAULT_SELECTOR_PROVIDER
      • OPEN_SOCKET_CHANNEL_WITH_FAMILY

        private static final java.lang.reflect.Method OPEN_SOCKET_CHANNEL_WITH_FAMILY
      • isInputShutdown

        private volatile boolean isInputShutdown
      • isOutputShutdown

        private volatile boolean isOutputShutdown
    • Constructor Detail

      • NioDomainSocketChannel

        public NioDomainSocketChannel()
        Create a new instance
      • NioDomainSocketChannel

        public NioDomainSocketChannel​(java.nio.channels.spi.SelectorProvider provider)
        Create a new instance using the given SelectorProvider.
      • NioDomainSocketChannel

        public NioDomainSocketChannel​(java.nio.channels.SocketChannel socket)
        Create a new instance using the given SocketChannel.
      • NioDomainSocketChannel

        public NioDomainSocketChannel​(Channel parent,
                                      java.nio.channels.SocketChannel socket)
        Create a new instance
        Parameters:
        parent - the Channel which created this instance or null if it was created by the user
        socket - the SocketChannel which will be used