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