Class JSSServerSocketChannel

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, java.nio.channels.InterruptibleChannel, java.nio.channels.NetworkChannel

    public class JSSServerSocketChannel
    extends java.nio.channels.ServerSocketChannel
    • Constructor Detail

      • JSSServerSocketChannel

        public JSSServerSocketChannel​(JSSServerSocket sslSocket,
                                      java.nio.channels.ServerSocketChannel parent,
                                      JSSEngine engine)
                               throws java.io.IOException
        Throws:
        java.io.IOException
      • JSSServerSocketChannel

        public JSSServerSocketChannel​(JSSServerSocket sslSocket,
                                      java.net.ServerSocket parentSocket,
                                      JSSEngine engine)
                               throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • accept

        public JSSSocketChannel accept()
                                throws java.io.IOException
        Specified by:
        accept in class java.nio.channels.ServerSocketChannel
        Throws:
        java.io.IOException
      • bind

        public JSSServerSocketChannel bind​(java.net.SocketAddress local,
                                           int backlog)
                                    throws java.io.IOException
        Specified by:
        bind in class java.nio.channels.ServerSocketChannel
        Throws:
        java.io.IOException
      • getOption

        public <T> T getOption​(java.net.SocketOption<T> name)
                        throws java.io.IOException
        Throws:
        java.io.IOException
      • supportedOptions

        public java.util.Set<java.net.SocketOption<?>> supportedOptions()
      • setOption

        public <T> JSSServerSocketChannel setOption​(java.net.SocketOption<T> name,
                                                    T value)
                                             throws java.io.IOException
        Specified by:
        setOption in interface java.nio.channels.NetworkChannel
        Specified by:
        setOption in class java.nio.channels.ServerSocketChannel
        Throws:
        java.io.IOException
      • socket

        public JSSServerSocket socket()
        Specified by:
        socket in class java.nio.channels.ServerSocketChannel
      • getLocalAddress

        public java.net.SocketAddress getLocalAddress()
                                               throws java.io.IOException
        Specified by:
        getLocalAddress in interface java.nio.channels.NetworkChannel
        Specified by:
        getLocalAddress in class java.nio.channels.ServerSocketChannel
        Throws:
        java.io.IOException
      • implCloseSelectableChannel

        public void implCloseSelectableChannel()
                                        throws java.io.IOException
        Specified by:
        implCloseSelectableChannel in class java.nio.channels.spi.AbstractSelectableChannel
        Throws:
        java.io.IOException
      • implConfigureBlocking

        public void implConfigureBlocking​(boolean block)
                                   throws java.io.IOException
        Specified by:
        implConfigureBlocking in class java.nio.channels.spi.AbstractSelectableChannel
        Throws:
        java.io.IOException