async.net.socket.impl
Class DefaultServerSocket

java.lang.Object
  extended by async.net.socket.impl.DefaultServerSocket
All Implemented Interfaces:
ServerSocket, Closeable

public class DefaultServerSocket
extends Object
implements ServerSocket


Constructor Summary
DefaultServerSocket(int port, InetAddress address)
           
 
Method Summary
 Socket accept()
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultServerSocket

public DefaultServerSocket(int port,
                           InetAddress address)
                    throws IOException
Throws:
IOException
Method Detail

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.