Searched refs:connect (Results 1 - 25 of 108) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/sql/
H A DDriver.java39 * driver in turn to try to connect to the target URL.
60 * of driver to connect to the given URL. This will be common, as when
61 * the JDBC driver manager is asked to connect to a given URL it passes
65 * driver to connect to the given URL but has trouble connecting to
73 * @param url the URL of the database to which to connect
81 Connection connect(String url, java.util.Properties info) method in interface:Driver
104 * enough information to connect to a database. Note that depending on
109 * @param url the URL of the database to which to connect
111 * connect open
/libcore/luni/src/test/java/libcore/java/net/customstreamhandler/http/
H A DHandler.java39 @Override public void connect() throws IOException { method in class:Handler.HandlerURLConnection
/libcore/ojluni/src/main/java/java/net/
H A DSocketImpl.java90 protected abstract void connect(String host, int port) throws IOException; method in class:SocketImpl
100 protected abstract void connect(InetAddress address, int port) throws IOException; method in class:SocketImpl
113 protected abstract void connect(SocketAddress address, int timeout) throws IOException; method in class:SocketImpl
126 * (a request to connect) to the <code>count</code> argument. If a
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DFileDescriptorHolderSocketImpl.java62 protected void connect(String host, int port) throws IOException { method in class:FileDescriptorHolderSocketImpl
67 protected void connect(InetAddress address, int port) throws IOException { method in class:FileDescriptorHolderSocketImpl
72 protected void connect(SocketAddress address, int timeout) throws IOException { method in class:FileDescriptorHolderSocketImpl
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
H A DJarURLConnection.java89 connect();
94 connect();
119 public void connect() throws IOException { method in class:JarURLConnection
150 connect();
177 connect();
193 connect();
208 connect();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketImplTest.java98 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 DDatagramSocketTest.java131 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 DSocketTest.java50 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/ojluni/src/main/java/java/util/logging/
H A DSocketHandler.java58 * specifies the target host name to connect to (no default).
105 * @throws IOException if we are unable to connect to the target
114 connect();
116 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
134 * @throws IOException if we are unable to connect to the target
143 connect();
146 private void connect() throws IOException { method in class:SocketHandler
/libcore/ojluni/src/main/java/sun/net/www/protocol/mailto/
H A DMailToURLConnection.java85 public void connect() throws IOException { method in class:MailToURLConnection
97 connect();
110 connect();
112 permission = new SocketPermission(host, "connect");
/libcore/benchmarks/src/benchmarks/regression/
H A DSSLLoopbackBenchmark.java30 SSLSocket[] sockets = TestSSLSocketPair.connect(context, null, null);
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DPipedInputStreamTest.java83 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...]
/libcore/ojluni/src/main/java/java/io/
H A DPipedOutputStream.java60 * @param snk The piped input stream to connect to.
64 connect(snk);
72 * @see java.io.PipedInputStream#connect(java.io.PipedOutputStream)
73 * @see java.io.PipedOutputStream#connect(java.io.PipedInputStream)
87 * src.connect(snk)</pre></blockquote>
90 * snk.connect(src)</pre></blockquote>
93 * @param snk the piped input stream to connect to.
96 public synchronized void connect(PipedInputStream snk) throws IOException { method in class:PipedOutputStream
115 * {@link #connect(java.io.PipedInputStream) unconnected},
135 * {@link #connect(jav
[all...]
H A DPipedWriter.java46 * used to do a sanity check on connect.
55 * @param snk The piped reader to connect to.
59 connect(snk);
67 * @see java.io.PipedReader#connect(java.io.PipedWriter)
68 * @see java.io.PipedWriter#connect(java.io.PipedReader)
82 * src.connect(snk)</pre></blockquote>
85 * snk.connect(src)</pre></blockquote>
88 * @param snk the piped reader to connect to.
91 public synchronized void connect(PipedReader snk) throws IOException { method in class:PipedWriter
117 * {@link #connect(jav
[all...]
H A DPipedReader.java83 * @param src the stream to connect to.
96 * @param src the stream to connect to.
104 connect(src);
110 * that it is not yet {@linkplain #connect(java.io.PipedWriter)
111 * connected}. It must be {@linkplain java.io.PipedWriter#connect(
121 * {@link #connect(java.io.PipedWriter) connected} and uses
123 * It must be {@linkplain java.io.PipedWriter#connect(
154 * <pre><code>snk.connect(src)</code> </pre>
158 * <pre><code>src.connect(snk)</code> </pre>
163 * @param src The piped writer to connect t
166 public void connect(PipedWriter src) throws IOException { method in class:PipedReader
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DSocketChannelTest.java352 assertTrue(this.channel1.connect(localAddr1));
366 boolean connected = channel1.connect(localAddr1);
373 // A connect() causes an implicit bind()
401 assertTrue(this.channel1.connect(localAddr1));
412 boolean connected = channel1.connect(localAddr1);
429 channel1.connect(localAddr1);
443 channel1.connect(localAddr1);
453 channel1.connect(localAddr1);
463 channel1.connect(localAddr1);
471 channel1.connect(localAddr
3761 public boolean connect(SocketAddress address) throws IOException { method in class:SocketChannelTest.MockSocketChannel
[all...]
H A DDatagramChannelTest.java301 dc.connect(datagramSocket1Address);
313 dc.connect(datagramSocket1Address);
351 s.connect(datagramSocket2Address);
369 this.channel1.connect(datagramSocket1Address);
375 this.channel1.connect(datagramSocket1Address);
384 s.connect(datagramSocket2Address);
419 // Test for connect()
423 * Test method for 'DatagramChannelImpl.connect(SocketAddress)'
434 * Test method for 'DatagramChannelImpl.connect(SocketAddress)'
442 * Test method for 'DatagramChannelImpl.connect(SocketAddres
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldSocketImplFactoryTest.java137 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 DOldUnixSocketTest.java39 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 DConcurrentCloseTest.java57 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 DOldSocketTest.java131 fail("second connect should have failed with EADDRINUSE");
657 // set up server connect and then validate that we get the right
695 // set up server connect and then validate that we get the right
707 // now create one that is not connect and validate that we get the
715 // now connect and validate we get the right answer
716 theSocket.connect(new InetSocketAddress(InetAddress.getLocalHost(),
743 theSocket.connect(serverSocket.getLocalSocketAddress());
776 theSocket.connect(serverSocket.getLocalSocketAddress());
842 // make sure we can now connect and that connections appear to come
845 theSocket.connect(serverSocke
2210 protected void connect(String arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl
2214 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl
2218 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:OldSocketTest.MockSocketImpl
[all...]
/libcore/luni/src/main/java/libcore/io/
H A DClassPathURLStreamHandler.java125 public void connect() throws IOException { method in class:ClassPathURLStreamHandler.ClassPathURLConnection
141 connect();
158 connect();
194 connect();
/libcore/luni/src/test/java/libcore/dalvik/system/
H A DSocketTaggingTest.java100 sc.connect(server.getLocalAddress());
120 dc.connect(server.getLocalAddress());
130 s.connect(server.getLocalAddress());
140 d.connect(server.getLocalAddress());
/libcore/ojluni/src/main/java/java/nio/channels/
H A DSocketChannel.java44 * socket channel can be connected by invoking its {@link #connect connect}
51 * remote socket may be initiated via the {@link #connect connect} method for
106 * #connect connect} and {@link #finishConnect finishConnect} methods are
149 * method, invoking the {@link #connect(SocketAddress) connect} method upon
158 * while the connect operation is in progress
162 * while the connect operatio
380 public abstract boolean connect(SocketAddress remote) throws IOException; method in class:SocketChannel
[all...]
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
H A DURLConnectionTest.java92 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...]

Completed in 2253 milliseconds

12345