Searched refs:local (Results 1 - 20 of 20) sorted by relevance

/libcore/ojluni/src/main/java/java/nio/channels/
H A DServerSocketChannel.java126 * Binds the channel's socket to a local address and configures the socket
131 * bind(local, 0);
134 * @param local
135 * The local address to bind the socket, or {@code null} to bind
151 public final ServerSocketChannel bind(SocketAddress local) argument
154 return bind(local, 0);
158 * Binds the channel's socket to a local address and configures the socket to
162 * a local address. Once an association is established then the socket remains
172 * @param local
195 public abstract ServerSocketChannel bind(SocketAddress local, in argument
[all...]
H A DNetworkChannel.java38 * socket to a local {@link SocketAddress address}, the {@link #getLocalAddress()
58 * Binds the channel's socket to a local address.
61 * a local address. Once an association is established then the socket remains
62 * bound until the channel is closed. If the {@code local} parameter has the
66 * @param local
87 NetworkChannel bind(SocketAddress local) throws IOException; argument
H A DDatagramChannel.java212 public abstract DatagramChannel bind(SocketAddress local) argument
H A DSocketChannel.java229 public abstract SocketChannel bind(SocketAddress local) argument
318 * is established immediately, as can happen with a local connection, then
/libcore/ojluni/src/main/java/sun/nio/ch/
H A DServerSocketAdaptor.java66 public void bind(SocketAddress local) throws IOException { argument
67 bind(local, 50);
70 public void bind(SocketAddress local, int backlog) throws IOException { argument
71 if (local == null)
72 local = new InetSocketAddress(0);
74 ssc.bind(local, backlog);
H A DDatagramSocketAdaptor.java87 public void bind(SocketAddress local) throws SocketException { argument
89 if (local == null)
90 local = new InetSocketAddress(0);
91 dc.bind(local);
238 SocketAddress local = dc.localAddress();
239 if (local == null)
240 local = new InetSocketAddress(0);
241 InetAddress result = ((InetSocketAddress)local).getAddress();
257 SocketAddress local = dc.getLocalAddress();
258 if (local !
[all...]
H A DSocketAdaptor.java152 public void bind(SocketAddress local) throws IOException { argument
154 sc.bind(local);
176 InetSocketAddress local = sc.localAddress();
177 if (local != null)
178 return Net.getRevealedLocalAddress(local).getAddress();
198 SocketAddress local = sc.localAddress();
199 if (local == null) {
202 return ((InetSocketAddress)local).getPort();
H A DServerSocketChannelImpl.java202 public ServerSocketChannel bind(SocketAddress local, int backlog) throws IOException { argument
208 InetSocketAddress isa = (local == null) ? new InetSocketAddress(0) :
209 Net.checkAddress(local);
H A DSocketChannelImpl.java593 public SocketChannel bind(SocketAddress local) throws IOException { argument
603 InetSocketAddress isa = (local == null) ?
604 new InetSocketAddress(0) : Net.checkAddress(local);
1015 sb.append(" local=");
H A DDatagramChannelImpl.java679 public DatagramChannel bind(SocketAddress local) throws IOException { argument
687 if (local == null) {
695 isa = Net.checkAddress(local);
758 // set or refresh local address
782 // refresh local address
/libcore/ojluni/src/main/java/sun/net/ftp/
H A DFtpClient.java362 * @param local the {@code OutputStream} the file should be written to.
368 public abstract FtpClient getFile(String name, OutputStream local) throws FtpProtocolException, IOException; argument
456 * @param local the {@code InputStream} that points to the data to
462 public FtpClient putFile(String name, InputStream local) throws FtpProtocolException, IOException { argument
463 return putFile(name, local, false);
479 * @param local the {@code InputStream} that points to the data to
488 public abstract FtpClient putFile(String name, InputStream local, boolean unique) throws FtpProtocolException, IOException; argument
500 * @param local The {@code InputStream} providing access to the data
506 public abstract FtpClient appendFile(String name, InputStream local) throws FtpProtocolException, IOException; argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/
H A DMockServerSocketChannel.java60 public ServerSocketChannel bind(SocketAddress local, int backlog) { argument
H A DMockDatagramChannel.java120 public DatagramChannel bind(SocketAddress local) throws IOException { argument
H A DMockSocketChannel.java111 public SocketChannel bind(SocketAddress local) throws IOException { argument
H A DSocketChannelTest.java173 // Bind to a local address that is in use
3834 public SocketChannel bind(SocketAddress local) throws IOException { argument
/libcore/luni/src/main/java/org/xml/sax/helpers/
H A DNamespaceSupport.java322 * <dd>The local name (without prefix).</dd>
343 * local name, and the XML qualified name; or null if there
637 * URI part (or empty string), the local part,
692 String local = qName.substring(index+1);
704 name[1] = local.intern();
/libcore/ojluni/src/main/java/java/net/
H A DInetAddress.java81 * IP address loops around and becomes IP input on the local
92 * <p> <i>Link-local</i> addresses are designed to be used for addressing
96 * <p> <i>Site-local</i> addresses are designed to be used for addressing
118 * the use of a combination of local machine configuration information
121 * services(s) being used is by default the local machine configured
305 * Utility routine to check if the InetAddress is an link local address.
308 * a link local address; or false if address is not a link local unicast address.
316 * Utility routine to check if the InetAddress is a site local address.
319 * a site local addres
[all...]
/libcore/ojluni/src/main/java/sun/net/ftp/impl/
H A DFtpClient.java1218 * @param local the <code>OutputStream</code> the file should be written to.
1221 public sun.net.ftp.FtpClient getFile(String name, OutputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument
1237 local.write(buf, 0, l);
1249 local.write(buf, 0, l);
1339 * @param local the <code>InputStream</code> that points to the data to
1347 public sun.net.ftp.FtpClient putFile(String name, InputStream local, boolean unique) throws sun.net.ftp.FtpProtocolException, IOException { argument
1355 while ((l = local.read(buf)) >= 0) {
1372 * @param local The <code>InputStream</code> providing access to the data
1377 public sun.net.ftp.FtpClient appendFile(String name, InputStream local) throws sun.net.ftp.FtpProtocolException, IOException { argument
1383 while ((l = local
[all...]
/libcore/luni/src/test/java/libcore/java/nio/channels/
H A DOldSocketChannelTest.java435 public SocketChannel bind(SocketAddress local) throws IOException { argument
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
H A DDatagramSocketTest.java338 InetAddress local = InetAddress.getLocalHost();
339 DatagramSocket ds = new java.net.DatagramSocket(0, local);
727 // An unbound socket should return null as its local address.

Completed in 4546 milliseconds