Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in 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.

Summary

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

Public Methods

public abstract DatagramSocketImpl createDatagramSocketImpl ()

Added in API level 1

Creates a new DatagramSocketImpl instance.

Returns
  • the new datagram socket implementation.