/libcore/luni/src/main/java/java/sql/ |
H A D | Driver.java | 40 * the URL to connect to. 55 * the URL to connect. 66 public Connection connect(String url, Properties info) throws SQLException; method in interface:Driver 97 * prompted to provide in order to connect to the database. 101 * connect to the database.
|
/libcore/luni/src/main/java/java/io/ |
H A D | PipedOutputStream.java | 48 * the piped input stream to connect to. 53 connect(target); 78 * the piped input stream to connect to. 82 public void connect(PipedInputStream stream) throws IOException { method in class:PipedOutputStream
|
H A D | PipedWriter.java | 47 * the {@code PipedReader} to connect to. 53 connect(destination); 79 * the reader to connect to. 84 public void connect(PipedReader reader) throws IOException { method in class:PipedWriter
|
H A D | PipedInputStream.java | 91 * the piped output stream to connect to. 96 connect(out); 120 * @param out the {@code PipedOutputStream} to connect to. 128 connect(out); 171 public void connect(PipedOutputStream src) throws IOException { method in class:PipedInputStream 172 src.connect(this);
|
H A D | PipedReader.java | 91 * the {@code PipedWriter} to connect to. 96 connect(out); 120 * @param out the {@code PipedWriter} to connect to. 128 connect(out); 150 * the writer to connect to. 155 public void connect(PipedWriter src) throws IOException { method in class:PipedReader 156 src.connect(this);
|
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/ |
H A D | Handler.java | 39 @Override public void connect() throws IOException { method in class:Handler.HandlerURLConnection
|
/libcore/luni/src/main/java/java/net/ |
H A D | SocketImpl.java | 107 protected abstract void connect(String host, int port) throws IOException; method in class:SocketImpl 120 protected abstract void connect(InetAddress address, int port) method in class:SocketImpl 256 * the remote host address and port number to connect to. 262 protected abstract void connect(SocketAddress remoteAddr, int timeout) throws IOException; method in class:SocketImpl 289 * the importance of connect time. 308 * Initialize the connect() state.
|
H A D | PlainSocketImpl.java | 157 protected void connect(String aHost, int aPort) throws IOException { method in class:PlainSocketImpl 158 connect(InetAddress.getByName(aHost), aPort); 162 protected void connect(InetAddress anAddr, int aPort) throws IOException { method in class:PlainSocketImpl 163 connect(anAddr, aPort, 0); 170 * the remote host address to connect to 172 * the remote port to connect to 178 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException { method in class:PlainSocketImpl 183 IoBridge.connect(fd, normalAddr, aPort, timeout); 321 IoBridge.connect(fd, socksGetServerAddress(), socksGetServerPort(), timeout); 386 IoBridge.connect(f 454 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { method in class:PlainSocketImpl [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/ |
H A D | SocketImplTest.java | 98 protected void connect(String host, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl 101 protected void connect(InetAddress address, int port) method in class:SocketImplTest.MockSocketImpl 126 protected void connect(SocketAddress remoteAddr, int timeout) method in class:SocketImplTest.MockSocketImpl
|
H A D | DatagramSocketTest.java | 131 ds.connect(inetAddress, 0); 138 ds.connect(inetAddress, 0); 148 ds.connect(localHost, ds.getLocalPort()); 185 ds.connect(Inet6Address.LOOPBACK, server.getPort()); 210 ds.connect(Inet6Address.LOOPBACK, s1.getPort()); 221 // Validate that we can connect, then disconnect, then connect then 232 ds.connect(Inet6Address.LOOPBACK, broken.getPort()); 234 ds.connect(Inet6Address.LOOPBACK, serverPortNumber); 251 // Validate that we can connect/disconnec [all...] |
H A D | SocketTest.java | 50 socket.connect(addr); 183 // Make sure we can now connect and that connections appear to come 193 theSocket.connect(boundAddress); 277 socket.connect(new InetSocketAddress("1.2.3.4hello", 12345)); 287 socket.connect(unresolved); 292 socket.connect(unresolved, 123); 308 theSocket.connect(null); 315 theSocket.connect(new UnsupportedSocketAddress()); 322 theSocket.connect(new InetSocketAddress(InetAddress 329 // now validate that we get a connect exceptio [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
H A D | PipedInputStreamTest.java | 83 pis.connect(pos); 107 pis.connect(pos); 135 pis.connect(pos); 150 * java.io.PipedInputStream#connect(java.io.PipedOutputStream) 158 pis.connect(pos); 176 pis.connect(pos); 196 pis.connect(pos); 257 pis.connect(pos); 322 pos.connect(pis); 351 in.connect(ou [all...] |
H A D | PipedOutputStreamTest.java | 106 * java.io.PipedOutputStream#connect(java.io.PipedInputStream) 111 out.connect(new PipedInputStream()); 113 out.connect(null); 121 * java.io.PipedOutputStream#connect(java.io.PipedInputStream) 128 out.connect(new PipedInputStream()); 129 fail("Failed to throw exception attempting connect on already connected stream");
|
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | SocketChannel.java | 36 * After connecting it by calling {@link #connect(SocketAddress)}, it will remain 40 * {@link #connect(SocketAddress)} is used to initiate the connection, followed 43 * trying to connect; {@link #isConnected} tests whether the socket connect 45 * instead of polling. Note also that {@link java.net.Socket} can connect with a 46 * timeout, which is the most common use for a non-blocking connect. 61 * any given time. The {@link #connect(SocketAddress)} and {@link 96 * {@code connect(SocketAddress)}. 118 socketChannel.connect(address); 125 * connect, rea 198 public abstract boolean connect(SocketAddress address) throws IOException; method in class:SocketChannel [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
H A D | SocketChannelTest.java | 349 assertTrue(this.channel1.connect(localAddr1)); 363 boolean connected = channel1.connect(localAddr1); 370 // A connect() causes an implicit bind() 398 assertTrue(this.channel1.connect(localAddr1)); 409 boolean connected = channel1.connect(localAddr1); 426 channel1.connect(localAddr1); 440 channel1.connect(localAddr1); 450 channel1.connect(localAddr1); 460 channel1.connect(localAddr1); 468 channel1.connect(localAddr 3760 public boolean connect(SocketAddress address) throws IOException { method in class:SocketChannelTest.MockSocketChannel [all...] |
H A D | DatagramChannelTest.java | 297 dc.connect(datagramSocket1Address); 309 dc.connect(datagramSocket1Address); 347 s.connect(datagramSocket2Address); 365 this.channel1.connect(datagramSocket1Address); 371 this.channel1.connect(datagramSocket1Address); 380 s.connect(datagramSocket2Address); 415 // Test for connect() 419 * Test method for 'DatagramChannelImpl.connect(SocketAddress)' 430 * Test method for 'DatagramChannelImpl.connect(SocketAddress)' 438 * Test method for 'DatagramChannelImpl.connect(SocketAddres [all...] |
H A D | MockSocketChannel.java | 49 public boolean connect(SocketAddress arg0) throws IOException { method in class:MockSocketChannel
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | JarURLConnectionImpl.java | 77 * @see java.net.URLConnection#connect() 80 public void connect() throws IOException { method in class:JarURLConnectionImpl 97 connect(); 183 connect(); 215 connect(); 248 connect(); 269 connect(); 298 connect();
|
H A D | FileURLConnection.java | 112 public void connect() throws IOException { method in class:FileURLConnection 150 connect(); 169 connect(); 186 connect(); 232 connect(); 308 connect();
|
/libcore/luni/src/test/java/libcore/java/net/ |
H A D | OldSocketImplFactoryTest.java | 137 protected void connect(String arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl 141 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl 145 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:OldSocketImplFactoryTest.MockSocketImpl
|
H A D | OldUnixSocketTest.java | 39 pingClient.connect(new InetSocketAddress( 84 // Now validate that we get a interrupted exception if we try to connect 89 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(), 100 // Port 0 is not allowed to be used in connect() on some platforms,
|
H A D | ConcurrentCloseTest.java | 57 System.err.println("connect..."); 58 s.connect(ss.getLocalSocketAddress()); 59 fail("connect returned: " + s + "!"); 72 System.err.println("connect (with timeout)..."); 73 s.connect(ss.getLocalSocketAddress(), 3600 * 1000); 74 fail("connect returned: " + s + "!"); 87 System.err.println("connect (non-blocking)..."); 89 s.connect(ss.getLocalSocketAddress()); 93 fail("connect returned: " + s + "!"); 109 s.connect(s [all...] |
H A D | OldSocketTest.java | 130 fail("second connect should have failed with EADDRINUSE"); 658 // set up server connect and then validate that we get the right 696 // set up server connect and then validate that we get the right 708 // now create one that is not connect and validate that we get the 716 // now connect and validate we get the right answer 717 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(), 744 theSocket.connect(serverSocket.getLocalSocketAddress()); 777 theSocket.connect(serverSocket.getLocalSocketAddress()); 843 // make sure we can now connect and that connections appear to come 846 theSocket.connect(serverSocke 2209 protected void connect(String arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl 2213 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl 2217 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 92 u.connect(); 125 u.connect(); 145 u.connect(); 163 u.connect(); 179 public void connect() { method in class:URLConnectionTest.MockURLConnection 188 public void connect() throws IOException { 321 uc.connect(); 333 * {@link java.net.URLConnection#connect()} 337 uc.connect(); 339 uc.connect(); [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
H A D | OldPipedOutputStreamTest.java | 130 out.connect(new PipedInputStream()); 143 out.connect(new PipedInputStream()); 150 out.connect(null);
|