public interface DatagramSocketImplFactory

java.net.DatagramSocketImplFactory



This interface defines a factory for datagram socket implementations. It is used by the classes DatagramSocket to create actual socket implementations.

Summary

Public methods

abstract DatagramSocketImpl createDatagramSocketImpl()

Creates a new DatagramSocketImpl instance.

Public methods

createDatagramSocketImpl

public abstract DatagramSocketImpl createDatagramSocketImpl ()

Creates a new DatagramSocketImpl instance.

Returns
DatagramSocketImpl a new instance of DatagramSocketImpl.

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.