package javax.baja.io.net; import java.io.IOException; import java.net.InetAddress; import java.net.Socket; import java.net.UnknownHostException; public interface IClientSocketFactory { Socket createSocket(String str, int i) throws IOException, UnknownHostException; Socket createSocket(String str, int i, int i2) throws IOException, UnknownHostException; Socket createSocket(String str, int i, InetAddress inetAddress, int i2) throws IOException, UnknownHostException; Socket createSocket(InetAddress inetAddress, int i) throws IOException; Socket createSocket(InetAddress inetAddress, int i, int i2) throws IOException; Socket createSocket(InetAddress inetAddress, int i, InetAddress inetAddress2, int i2) throws IOException; }