/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 | 49 * the {@code PipedReader} to connect to. 55 connect(destination); 81 * the reader to connect to. 86 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.
|
H A D | PlainSocketImpl.java | 166 protected void connect(String aHost, int aPort) throws IOException { method in class:PlainSocketImpl 167 connect(InetAddress.getByName(aHost), aPort); 171 protected void connect(InetAddress anAddr, int aPort) throws IOException { method in class:PlainSocketImpl 172 connect(anAddr, aPort, 0); 179 * the remote host address to connect to 181 * the remote port to connect to 187 private void connect(InetAddress anAddr, int aPort, int timeout) throws IOException { method in class:PlainSocketImpl 192 IoBridge.connect(fd, normalAddr, aPort, timeout); 324 IoBridge.connect(fd, socksGetServerAddress(), socksGetServerPort(), timeout); 389 IoBridge.connect(f 457 protected void connect(SocketAddress remoteAddr, int timeout) throws IOException { method in class:PlainSocketImpl [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
H A D | SocketChannelTest.java | 288 assertTrue(this.channel1.connect(localAddr1)); 302 boolean connected = channel1.connect(localAddr1); 334 assertTrue(this.channel1.connect(localAddr1)); 345 boolean connected = channel1.connect(localAddr1); 362 channel1.connect(localAddr1); 376 channel1.connect(localAddr1); 386 channel1.connect(localAddr1); 396 channel1.connect(localAddr1); 405 channel1.connect(localAddr1); 414 channel1.connect(localAddr 3583 public boolean connect(SocketAddress address) throws IOException { method in class:SocketChannelTest.MockSocketChannel [all...] |
H A D | DatagramChannelTest.java | 302 this.channel1.connect(localAddr1); 312 this.channel1.connect(localAddr1); 339 this.channel1.connect(localAddr1); 345 this.channel1.connect(localAddr1); 394 s.connect(localAddr2); 410 s.connect(localAddr2); 466 // Test for connect() 470 * Test method for 'DatagramChannelImpl.connect(SocketAddress)' 481 * Test method for 'DatagramChannelImpl.connect(SocketAddress)' 489 * Test method for 'DatagramChannelImpl.connect(SocketAddres [all...] |
H A D | MockSocketChannel.java | 45 public boolean connect(SocketAddress arg0) throws IOException { method in class:MockSocketChannel
|
/libcore/luni/src/main/java/libcore/net/url/ |
H A D | FileURLConnection.java | 75 public void connect() throws IOException { method in class:FileURLConnection 100 connect(); 118 connect(); 181 connect();
|
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(); 271 connect(); 300 connect();
|
/libcore/luni/src/main/java/java/nio/channels/ |
H A D | SocketChannel.java | 33 * After connecting it by calling {@code connect(SocketAddress)}, it will remain 35 * {@code connect(SocketAddress)} is used to initiate the connection, followed 53 * any given time. The {@code connect(SocketAddress)} and {@code 88 * {@code connect(SocketAddress)}. 110 socketChannel.connect(address); 117 * connect, read and write operation, so this method returns 145 * Indicates whether this channel's socket is still trying to connect. 163 * as the connect method of the {@code Socket} class. 166 * the address to connect with. 190 public abstract boolean connect(SocketAddres method in class:SocketChannel [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/ |
H A D | URLConnectionTest.java | 93 u.connect(); 126 u.connect(); 146 u.connect(); 164 u.connect(); 180 public void connect() { method in class:URLConnectionTest.MockURLConnection 189 public void connect() throws IOException { 315 uc.connect(); 327 * {@link java.net.URLConnection#connect()} 331 uc.connect(); 333 uc.connect(); [all...] |
/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...] |
H A D | OldDatagramSocketTest.java | 261 ds.connect(inetAddress, portNumber); 279 ds.connect(inetAddress, portNumber); 294 ds.connect(localHost, port); 359 ds.connect(inetAddress, portNumber); 370 "Wrong exception when trying to connect at native level on recv: " 395 ds.connect(localHost, serverPortNumber); 429 ds.connect(inetAddress, portNumber); 433 assertTrue("Unexpected exception when trying to connect at native" 442 ds.connect(inetAddress, portNumber); 456 // validate that we can connect, the [all...] |
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
H A D | DatagramChannelTest.java | 28 dc.connect(ds.getLocalSocketAddress());
|
H A D | SelectorTest.java | 36 // Test the case where we [probably] connect immediately. 45 sc.connect(ssc.socket().getLocalSocketAddress()); 63 sc.connect(ss.getLocalSocketAddress()); 153 sc.connect(ssc.socket().getLocalSocketAddress()); 163 // (It shouldn't be able to connect because it's already connected.)
|
H A D | OldSocketChannelTest.java | 140 assertFalse(this.channel1.connect(localAddr1)); 162 // connect 163 assertFalse(this.channel1.connect(localAddr1)); 251 channel1.connect(localAddr1); 305 sc.connect(ssc.socket().getLocalSocketAddress()); 321 sc.connect(ssc.socket().getLocalSocketAddress()); 370 public boolean connect(SocketAddress address) throws IOException { method in class:OldSocketChannelTest.MockSocketChannel
|
/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);
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
H A D | SSLSessionContextTest.java | 216 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite1 }, null)); 218 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite2 }, null)); 220 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite3 }, null)); 228 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite1 }, null)); 233 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite2 }, null)); 235 toClose.add(TestSSLSocketPair.connect(c, new String[] { cipherSuite3 }, null));
|