interface SocketImplFactory

This interface defines a factory for socket implementations. It is used by the classes Socket and ServerSocket to create actual socket implementations.

Summary

Public methods
abstract SocketImpl!

Creates a new SocketImpl instance.

Public methods

createSocketImpl

abstract fun createSocketImpl(): SocketImpl!

Creates a new SocketImpl instance.

Return
SocketImpl! a new instance of SocketImpl.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.