async.net.socket
Interface SocketFactory

All Known Implementing Classes:
DefaultSocketFactory

public interface SocketFactory


Method Summary
 ServerSocket createServerSocket(int port, InetAddress address)
           
 Socket createSocket(String host, int port)
           
 

Method Detail

createServerSocket

ServerSocket createServerSocket(int port,
                                InetAddress address)
                                throws IOException
Throws:
IOException

createSocket

Socket createSocket(String host,
                    int port)
                    throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.