Searched defs:createSocket (Results 1 - 11 of 11) sorted by relevance

/libcore/luni/src/main/java/javax/net/
H A DDefaultSocketFactory.java34 public Socket createSocket() throws IOException { method in class:DefaultSocketFactory
39 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { method in class:DefaultSocketFactory
44 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:DefaultSocketFactory
50 public Socket createSocket(InetAddress host, int port) throws IOException { method in class:DefaultSocketFactory
55 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, method in class:DefaultSocketFactory
H A DSocketFactory.java62 public Socket createSocket() throws IOException { method in class:SocketFactory
84 public abstract Socket createSocket(String host, int port) throws IOException, method in class:SocketFactory
110 public abstract Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:SocketFactory
127 public abstract Socket createSocket(InetAddress host, int port) throws IOException; method in class:SocketFactory
150 public abstract Socket createSocket(InetAddress address, int port, InetAddress localAddress, method in class:SocketFactory
/libcore/luni/src/main/java/javax/net/ssl/
H A DSSLSocketFactory.java141 public abstract Socket createSocket(Socket s, String host, int port, boolean autoClose) method in class:SSLSocketFactory
H A DDefaultSSLSocketFactory.java50 public Socket createSocket(Socket s, String host, int port, boolean autoClose) method in class:DefaultSSLSocketFactory
56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { method in class:DefaultSSLSocketFactory
61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:DefaultSSLSocketFactory
67 public Socket createSocket(InetAddress host, int port) throws IOException { method in class:DefaultSSLSocketFactory
72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, method in class:DefaultSSLSocketFactory
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DSSLSocketFactoryImpl.java17 public Socket createSocket(Socket socket, String s, int i, boolean flag) method in class:SSLSocketFactoryImpl
47 * @see javax.net.SocketFactory#createSocket(java.lang.String, int)
50 public Socket createSocket(String arg0, int arg1) throws IOException, UnknownHostException { method in class:SSLSocketFactoryImpl
56 * @see javax.net.SocketFactory#createSocket(java.net.InetAddress, int)
59 public Socket createSocket(InetAddress arg0, int arg1) throws IOException { method in class:SSLSocketFactoryImpl
65 * @see javax.net.SocketFactory#createSocket(java.lang.String, int, java.net.InetAddress, int)
68 public Socket createSocket(String arg0, int arg1, InetAddress arg2, int arg3) throws IOException, UnknownHostException { method in class:SSLSocketFactoryImpl
74 * @see javax.net.SocketFactory#createSocket(java.net.InetAddress, int, java.net.InetAddress, int)
77 public Socket createSocket(InetAddress arg0, int arg1, InetAddress arg2, int arg3) throws IOException { method in class:SSLSocketFactoryImpl
/libcore/support/src/test/java/tests/util/
H A DDelegatingSSLSocketFactory.java57 public Socket createSocket() throws IOException { method in class:DelegatingSSLSocketFactory
58 SSLSocket socket = (SSLSocket) mDelegate.createSocket();
64 public Socket createSocket(Socket s, String host, int port, boolean autoClose) method in class:DelegatingSSLSocketFactory
66 SSLSocket socket = (SSLSocket) mDelegate.createSocket(s, host, port, autoClose);
72 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { method in class:DelegatingSSLSocketFactory
73 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port);
79 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:DelegatingSSLSocketFactory
81 SSLSocket socket = (SSLSocket) mDelegate.createSocket(host, port, localHost, localPort);
87 public Socket createSocket(InetAddress host, int port) throws IOException { method in class:DelegatingSSLSocketFactory
88 SSLSocket socket = (SSLSocket) mDelegate.createSocket(hos
94 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, method in class:DelegatingSSLSocketFactory
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/
H A DSocketFactoryTest.java45 Socket s = sf.createSocket();
52 msf.createSocket();
63 Socket s = sf.createSocket(InetAddress.getLocalHost().getHostName(), sport);
68 sf.createSocket("1.2.3.4hello", sport);
75 sf.createSocket(InetAddress.getLocalHost().getHostName(), invalidPorts[i]);
82 sf.createSocket(InetAddress.getLocalHost().getHostName(), s.getLocalPort());
89 f.createSocket(InetAddress.getLocalHost().getHostName(), 8082);
100 Socket s = sf.createSocket(InetAddress.getLocalHost(), sport);
106 sf.createSocket(InetAddress.getLocalHost(), invalidPorts[i]);
113 sf.createSocket(InetAddres
246 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { method in class:MySocketFactory
251 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:MySocketFactory
257 public Socket createSocket(InetAddress host, int port) throws IOException { method in class:MySocketFactory
262 public Socket createSocket(InetAddress address, int port, method in class:MySocketFactory
[all...]
/libcore/luni/src/main/java/java/net/
H A DMulticastSocket.java329 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { method in class:MulticastSocket
H A DDatagramSocket.java80 createSocket(aPort, Inet6Address.ANY);
97 createSocket(aPort, (addr == null) ? Inet6Address.ANY : addr);
154 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { method in class:DatagramSocket
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLSocketFactoryTest.java114 public Socket createSocket(Socket s, String host, int port, boolean autoClose) { method in class:SSLSocketFactoryTest.FakeSSLSocketFactory
119 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, method in class:SSLSocketFactoryTest.FakeSSLSocketFactory
125 public Socket createSocket(InetAddress host, int port) { method in class:SSLSocketFactoryTest.FakeSSLSocketFactory
130 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) { method in class:SSLSocketFactoryTest.FakeSSLSocketFactory
135 public Socket createSocket(String host, int port) { method in class:SSLSocketFactoryTest.FakeSSLSocketFactory
230 Socket s = sf.createSocket(null, null, -1, false);
237 Socket ssl = sf.createSocket(new Socket(), null, -1, false);
248 Socket ssl = sf.createSocket(s, null, -1, false);
/libcore/luni/src/test/java/libcore/java/net/
H A DURLConnectionTest.java2699 public SSLSocket createSocket(Socket s, String host, int port, boolean autoClose) method in class:URLConnectionTest.DelegatingSSLSocketFactory
2701 return (SSLSocket) delegate.createSocket(s, host, port, autoClose);
2705 public SSLSocket createSocket() throws IOException { method in class:URLConnectionTest.DelegatingSSLSocketFactory
2706 return (SSLSocket) delegate.createSocket();
2710 public SSLSocket createSocket(String host, int port) method in class:URLConnectionTest.DelegatingSSLSocketFactory
2712 return (SSLSocket) delegate.createSocket(host, port);
2716 public SSLSocket createSocket(String host, int port, InetAddress localHost, method in class:URLConnectionTest.DelegatingSSLSocketFactory
2718 return (SSLSocket) delegate.createSocket(host, port, localHost, localPort);
2722 public SSLSocket createSocket(InetAddress host, int port) throws IOException { method in class:URLConnectionTest.DelegatingSSLSocketFactory
2723 return (SSLSocket) delegate.createSocket(hos
2727 public SSLSocket createSocket(InetAddress address, int port, method in class:URLConnectionTest.DelegatingSSLSocketFactory
2748 public SSLSocket createSocket(Socket s, String host, int port, boolean autoClose) method in class:URLConnectionTest.LimitedProtocolsSocketFactory
2756 public SSLSocket createSocket() throws IOException { method in class:URLConnectionTest.LimitedProtocolsSocketFactory
2763 public SSLSocket createSocket(String host, int port) method in class:URLConnectionTest.LimitedProtocolsSocketFactory
2771 public SSLSocket createSocket(String host, int port, InetAddress localHost, method in class:URLConnectionTest.LimitedProtocolsSocketFactory
2779 public SSLSocket createSocket(InetAddress host, int port) throws IOException { method in class:URLConnectionTest.LimitedProtocolsSocketFactory
2786 public SSLSocket createSocket(InetAddress address, int port, method in class:URLConnectionTest.LimitedProtocolsSocketFactory
3074 @Override public SSLSocket createSocket(Socket s, String host, int port, boolean autoClose) method in class:URLConnectionTest.FallbackTestClientSocketFactory
3084 @Override public SSLSocket createSocket() throws IOException { method in class:URLConnectionTest.FallbackTestClientSocketFactory
3093 @Override public SSLSocket createSocket(String host,int port) throws IOException { method in class:URLConnectionTest.FallbackTestClientSocketFactory
3102 @Override public SSLSocket createSocket(String host,int port, InetAddress localHost, method in class:URLConnectionTest.FallbackTestClientSocketFactory
3112 @Override public SSLSocket createSocket(InetAddress host,int port) throws IOException { method in class:URLConnectionTest.FallbackTestClientSocketFactory
3121 @Override public SSLSocket createSocket(InetAddress address,int port, method in class:URLConnectionTest.FallbackTestClientSocketFactory
[all...]

Completed in 485 milliseconds