Added in API level 1

DatagramSocketImplFactory

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!

Creates a new DatagramSocketImpl instance.

Public methods

createDatagramSocketImpl

Added in API level 1
abstract fun createDatagramSocketImpl(): DatagramSocketImpl!

Creates a new DatagramSocketImpl instance.

Return
DatagramSocketImpl! a new instance of DatagramSocketImpl.