Searched defs:createSocket (Results 1 - 10 of 10) 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.java122 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/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
H A DOpenSSLSocketFactoryImpl.java56 public Socket createSocket() throws IOException { method in class:OpenSSLSocketFactoryImpl
63 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { method in class:OpenSSLSocketFactoryImpl
67 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) method in class:OpenSSLSocketFactoryImpl
76 public Socket createSocket(InetAddress host, int port) throws IOException { method in class:OpenSSLSocketFactoryImpl
80 public Socket createSocket(InetAddress address, method in class:OpenSSLSocketFactoryImpl
92 public Socket createSocket(Socket s, String host, int port, boolean autoClose) method in class:OpenSSLSocketFactoryImpl
H A DSSLSocketFactoryImpl.java83 * @see javax.net.ssl.SSLSocketFactory#createSocket(Socket,String,int,boolean)
86 public Socket createSocket(Socket s, String host, int port, method in class:SSLSocketFactoryImpl
98 * @see javax.net.SocketFactory#createSocket()
101 public Socket createSocket() throws IOException { method in class:SSLSocketFactoryImpl
109 * @see javax.net.SocketFactory#createSocket(String,int)
112 public Socket createSocket(String host, int port) method in class:SSLSocketFactoryImpl
122 * @see javax.net.SocketFactory#createSocket(String,int,InetAddress,int)
125 public Socket createSocket(String host, int port, method in class:SSLSocketFactoryImpl
136 * @see javax.net.SocketFactory#createSocket(InetAddress,int)
139 public Socket createSocket(InetAddres method in class:SSLSocketFactoryImpl
152 public Socket createSocket(InetAddress address, int port, method in class:SSLSocketFactoryImpl
[all...]
/libcore/luni/src/test/java/tests/api/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("bla-bla", 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/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/luni/src/main/java/java/net/
H A DMulticastSocket.java326 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { method in class:MulticastSocket
H A DDatagramSocket.java78 createSocket(aPort, Inet4Address.ANY);
95 createSocket(aPort, (addr == null) ? Inet4Address.ANY : addr);
128 synchronized void createSocket(int aPort, InetAddress addr) throws SocketException { method in class:DatagramSocket

Completed in 657 milliseconds