- /*
 - * @(#)DatagramSocketImplFactory.java 1.5 00/02/02
 - *
 - * Copyright 1995-2000 Sun Microsystems, Inc. All Rights Reserved.
 - *
 - * This software is the proprietary information of Sun Microsystems, Inc.
 - * Use is subject to license terms.
 - *
 - */
 - package java.net;
 - /**
 - * This interface defines a factory for datagram socket implementations. It
 - * is used by the classes <code>DatagramSocket</code> to create actual socket
 - * implementations.
 - *
 - * @author Yingxian Wang
 - * @version %I %E
 - * @see java.net.DatagramSocket
 - * @since 1.3
 - */
 - public
 - interface DatagramSocketImplFactory {
 - /**
 - * Creates a new <code>DatagramSocketImpl</code> instance.
 - *
 - * @return a new instance of <code>DatagramSocketImpl</code>.
 - * @see java.io.DatagramSocketImpl
 - */
 - DatagramSocketImpl createDatagramSocketImpl();
 - }