async.net.socket.impl
Class DefaultSocketFactory
java.lang.Object
async.net.socket.impl.DefaultSocketFactory
- All Implemented Interfaces:
- SocketFactory
public class DefaultSocketFactory
- extends Object
- implements SocketFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSocketFactory
public DefaultSocketFactory()
createServerSocket
public ServerSocket createServerSocket(int port,
InetAddress address)
throws IOException
- Specified by:
createServerSocket in interface SocketFactory
- Throws:
IOException
createSocket
public Socket createSocket(String host,
int port)
throws IOException
- Specified by:
createSocket in interface SocketFactory
- Throws:
IOException
Copyright © 2011. All Rights Reserved.