(String host, int port)
| 34 | |
| 35 | public interface SocketFactory{ |
| 36 | public Socket createSocket(String host, int port)throws IOException, |
| 37 | UnknownHostException; |
| 38 | public InputStream getInputStream(Socket socket)throws IOException; |
| 39 | public OutputStream getOutputStream(Socket socket)throws IOException; |