link start!
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
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;
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
package javax.baja.io.net;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.net.InetAddress;
|
||||
import java.net.ServerSocket;
|
||||
|
||||
public interface IServerSocketFactory {
|
||||
ServerSocket createServerSocket(int i) throws IOException;
|
||||
|
||||
ServerSocket createServerSocket(int i, int i2) throws IOException;
|
||||
|
||||
ServerSocket createServerSocket(int i, int i2, InetAddress inetAddress) throws IOException;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
package javax.baja.io.net;
|
||||
|
||||
public interface ISocketFactory extends IClientSocketFactory, IServerSocketFactory {
|
||||
}
|
||||
Reference in New Issue
Block a user