Searched defs:connect (Results 1 - 25 of 57) 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.java108 * @param src the stream to connect to.
123 * @param src the stream to connect to.
132 connect(src);
137 * that it is not yet {@linkplain #connect(java.io.PipedOutputStream)
139 * It must be {@linkplain java.io.PipedOutputStream#connect(
149 * {@linkplain #connect(java.io.PipedOutputStream) connected} and
151 * It must be {@linkplain java.io.PipedOutputStream#connect(
182 * <pre><code>snk.connect(src)</code> </pre>
186 * <pre><code>src.connect(snk)</code> </pre>
191 * @param src The piped output stream to connect t
194 public void connect(PipedOutputStream src) throws IOException { method in class:PipedInputStream
[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/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.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/gopher/
H A DHandler.java84 public void connect() throws IOException { method in class:GopherURLConnection
96 permission = new SocketPermission(host, "connect");
/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.java125 public void connect() throws IOException { method in class:ClassPathURLStreamHandler.ClassPathURLConnection
141 connect();
158 connect();
194 connect();
/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
/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/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.java49 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.java304 public void connect() { method in class:MyHttpsURLConnection
/libcore/ojluni/src/main/java/java/net/
H A DDatagramSocketImpl.java82 * system connect.
89 * @param address the remote InetAddress to connect to
95 protected void connect(InetAddress address, int port) throws SocketException {} method in class:DatagramSocketImpl
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</code> to connect to.
327 protected void connect(SocketAddress endpoint, int timeout) throws IOException { method in class:SocksSocketImpl
356 super.connect(epoint, remainingMillis(deadlineMillis));
655 cmdsock.connect(new InetSocketAddress(server, serverPort));
677 throw new SocketException("Can't connect to SOCKS proxy:"
686 cmdsock.connect(new InetSocketAddress(server, serverPort));
/libcore/ojluni/src/main/java/java/nio/channels/
H A DDatagramChannel.java45 * connected, by invoking its {@link #connect connect} method, in order to
254 * java.net.DatagramSocket#connect connect} method of the {@link
279 * while the connect operation is in progress
283 * while the connect operation is in progress, thereby
294 public abstract DatagramChannel connect(SocketAddress remote) method in class:DatagramChannel
357 * the {@link #connect connect} method.
417 * 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
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/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/ojluni/src/main/java/sun/net/www/protocol/https/
H A DAbstractDelegateHttpsURLConnection.java171 * Implements the HTTP protocol handler's "connect" method,
174 public void connect() throws IOException { method in class:AbstractDelegateHttpsURLConnection
/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

Completed in 779 milliseconds

123