Class NetJavaServerSocketImpl

  • All Implemented Interfaces:
    ServerSocket, Disposable

    public class NetJavaServerSocketImpl
    extends java.lang.Object
    implements ServerSocket
    Server socket implementation using java.net.ServerSocket.
    • Method Detail

      • accept

        public Socket accept​(SocketHints hints)
        Description copied from interface: ServerSocket
        Accepts a new incoming connection from a client Socket. The given hints will be applied to the accepted socket. Blocking, call on a separate thread.
        Specified by:
        accept in interface ServerSocket
        Parameters:
        hints - additional SocketHints applied to the accepted Socket. Input null to use the default setting provided by the system.
        Returns:
        the accepted Socket
      • dispose

        public void dispose()
        Description copied from interface: Disposable
        Releases all resources of this object.
        Specified by:
        dispose in interface Disposable