Module java.base
Package java.net

Interface SocketImplFactory



  • public interfaceSocketImplFactory
    This interface defines a factory for socket implementations. It is used by the classesSocket andServerSocket to create actual socket implementations.
    Since:
    1.0
    See Also:
    Socket,ServerSocket
    • Method Detail

      • createSocketImpl

        SocketImpl createSocketImpl()
        Creates a newSocketImpl instance.
        Returns:
        a new instance ofSocketImpl.
        See Also:
        SocketImpl