Searched defs:connect (Results 1 - 25 of 52) sorted by relevance

123

/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/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 DPipedInputStream.java105 * @param src the stream to connect to.
120 * @param src the stream to connect to.
129 connect(src);
134 * that it is not yet {@linkplain #connect(java.io.PipedOutputStream)
136 * It must be {@linkplain java.io.PipedOutputStream#connect(
146 * {@linkplain #connect(java.io.PipedOutputStream) connected} and
148 * It must be {@linkplain java.io.PipedOutputStream#connect(
179 * <pre><code>snk.connect(src)</code> </pre>
183 * <pre><code>src.connect(snk)</code> </pre>
187 * @param src The piped output stream to connect t
190 public void connect(PipedOutputStream src) throws IOException { method in class:PipedInputStream
[all...]
H A DPipedReader.java80 * @param src the stream to connect to.
93 * @param src the stream to connect to.
101 connect(src);
107 * that it is not yet {@linkplain #connect(java.io.PipedWriter)
108 * connected}. It must be {@linkplain java.io.PipedWriter#connect(
118 * {@link #connect(java.io.PipedWriter) connected} and uses
120 * It must be {@linkplain java.io.PipedWriter#connect(
151 * <pre><code>snk.connect(src)</code> </pre>
155 * <pre><code>src.connect(snk)</code> </pre>
159 * @param src The piped writer to connect t
162 public void connect(PipedWriter src) throws IOException { method in class:PipedReader
[all...]
/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/ojluni/src/main/java/java/util/logging/
H A DSocketHandler.java60 * specifies the target host name to connect to (no default). </li>
118 * @throws IOException if we are unable to connect to the target
127 connect();
129 System.err.println("SocketHandler: connect failed to " + host + ":" + port);
147 * @throws IOException if we are unable to connect to the target
156 connect();
159 private void connect() throws IOException { method in class:SocketHandler
/libcore/support/src/test/java/libcore/javax/net/ssl/
H A DTestSSLSocketPair.java60 SSLSocket[] sockets = connect(c, null, null);
71 public static SSLSocket[] connect (final TestSSLContext context, method in class:TestSSLSocketPair
H A DTestSSLEnginePair.java60 SSLEngine[] engines = connect(c, hooks, finished);
64 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException { method in class:TestSSLEnginePair
65 return connect(c, hooks, null);
75 public static SSLEngine[] connect(final TestSSLContext c, method in class:TestSSLEnginePair
/libcore/luni/src/main/java/libcore/io/
H A DClassPathURLStreamHandler.java108 // Sharing occurs if getUseCaches() is true when connect() is called (which can take place
109 // implicitly). useCachedJarFile records the state of sharing at connect() time.
115 // then call setUseCaches(false) before connect() to prevent sharing. The developer must then
140 public void connect() throws IOException { method in class:ClassPathURLStreamHandler.ClassPathURLConnection
156 connect();
173 connect();
210 connect();
H A DIoBridge.java115 public static void connect(FileDescriptor fd, InetAddress inetAddress, int port) throws SocketException { method in class:IoBridge
117 IoBridge.connect(fd, inetAddress, port, 0);
119 throw new AssertionError(ex); // Can't happen for a connect without a timeout.
125 * Use timeoutMs == 0 for a blocking connect with no timeout.
127 public static void connect(FileDescriptor fd, InetAddress inetAddress, int port, int timeoutMs) throws SocketException, SocketTimeoutException { method in class:IoBridge
149 // With no timeout, just call connect(2) directly.
151 Libcore.os.connect(fd, inetAddress, port);
155 // For connect with a timeout, we:
157 // 2. connect(2),
165 // 2. call connect(
[all...]
/libcore/luni/src/test/java/libcore/java/net/
H A DOldJarURLConnectionTest.java164 connection.connect();
165 fail("Did not throw exception on connect");
172 fail("Did not throw exception after connect");
350 public void connect() throws IOException { method in class:OldJarURLConnectionTest.TestJarURLConnection
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 DOldServerSocketTest.java78 clientSocket.connect(clAddress);
334 protected void connect(String arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
337 protected void connect(InetAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
340 protected void connect(SocketAddress arg0, int arg1) throws IOException { method in class:OldServerSocketTest.MockSocketImpl
/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/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockDatagramChannel.java50 public DatagramChannel connect(SocketAddress arg0) throws IOException { method in class:MockDatagramChannel
H A DMockSocketChannel.java52 public boolean connect(SocketAddress arg0) throws IOException { method in class:MockSocketChannel
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
H A DHttpsURLConnectionTest.java311 public void connect() { method in class:MyHttpsURLConnection
/libcore/ojluni/src/main/java/java/net/
H A DSocksSocketImpl.java100 super.connect(new InetSocketAddress(host, port), timeout);
314 * connect to the SOCKS proxy and negotiate the access. If the proxy
315 * grants the connections, then the connect is successful and all
318 * @param endpoint the {@code SocketAddress} to connect to.
327 protected void connect(SocketAddress endpoint, int timeout) throws IOException { method in class:SocksSocketImpl
368 super.connect(epoint, remainingMillis(deadlineMillis));
391 super.connect(epoint, remainingMillis(deadlineMillis));
397 super.connect(epoint, remainingMillis(deadlineMillis));
432 throw new SocketException("Can't connect to SOCKS proxy:"
436 super.connect(epoin
[all...]
H A DAbstractPlainDatagramSocketImpl.java65 * flag set if the native connect() call not to be used
127 * @param address the remote InetAddress to connect to
130 protected void connect(InetAddress address, int port) throws SocketException { method in class:AbstractPlainDatagramSocketImpl
/libcore/ojluni/src/main/java/java/nio/channels/
H A DAsynchronousSocketChannel.java47 * <p> A newly-created channel is connected by invoking its {@link #connect connect}
287 * <p> This method initiates an operation to connect this channel. The
324 public abstract <A> void connect(SocketAddress remote, method in class:AsynchronousSocketChannel
331 * <p> This method initiates an operation to connect this channel. This
333 * #connect(SocketAddress, Object, CompletionHandler)} method except that
355 public abstract Future<Void> connect(SocketAddress remote); method in class:AsynchronousSocketChannel
H A DDatagramChannel.java45 * connected, by invoking its {@link #connect connect} method, in order to
257 * java.net.DatagramSocket#connect connect} method of the {@link
282 * while the connect operation is in progress
286 * while the connect operation is in progress, thereby
297 public abstract DatagramChannel connect(SocketAddress remote) method in class:DatagramChannel
360 * the {@link #connect connect} method.
420 * socket via the {@link #connect connec
[all...]
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
152 * method, invoking the {@link #connect(SocketAddress) connect} method upon
163 * while the connect operation is in progress
167 * while the connect operatio
389 public abstract boolean connect(SocketAddress remote) throws IOException; method in class:SocketChannel
[all...]
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
H A DFileURLConnection.java76 * whatever was true when connect was called.
78 public void connect() throws IOException { method in class:FileURLConnection
110 connect();
188 connect();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DSocketImplTest.java104 protected void connect(String host, int port) throws IOException { method in class:SocketImplTest.MockSocketImpl
107 protected void connect(InetAddress address, int port) method in class:SocketImplTest.MockSocketImpl
132 protected void connect(SocketAddress remoteAddr, int timeout) method in class:SocketImplTest.MockSocketImpl

Completed in 432 milliseconds

123