Since: API Level 1
public interface

DatagramSocketImplFactory

java.net.DatagramSocketImplFactory

Class Overview

This interface defines a factory for datagram socket implementations. It is used by the class DatagramSocket to create a new datagram socket implementation.

See Also

Summary

Public Methods
abstract DatagramSocketImpl createDatagramSocketImpl()
Creates a new DatagramSocketImpl instance.

Public Methods

public abstract DatagramSocketImpl createDatagramSocketImpl ()

Since: API Level 1

Creates a new DatagramSocketImpl instance.

Returns
  • the new datagram socket implementation.