org.mockftpserver.core.socket
Class DefaultServerSocketFactory
java.lang.Object
org.mockftpserver.core.socket.DefaultServerSocketFactory
- All Implemented Interfaces:
- ServerSocketFactory
public class DefaultServerSocketFactory
- extends Object
- implements ServerSocketFactory
Default implementation of the ServerSocketFactory; creates standard ServerSocket instances.
- Version:
- $Revision: 8 $ - $Date: 2007-12-18 22:42:32 -0500 (Tue, 18 Dec 2007) $
- Author:
- Chris Mair
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultServerSocketFactory
public DefaultServerSocketFactory()
createServerSocket
public ServerSocket createServerSocket(int port)
throws IOException
- Create a new ServerSocket for the specified port.
- Specified by:
createServerSocket in interface ServerSocketFactory
- Parameters:
port - - the port
- Returns:
- a new ServerSocket
- Throws:
IOException- See Also:
ServerSocketFactory.createServerSocket(int)
Copyright © 2014. All rights reserved.