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:
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a newSocketImpl instance.
  • Method Details

    • createSocketImpl

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