/* * @(#)SocketImplFactory.java 1.18 03/12/19 * * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */ package java.net; /** * This interface defines a factory for socket implementations. It * is used by the classes Socket and * ServerSocket to create actual socket * implementations. * * @author Arthur van Hoff * @version 1.18, 12/19/03 * @see java.net.Socket * @see java.net.ServerSocket * @since JDK1.0 */ public interface SocketImplFactory { /** * Creates a new SocketImpl instance. * * @return a new instance of SocketImpl. * @see java.net.SocketImpl */ SocketImpl createSocketImpl(); }