/*
* Copyright (c) 1999, 2002, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package java.net;
/**
* This interface defines a factory for datagram socket implementations. It
* is used by the classes DatagramSocket
to create actual socket
* implementations.
*
* @author Yingxian Wang
* @see java.net.DatagramSocket
* @since 1.3
*/
public
interface DatagramSocketImplFactory {
/**
* Creates a new DatagramSocketImpl
instance.
*
* @return a new instance of DatagramSocketImpl
.
* @see java.net.DatagramSocketImpl
*/
DatagramSocketImpl createDatagramSocketImpl();
}